pytorchWithCuda possible?
See original GitHub issueIn the following code, torch
resolves to the package pytorch
. Is there a way to make it resolve to pytorchWithCuda
instead?
devShell = mach-nix.mkPythonShell rec {
requirements = ''
torch
jupyterlab
torchvision
matplotlib
'';
providers = {
torch = "nixpkgs";
};
};
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
How to set up and Run CUDA Operations in Pytorch
This article will cover setting up a CUDA environment in any system containing CUDA-enabled GPU(s) and a brief introduction to the various CUDA...
Read more >Is it required to set-up CUDA on PC before installing CUDA ...
One limitation to this is that you would still need a locally installed CUDA toolkit to build custom CUDA extensions or PyTorch from...
Read more >How to Install PyTorch with CUDA 10.0 - VarHowto
1. cat /usr/local/cuda/version.txt 2. pip install torch==1.4.0 torchvision==0.5.0 -f https://download.pytorch.org/whl/cu100/torch_stable.html
Note: PyTorch only supports CUDA 10.0 up to 1.4.0. (Search torch- in https://download.pytorch.org/whl/cu100/torch_stable.html). 3....
Read more >Installing Pytorch with CUDA support on Windows 10
The latest version of Pytorch available is Pytorch 1.7.1. There are many possible ways to match the Pytorch version with the other features,...
Read more >Using CUDA with pytorch? - python - Stack Overflow
to set cuda as your device if possible. There are various code examples on PyTorch Tutorials and in the documentation linked above that ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You could just use
overridesPost
in mach-nix to enable cuda for pytorch:I cannot verify, since I don’t have a GPU available right now.
Should we add this to the examples.md?
pname is an issue in some cases