python3Packages.torchvision: added cudaSupport option (#132917)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
co-authored by
Sandro
parent
0d078fcdb2
commit
717538e908
@@ -301,6 +301,11 @@ in buildPythonPackage rec {
|
||||
# Builds in 2+h with 2 cores, and ~15m with a big-parallel builder.
|
||||
requiredSystemFeatures = [ "big-parallel" ];
|
||||
|
||||
passthru = {
|
||||
inherit cudaSupport;
|
||||
cudaArchList = final_cudaArchList;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source, prototype-to-production deep learning platform";
|
||||
homepage = "https://pytorch.org/";
|
||||
|
||||
Reference in New Issue
Block a user