Skip to content

Commit

Permalink
Restrict to torch < 2.5.0 and change channel (iree-org#229)
Browse files Browse the repository at this point in the history
The CPU requirements restrict torch to a version < 2.5.0, whereas the
ROCm requirements did not so far. The current iree-turbine is
incompatible with torch 2.5.0 as `torch.export.dynamic_dim()` was
removed with pytorch/pytorch@b454c51. Version 2.4 releases for ROCm 6.0
are available via a different channel, changing that accordingly.
  • Loading branch information
marbre authored Oct 18, 2024
1 parent 594d580 commit 53893da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytorch-rocm-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--pre
--index-url https://download.pytorch.org/whl/nightly/rocm6.0
torch>=2.3.0
--index-url https://download.pytorch.org/whl/rocm6.0
torch>=2.3.0, <2.5.0
torchaudio
torchvision

0 comments on commit 53893da

Please sign in to comment.