Merge pull request #250632 from breakds/PR/breakds/pytorch_correctly_use_system_pybind11

USE_SYSTEM_PYBIND11 instead of USE_SYSTEM_BIND11 in torch
This commit is contained in:
Connor Baker 2023-08-21 20:43:25 -04:00 committed by GitHub
commit 50097d75fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -225,7 +225,7 @@ in buildPythonPackage rec {
# Avoid using pybind11 from git submodule
# Also avoids pytorch exporting the headers of pybind11
USE_SYSTEM_BIND11 = true;
USE_SYSTEM_PYBIND11 = true;
preBuild = ''
export MAX_JOBS=$NIX_BUILD_CORES