Skip to content

Commit 7896a71

Browse files
committed
update
1 parent 54b6255 commit 7896a71

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/actions/pt2e/action.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ runs:
4040
# accuracy code
4141
if [[ "${{ inputs.scenario }}" == *"accuracy"* ]];then
4242
rm -rf pt2e-accuracy
43-
git clone -b yifeng/accuracy https://github.com/chuanqi129/inductor-tools pt2e-accuracy
43+
git clone -b main https://github.com/chuanqi129/inductor-tools pt2e-accuracy
4444
fi
4545
# performance code
4646
if [[ "${{ inputs.scenario }}" == *"performance"* ]];then
@@ -53,20 +53,18 @@ runs:
5353
if [ "${{ inputs.pytorch }}" != "nightly_wheel" ]; then
5454
rm -rf pt2e-audio
5555
git clone --single-branch -b main https://github.com/pytorch/audio pt2e-audio
56-
cd pt2e-audio
56+
cd pt2e-audio && git checkout $TORCHAUDIO_COMMIT_ID
5757
python setup.py bdist_wheel && pip uninstall torchaudio -y && pip install --no-deps dist/*.whl
5858
cd ../
5959
rm -rf pt2e-vision
6060
git clone --single-branch -b main https://github.com/pytorch/vision pt2e-vision
61-
cd pt2e-vision
61+
cd pt2e-vision && git checkout $TORCHVISION_COMMIT_ID
6262
python setup.py bdist_wheel && pip uninstall torchvision -y && pip install --no-deps dist/*.whl
6363
cd ../
6464
fi
6565
# torchbench
6666
python -c "import torch, torchvision, torchaudio"
67-
rm -rf pt2e-benchmark
68-
git clone https://github.com/pytorch/benchmark pt2e-benchmark
69-
cd pt2e-benchmark && pip install --no-deps -r requirements.txt
67+
cd pt2e-performance && pip install --no-deps -r requirements.txt
7068
pip install -U transformers tokenizers safetensors
7169
python install.py --continue_on_fail
7270
cd ../

0 commit comments

Comments
 (0)