@@ -49,45 +49,46 @@ jobs:
49
49
echo "*******************************************"
50
50
echo "::endgroup::"
51
51
52
- test-quantization-mps-macos :
53
- uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
54
- with :
55
- runner : macos-m1-stable # neeps MPS, was macos-m1-stable
56
- script : |
57
- set -x
58
- conda create -y -n test-quantization-mps-macos python=3.10.11
59
- conda activate test-quantization-mps-macos
60
- # NS: Remove previous installation of torch first
61
- # as this script does not isntall anything into conda env but rather as system dep
62
- pip3 uninstall -y torch || true
63
- set -eou pipefail
64
-
65
- echo "::group::Print machine info"
66
- uname -a
67
- sysctl machdep.cpu.brand_string
68
- sysctl machdep.cpu.core_count
69
- echo "::endgroup::"
70
-
71
- # echo "::group::Install newer objcopy that supports --set-section-alignment"
72
- # yum install -y devtoolset-10-binutils
73
- # export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
74
- # echo "::endgroup::"
75
-
76
- echo "::group::Create script to run quantization"
77
- python3 scripts/updown.py --file docs/quantization.md --replace llama3:stories15M --suppress huggingface-cli,HF_TOKEN > ./run-quantization.sh
78
- # for good measure, if something happened to updown processor,
79
- # and it did not error out, fail with an exit 1
80
- echo "exit 1" >> ./run-quantization.sh
81
- echo "::endgroup::"
82
-
83
- echo "::group::Run quantization"
84
- echo "*******************************************"
85
- cat ./run-quantization.sh
86
- echo "*******************************************"
87
- bash -x ./run-quantization.sh
88
- echo "::endgroup::"
89
-
90
- echo "::group::Completion"
91
- echo "tests complete"
92
- echo "*******************************************"
93
- echo "::endgroup::"
52
+ # test-quantization-mps-macos:
53
+ # uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
54
+ # with:
55
+ # runner: macos-m1-stable # neeps MPS, was macos-m1-stable
56
+ # script: |
57
+ # set -x
58
+ # conda create -y -n test-quantization-mps-macos python=3.10.11
59
+ # conda activate test-quantization-mps-macos
60
+ # # NS: Remove previous installation of torch first
61
+ # # as this script does not isntall anything into conda env but rather as system dep
62
+ # pip3 uninstall -y torch || true
63
+ # set -eou pipefail
64
+ #
65
+ # echo "::group::Print machine info"
66
+ # uname -a
67
+ # sysctl machdep.cpu.brand_string
68
+ # sysctl machdep.cpu.core_count
69
+ # echo "::endgroup::"
70
+ #
71
+ # # echo "::group::Install newer objcopy that supports --set-section-alignment"
72
+ # # yum install -y devtoolset-10-binutils
73
+ # # export PATH=/opt/rh/devtoolset-10/root/usr/bin/:$PATH
74
+ # # echo "::endgroup::"
75
+ #
76
+ # echo "::group::Create script to run quantization"
77
+ # python3 scripts/updown.py --file docs/quantization.md --replace llama3:stories15M --suppress huggingface-cli,HF_TOKEN > ./run-quantization.sh
78
+ # # for good measure, if something happened to updown processor,
79
+ # # and it did not error out, fail with an exit 1
80
+ # echo "exit 1" >> ./run-quantization.sh
81
+ # echo "::endgroup::"
82
+ #
83
+ # echo "::group::Run quantization"
84
+ # echo "*******************************************"
85
+ # cat ./run-quantization.sh
86
+ # echo "*******************************************"
87
+ # bash -x ./run-quantization.sh
88
+ # echo "::endgroup::"
89
+ #
90
+ # echo "::group::Completion"
91
+ # echo "tests complete"
92
+ # echo "*******************************************"
93
+ # echo "::endgroup::"
94
+ #
0 commit comments