Commit 7896a71 1 parent 54b6255 commit 7896a71 Copy full SHA for 7896a71
File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 40
40
# accuracy code
41
41
if [[ "${{ inputs.scenario }}" == *"accuracy"* ]];then
42
42
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
44
44
fi
45
45
# performance code
46
46
if [[ "${{ inputs.scenario }}" == *"performance"* ]];then
@@ -53,20 +53,18 @@ runs:
53
53
if [ "${{ inputs.pytorch }}" != "nightly_wheel" ]; then
54
54
rm -rf pt2e-audio
55
55
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
57
57
python setup.py bdist_wheel && pip uninstall torchaudio -y && pip install --no-deps dist/*.whl
58
58
cd ../
59
59
rm -rf pt2e-vision
60
60
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
62
62
python setup.py bdist_wheel && pip uninstall torchvision -y && pip install --no-deps dist/*.whl
63
63
cd ../
64
64
fi
65
65
# torchbench
66
66
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
70
68
pip install -U transformers tokenizers safetensors
71
69
python install.py --continue_on_fail
72
70
cd ../
You can’t perform that action at this time.
0 commit comments