Skip to content

Commit

Permalink
[AMD][CI/Build][Bugfix] use pytorch stale wheel (vllm-project#12172)
Browse files Browse the repository at this point in the history
Signed-off-by: hongxyan <[email protected]>
  • Loading branch information
hongxiayang authored and Ubuntu committed Jan 19, 2025
1 parent 7a806db commit b211d53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.rocm
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
*"rocm-6.2"*) \
python3 -m pip uninstall -y torch torchvision \
&& python3 -m pip install --pre \
torch==2.6.0.dev20241113+rocm6.2 \
torch \
'setuptools-scm>=8' \
torchvision==0.20.0.dev20241113+rocm6.2 \
--extra-index-url https://download.pytorch.org/whl/nightly/rocm6.2;; \
torchvision \
--extra-index-url https://download.pytorch.org/whl/rocm6.2;; \
*) ;; esac

ENV LLVM_SYMBOLIZER_PATH=/opt/rocm/llvm/bin/llvm-symbolizer
Expand Down
2 changes: 1 addition & 1 deletion docs/source/getting_started/installation/gpu/rocm.inc.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Currently, there are no pre-built ROCm wheels.

# Install PyTorch
$ pip uninstall torch -y
$ pip install --no-cache-dir --pre torch==2.6.0.dev20241024 --index-url https://download.pytorch.org/whl/nightly/rocm6.2
$ pip install --no-cache-dir --pre torch --index-url https://download.pytorch.org/whl/rocm6.2

# Build & install AMD SMI
$ pip install /opt/rocm/share/amd_smi
Expand Down

0 comments on commit b211d53

Please sign in to comment.