Skip to content

Commit

Permalink
Fix pip install command typo in GPU doc. (#5545)
Browse files Browse the repository at this point in the history
* Set XLA_PYTHON_CLIENT_MEM_FRACTION to 0.8

* Fix pip install command typo in GPU doc.

* remove unwanted change
  • Loading branch information
vanbasten23 authored Sep 6, 2023
1 parent 04118d5 commit 2c8ebd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/gpu.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Thu Dec 8 06:24:29 2022

### Wheel
```
pip3 install torch=2.0
pip3 install torch==2.0
pip3 install https://storage.googleapis.com/tpu-pytorch/wheels/cuda/117/torch_xla-2.0-cp38-cp38-linux_x86_64.whl
```

Expand Down
2 changes: 1 addition & 1 deletion torch_xla/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ def _init_xla_lazy_backend():
# TODO @wonjoo come up with a long term fix in Dynamo.
torch._dynamo.config.automatic_dynamic_shapes = False

from .stablehlo import save_as_stablehlo, save_torch_model_as_stablehlo
from .stablehlo import save_as_stablehlo, save_torch_model_as_stablehlo

0 comments on commit 2c8ebd1

Please sign in to comment.