Skip to content

Commit

Permalink
Fix torch install instructions (#1292)
Browse files Browse the repository at this point in the history
* Fix torch install instructions

* test
  • Loading branch information
atalman authored Jul 23, 2024
1 parent 775ce42 commit b2a654a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packaging/pkg_helpers.bash
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ setup_pip_pytorch_version() {
export PYTORCH_VERSION="$(pip show torch | grep ^Version: | sed 's/Version: *//' | sed 's/+.\+//')"
else
pip_install "torch==$PYTORCH_VERSION$PYTORCH_VERSION_SUFFIX" \
-f https://download.pytorch.org/whl/ \
-f "https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/"
--index-url "https://download.pytorch.org/whl/${UPLOAD_CHANNEL}/${WHEEL_DIR}"
fi
}

Expand Down

0 comments on commit b2a654a

Please sign in to comment.