-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "group constraints by arg (#101815)"
This reverts commit 03de158. Reverted #101815 on behalf of https://github.com/malfet due to it broke ExecuTorch and author was well aware about it" ghstack-source-id: 124ef67dcc8edd2a0eda866e5bb8940b89fc2894 Pull Request resolved: #101985
- Loading branch information
Showing
26 changed files
with
168 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a8f4e97bd5356a7a77510cdf6a3a62e25a5dc602 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
11bb5b847ea8b9e0d9bb82db3304daf383008d3f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4.27.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
b0ebddc648d279826089db91775375221777a2db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
b9d43c7dcac1fe05e851dd7be7187b108af593d2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ec359fad2c5c50a83cfb4d5a7edc17e95c195e85 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cd9e4c5db76b2bb0b47d0680d3d4c24523047e7c | ||
cd9e4c5db76b2bb0b47d0680d3d4c24523047e7c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
300a90926e88f13abbaf3d8155cdba36aab86ab4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
set -ex | ||
|
||
source "$(dirname "${BASH_SOURCE[0]}")/common_utils.sh" | ||
|
||
function install_huggingface() { | ||
local version | ||
version=$(get_pinned_commit huggingface) | ||
pip_install pandas | ||
pip_install scipy | ||
pip_install "transformers==${version}" | ||
} | ||
|
||
function install_timm() { | ||
local commit | ||
commit=$(get_pinned_commit timm) | ||
pip_install pandas | ||
pip_install scipy | ||
pip_install "git+https://github.com/rwightman/pytorch-image-models@${commit}" | ||
} | ||
|
||
function checkout_install_torchbench() { | ||
local commit | ||
commit=$(get_pinned_commit torchbench) | ||
git clone https://github.com/pytorch/benchmark torchbench | ||
pushd torchbench | ||
git checkout "$commit" | ||
|
||
if [ "$1" ]; then | ||
as_jenkins python install.py --continue_on_fail models "$@" | ||
else | ||
# Occasionally the installation may fail on one model but it is ok to continue | ||
# to install and test other models | ||
as_jenkins python install.py --continue_on_fail | ||
fi | ||
popd | ||
} | ||
|
||
function install_torchaudio() { | ||
local commit | ||
commit=$(get_pinned_commit audio) | ||
if [[ "$1" == "cuda" ]]; then | ||
# TODO: This is better to be passed as a parameter from _linux-test workflow | ||
# so that it can be consistent with what is set in build | ||
TORCH_CUDA_ARCH_LIST="8.0;8.6" pip_install --no-use-pep517 --user "git+https://github.com/pytorch/audio.git@${commit}" | ||
else | ||
pip_install --no-use-pep517 --user "git+https://github.com/pytorch/audio.git@${commit}" | ||
fi | ||
|
||
} | ||
|
||
function install_torchtext() { | ||
local data_commit | ||
local text_commit | ||
data_commit=$(get_pinned_commit data) | ||
text_commit=$(get_pinned_commit text) | ||
pip_install --no-use-pep517 --user "git+https://github.com/pytorch/data.git@${data_commit}" | ||
pip_install --no-use-pep517 --user "git+https://github.com/pytorch/text.git@${text_commit}" | ||
} | ||
|
||
function install_torchvision() { | ||
local commit | ||
commit=$(get_pinned_commit vision) | ||
pip_install --no-use-pep517 --user "git+https://github.com/pytorch/vision.git@${commit}" | ||
} | ||
|
||
install_huggingface | ||
install_timm | ||
# install_torchaudio | ||
# install_torchtext | ||
# install_torchvision | ||
# checkout_install_torchbench |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../.ci/docker/ci_commit_pins/audio.txt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../.ci/docker/ci_commit_pins/huggingface.txt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../.ci/docker/ci_commit_pins/text.txt |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../.ci/docker/ci_commit_pins/timm.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../.ci/docker/ci_commit_pins/triton-rocm.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
300a90926e88f13abbaf3d8155cdba36aab86ab4 | ||
300a90926e88f13abbaf3d8155cdba36aab86ab4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
b0ebddc648d279826089db91775375221777a2db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters