Skip to content

Commit 2f75804

Browse files
[Universal] - install latest cpu torch (#1164)
* [Universal] - install latest cpu pytorch * alternative method of torch installation without gpu support * change in method.. * Update src/universal/.devcontainer/local-features/machine-learning-packages/install.sh --------- Co-authored-by: Samruddhi Khandale <[email protected]>
1 parent 6b46a28 commit 2f75804

File tree

1 file changed

+1
-1
lines changed
  • src/universal/.devcontainer/local-features/machine-learning-packages

1 file changed

+1
-1
lines changed

src/universal/.devcontainer/local-features/machine-learning-packages/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ if [[ "$(python --version)" != "" ]] && [[ "$(pip --version)" != "" ]]; then
4444
install_python_package "matplotlib"
4545
install_python_package "seaborn"
4646
install_python_package "scikit-learn"
47-
install_python_package "torch==2.3.1" "-f https://download.pytorch.org/whl/cpu/torch_stable.html"
47+
install_python_package "torch" "--index-url https://download.pytorch.org/whl/cpu"
4848
install_python_package "requests"
4949
install_python_package "plotly"
5050
else

0 commit comments

Comments
 (0)