torchvision: remove cudaSupport argument; must use whatever torch used

This commit is contained in:
Connor Baker 2023-03-11 00:55:50 -05:00
parent 55e0d9a93d
commit 504d7531ba

View File

@ -1,5 +1,4 @@
{ buildPythonPackage
, cudaSupport ? torch.cudaSupport or false # by default uses the value from torch
, fetchFromGitHub
, lib
, libjpeg_turbo
@ -15,7 +14,7 @@
}:
let
inherit (torch) cudaPackages cudaCapabilities;
inherit (torch) cudaCapabilities cudaPackages cudaSupport;
inherit (cudaPackages) cudatoolkit cudaFlags cudaVersion;
# NOTE: torchvision doesn't use cudnn; torch does!