is this a horrible idea, if i need cuda support and don't want to wait hours for builds? :)
(final: prev: { python312Packages = prev.python312Packages.override { overrides = pyfinal: pyprev: { torch = pyfinal.torch-bin; }; }; })
RE {cudaPackages.nccl, onnxruntime}: remove reference to nvcc in binary:
{cudaPackages.nccl, onnxruntime}: remove reference to nvcc in binary
We need to patch both nccl's libnccl.so and onnxruntime's libonnxruntime_providers_cuda.so for the fix to actually work.
nccl
libnccl.so
onnxruntime
libonnxruntime_providers_cuda.so