You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike torch, torchvision does not explicitly set the C/C++ compiler when building with CUDA. This is problematic because we can end up linking libraries built by different versions of the compiler built with different language standards. Additionally, we can potentially end up using a compiler which isn't supported by the version of NVCC being used.
Describe the bug
Unlike
torch
,torchvision
does not explicitly set the C/C++ compiler when building with CUDA. This is problematic because we can end up linking libraries built by different versions of the compiler built with different language standards. Additionally, we can potentially end up using a compiler which isn't supported by the version of NVCC being used.torch
does this in thepreConfigure
phase:nixpkgs/pkgs/development/python-modules/torch/default.nix
Lines 148 to 151 in e5bde65
torchvision
can do it in the same place or inpreBuild
:nixpkgs/pkgs/development/python-modules/torchvision/default.nix
Lines 47 to 50 in e5bde65
Notify maintainers
@ericsagnes
cc @NixOS/cuda-maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: