We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d0186 commit e368344Copy full SHA for e368344
.ci/scripts/utils.sh
@@ -124,7 +124,7 @@ download_stories_model_artifacts() {
124
do_not_use_nightly_on_ci() {
125
# An assert to make sure that we are not using PyTorch nightly on CI to prevent
126
# regression as documented in https://github.com/pytorch/executorch/pull/6564
127
- TORCH_VERSION=$(pip freeze | grep -w torch= | awk -F '==' {'print $2'} | tr -d '\n')
+ TORCH_VERSION=$(pip list | grep -w 'torch ' | awk -F ' ' {'print $2'} | tr -d '\n')
128
129
pushd .ci/docker || return
130
EXPECTED_TORCH_VERSION=$(cat ci_commit_pins/pytorch.txt)
0 commit comments