mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
python3Packages.torch: relax CUDA version requirements
This commit is contained in:
parent
9183ed1b95
commit
fedb6672ff
@ -111,7 +111,7 @@ let
|
||||
brokenConditions = attrsets.filterAttrs (_: cond: cond) {
|
||||
"CUDA and ROCm are not mutually exclusive" = cudaSupport && rocmSupport;
|
||||
"CUDA is not targeting Linux" = cudaSupport && !stdenv.isLinux;
|
||||
"Unsupported CUDA version" = cudaSupport && (cudaPackages.cudaMajorVersion != "11");
|
||||
"Unsupported CUDA version" = cudaSupport && !(builtins.elem cudaPackages.cudaMajorVersion [ "11" "12" ]);
|
||||
"MPI cudatoolkit does not match cudaPackages.cudatoolkit" = MPISupport && cudaSupport && (mpi.cudatoolkit != cudaPackages.cudatoolkit);
|
||||
"Magma cudaPackages does not match cudaPackages" = cudaSupport && (magma.cudaPackages != cudaPackages);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user