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

Add commands to install torch on cpu #5685

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

ManfeiBai
Copy link
Collaborator

No description provided.

@ManfeiBai ManfeiBai changed the title Update README.md for torch on cpu Update README.md for commands to install torch on cpu Oct 6, 2023
@ManfeiBai ManfeiBai changed the title Update README.md for commands to install torch on cpu Add commands to install torch on cpu Oct 6, 2023
@@ -33,6 +33,11 @@ To install PyTorch/XLA a new TPU VM:
pip install torch~=2.1.0 torch_xla[tpu]~=2.1.0 -f https://storage.googleapis.com/libtpu-releases/index.html
```

To install torch 2.1 for cpu without cuda, and torch_xla 2.1, please use:
```
pip install torch~=2.1.0 torch_xla[tpu]~=2.1.0 -f https://storage.googleapis.com/libtpu-releases/index.html --index-url https://download.pytorch.org/whl/cpu
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should make this as default and only have one option for our users.

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

Successfully merging this pull request may close these issues.

2 participants