Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
c09503dd
Unverified
Commit
c09503dd
authored
Jan 17, 2025
by
Hongxia Yang
Committed by
GitHub
Jan 18, 2025
Browse files
[AMD][CI/Build][Bugfix] use pytorch stale wheel (#12172)
Signed-off-by:
hongxyan
<
hongxyan@amd.com
>
parent
2b835032
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Dockerfile.rocm
Dockerfile.rocm
+3
-3
docs/source/getting_started/installation/gpu/rocm.inc.md
docs/source/getting_started/installation/gpu/rocm.inc.md
+1
-1
No files found.
Dockerfile.rocm
View file @
c09503dd
...
@@ -51,10 +51,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
...
@@ -51,10 +51,10 @@ RUN --mount=type=cache,target=/root/.cache/pip \
*"rocm-6.2"*) \
*"rocm-6.2"*) \
python3 -m pip uninstall -y torch torchvision \
python3 -m pip uninstall -y torch torchvision \
&& python3 -m pip install --pre \
&& python3 -m pip install --pre \
torch
==2.6.0.dev20241113+rocm6.2
\
torch \
'setuptools-scm>=8' \
'setuptools-scm>=8' \
torchvision
==0.20.0.dev20241113+rocm6.2
\
torchvision \
--extra-index-url https://download.pytorch.org/whl/
nightly/
rocm6.2;; \
--extra-index-url https://download.pytorch.org/whl/rocm6.2;; \
*) ;; esac
*) ;; esac
ENV LLVM_SYMBOLIZER_PATH=/opt/rocm/llvm/bin/llvm-symbolizer
ENV LLVM_SYMBOLIZER_PATH=/opt/rocm/llvm/bin/llvm-symbolizer
...
...
docs/source/getting_started/installation/gpu/rocm.inc.md
View file @
c09503dd
...
@@ -70,7 +70,7 @@ Currently, there are no pre-built ROCm wheels.
...
@@ -70,7 +70,7 @@ Currently, there are no pre-built ROCm wheels.
# Install PyTorch
# Install PyTorch
$ pip uninstall torch -y
$ 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
# Build & install AMD SMI
$ pip install /opt/rocm/share/amd_smi
$ pip install /opt/rocm/share/amd_smi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment