mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Do not use --extra-index-url in testing wheels (#100183)
Should prevent regressions like the ones reported in https://github.com/pytorch/pytorch/issues/100104 from sneaking undetected. Same for `install_triton_wheel.sh` - always use packages from https://download.pytorch.org/whl/ <!-- copilot:poem --> ### <samp>🤖 Generated by Copilot at deda821</samp> > _`pip install` changed_ > _Only use PyTorch nightly_ > _Snowflake packages_ Pull Request resolved: https://github.com/pytorch/pytorch/pull/100183 Approved by: https://github.com/kit1980, https://github.com/pmeier
This commit is contained in:
parent
151d76cc23
commit
991b1c0286
|
|
@ -95,7 +95,7 @@ if [[ "$PACKAGE_TYPE" == conda ]]; then
|
|||
conda install \${EXTRA_CONDA_FLAGS} -y "\$pkg" --offline
|
||||
)
|
||||
elif [[ "$PACKAGE_TYPE" != libtorch ]]; then
|
||||
pip install "\$pkg" --extra-index-url "https://download.pytorch.org/whl/nightly/${DESIRED_CUDA}"
|
||||
pip install "\$pkg" --index-url "https://download.pytorch.org/whl/nightly/${DESIRED_CUDA}"
|
||||
retry pip install -q numpy protobuf typing-extensions
|
||||
fi
|
||||
if [[ "$PACKAGE_TYPE" == libtorch ]]; then
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
# Updates Triton to the pinned version for this copy of PyTorch
|
||||
pip install --extra-index-url https://download.pytorch.org/whl/nightly/ "pytorch-triton==$(cat .ci/docker/triton_version.txt)+$(head -c 10 .ci/docker/ci_commit_pins/triton.txt)"
|
||||
pip install --index-url https://download.pytorch.org/whl/nightly/ "pytorch-triton==$(cat .ci/docker/triton_version.txt)+$(head -c 10 .ci/docker/ci_commit_pins/triton.txt)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user