@@ -77,57 +77,57 @@ jobs:
77
77
sh build_torchao_ops.sh executorch
78
78
popd
79
79
80
- test-mps-ops :
81
- strategy :
82
- matrix :
83
- runner : [macos-m1-stable]
84
- runs-on : ${{matrix.runner}}
85
- steps :
86
- - name : Print machine info
87
- run : |
88
- uname -a
89
- if [ $(uname -s) == Darwin ]; then
90
- sysctl machdep.cpu.brand_string
91
- sysctl machdep.cpu.core_count
92
- fi
93
- - name : Checkout repo
94
- uses : actions/checkout@v3
95
- with :
96
- submodules : true
97
- - name : Create conda env
98
- run : |
99
- conda create -yn test-mps-ops-env python=3.11
100
- - name : Activate conda env
101
- run : |
102
- source activate base
103
- conda activate test-mps-ops-env
104
- - name : Install torch
105
- run : |
106
- conda run -n test-mps-ops-env pip install torch --index-url "https://download.pytorch.org/whl/nightly/cpu"
107
- - name : Print torch version
108
- run : |
80
+ # test-mps-ops:
81
+ # strategy:
82
+ # matrix:
83
+ # runner: [macos-m1-stable]
84
+ # runs-on: ${{matrix.runner}}
85
+ # steps:
86
+ # - name: Print machine info
87
+ # run: |
88
+ # uname -a
89
+ # if [ $(uname -s) == Darwin ]; then
90
+ # sysctl machdep.cpu.brand_string
91
+ # sysctl machdep.cpu.core_count
92
+ # fi
93
+ # - name: Checkout repo
94
+ # uses: actions/checkout@v3
95
+ # with:
96
+ # submodules: true
97
+ # - name: Create conda env
98
+ # run: |
99
+ # conda create -yn test-mps-ops-env python=3.11
100
+ # - name: Activate conda env
101
+ # run: |
102
+ # source activate base
103
+ # conda activate test-mps-ops-env
104
+ # - name: Install torch
105
+ # run: |
106
+ # conda run -n test-mps-ops-env pip install torch --index-url "https://download.pytorch.org/whl/nightly/cpu"
107
+ # - name: Print torch version
108
+ # run: |
109
109
110
- conda run -n test-mps-ops-env python -c "import torch; print(torch.__version__)"
111
- - name : Install requirements
112
- run : |
113
- source activate base
114
- conda activate test-mps-ops-env
115
- pip install -r dev-requirements.txt
116
- pip install pyyaml importlib-metadata
117
- - name : Print pip freeze
118
- run : |
119
- conda run -n test-mps-ops-env pip freeze
120
- - name : Print current directory
121
- run : |
122
- conda run -n test-mps-ops-env python -c "import os; print(os.getcwd())"
123
- - name : Build ao with experimental mps ops
124
- run : |
125
- source activate base
126
- conda activate test-mps-ops-env
127
- USE_CPP=1 TORCHAO_BUILD_EXPERIMENTAL_MPS=1 pip install .
128
- - name : Run mps tests
129
- run : |
130
- pushd torchao/experimental/ops/mps/test
131
- conda run -n test-mps-ops-env python test_lowbit.py
132
- conda run -n test-mps-ops-env python test_quantizer.py
133
- popd
110
+ # conda run -n test-mps-ops-env python -c "import torch; print(torch.__version__)"
111
+ # - name: Install requirements
112
+ # run: |
113
+ # source activate base
114
+ # conda activate test-mps-ops-env
115
+ # pip install -r dev-requirements.txt
116
+ # pip install pyyaml importlib-metadata
117
+ # - name: Print pip freeze
118
+ # run: |
119
+ # conda run -n test-mps-ops-env pip freeze
120
+ # - name: Print current directory
121
+ # run: |
122
+ # conda run -n test-mps-ops-env python -c "import os; print(os.getcwd())"
123
+ # - name: Build ao with experimental mps ops
124
+ # run: |
125
+ # source activate base
126
+ # conda activate test-mps-ops-env
127
+ # USE_CPP=1 TORCHAO_BUILD_EXPERIMENTAL_MPS=1 pip install .
128
+ # - name: Run mps tests
129
+ # run: |
130
+ # pushd torchao/experimental/ops/mps/test
131
+ # conda run -n test-mps-ops-env python test_lowbit.py
132
+ # conda run -n test-mps-ops-env python test_quantizer.py
133
+ # popd
0 commit comments