Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide instructions for GPU based pytorch #6

Closed
fire opened this issue Jun 18, 2021 · 1 comment
Closed

Provide instructions for GPU based pytorch #6

fire opened this issue Jun 18, 2021 · 1 comment

Comments

@fire
Copy link

fire commented Jun 18, 2021

Similar to the current cpu version. Provide an environment.yml for cuda based pytorch.

It is non trivial to switch between gpu and cpu. https://github.com/pytorch/pytorch/issues/30664.

@fire
Copy link
Author

fire commented Jun 18, 2021

The way to do it to create a new environment and run something similar to:

conda install tensorboard tqdm install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c nvidia

Mamba solves dependencies faster than conda.

@fire fire closed this as completed Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant