Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
AutoAWQ
Commits
9477ea5c
Unverified
Commit
9477ea5c
authored
Feb 15, 2024
by
Casper
Committed by
GitHub
Feb 15, 2024
Browse files
Fix ROCm build (#342)
parent
bcaa8a36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
.github/workflows/build.yaml
.github/workflows/build.yaml
+2
-4
No files found.
.github/workflows/build.yaml
View file @
9477ea5c
...
@@ -209,11 +209,9 @@ jobs:
...
@@ -209,11 +209,9 @@ jobs:
python -m pip install --upgrade build setuptools wheel
python -m pip install --upgrade build setuptools wheel
if [[ "${{ matrix.rocm }}" == "5.7.1" ]]; then
if [[ "${{ matrix.rocm }}" == "5.7.1" ]]; then
echo "Using PyTorch nightly"
python -m pip install torch==2.2.0 --index-url https://download.pytorch.org/whl/rocm5.7
python -m pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/rocm5.7
elif [[ "${{ matrix.rocm }}" == "5.6.1" ]]; then
elif [[ "${{ matrix.rocm }}" == "5.6.1" ]]; then
echo "Using PyTorch stable"
python -m pip install torch==2.2.0 --index-url https://download.pytorch.org/whl/rocm5.6
python -m pip install torch --index-url https://download.pytorch.org/whl/rocm5.6
else
else
echo Unknown rocm version for python install
echo Unknown rocm version for python install
exit 1
exit 1
...
...
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