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
norm
vllm
Commits
e8ef4c08
Unverified
Commit
e8ef4c08
authored
Oct 16, 2023
by
Woosuk Kwon
Committed by
GitHub
Oct 16, 2023
Browse files
Fix PyTorch index URL in workflow (#1378)
parent
348897af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.github/workflows/scripts/pytorch-install.sh
.github/workflows/scripts/pytorch-install.sh
+1
-1
No files found.
.github/workflows/scripts/pytorch-install.sh
View file @
e8ef4c08
...
@@ -6,7 +6,7 @@ cuda_version=$3
...
@@ -6,7 +6,7 @@ cuda_version=$3
# Install torch
# Install torch
$python_executable
-m
pip
install
numpy pyyaml scipy ipython mkl mkl-include ninja cython typing pandas typing-extensions dataclasses setuptools
&&
conda clean
-ya
$python_executable
-m
pip
install
numpy pyyaml scipy ipython mkl mkl-include ninja cython typing pandas typing-extensions dataclasses setuptools
&&
conda clean
-ya
$python_executable
-m
pip
install
torch
==
${
pytorch_version
}
+cu
${
cuda_version
//./
}
--index-url
https://download.pytorch.org/whl/cu
${
cuda_version
//./
}
$python_executable
-m
pip
install
torch
==
${
pytorch_version
}
+cu
${
cuda_version
//./
}
--
extra-
index-url
https://download.pytorch.org/whl/cu
${
cuda_version
//./
}
# Print version information
# Print version information
$python_executable
--version
$python_executable
--version
...
...
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