|
14 | 14 | - name: Checkout code |
15 | 15 | uses: actions/checkout@v5 |
16 | 16 |
|
| 17 | + - name: Set up Python |
| 18 | + uses: actions/setup-python@v6 |
| 19 | + with: |
| 20 | + python-version: '3.12' |
| 21 | + cache: 'pip' |
| 22 | + |
| 23 | + - name: Install dependencies |
| 24 | + run: pip install pydantic pyyaml |
| 25 | + |
17 | 26 | - id: get-dsr1-configs |
18 | 27 | run: | |
19 | | - pip install pydantic |
20 | 28 | CONFIG_JSON=$(python3 ${GITHUB_WORKSPACE}/utils/matrix-logic/generate_sweep_configs.py full-sweep --config-files ${GITHUB_WORKSPACE}/.github/configs/nvidia-master.yaml ${GITHUB_WORKSPACE}/.github/configs/amd-master.yaml --seq-lens 1k1k --model-prefix dsr1) |
21 | 29 | echo "search-space-config=$CONFIG_JSON" >> $GITHUB_OUTPUT |
22 | 30 |
|
|
28 | 36 | - name: Checkout code |
29 | 37 | uses: actions/checkout@v5 |
30 | 38 |
|
| 39 | + - name: Set up Python |
| 40 | + uses: actions/setup-python@v6 |
| 41 | + with: |
| 42 | + python-version: '3.12' |
| 43 | + cache: 'pip' |
| 44 | + |
| 45 | + - name: Install dependencies |
| 46 | + run: pip install pydantic pyyaml |
| 47 | + |
31 | 48 | - id: get-gptoss-configs |
32 | 49 | run: | |
33 | | - pip install pydantic |
34 | 50 | CONFIG_JSON=$(python3 ${GITHUB_WORKSPACE}/utils/matrix-logic/generate_sweep_configs.py full-sweep --config-files ${GITHUB_WORKSPACE}/.github/configs/nvidia-master.yaml ${GITHUB_WORKSPACE}/.github/configs/amd-master.yaml --seq-lens 1k1k --model-prefix gptoss) |
35 | 51 | echo "search-space-config=$CONFIG_JSON" >> $GITHUB_OUTPUT |
36 | 52 |
|
@@ -159,15 +175,21 @@ jobs: |
159 | 175 | token: ${{ secrets.REPO_PAT }} |
160 | 176 | fetch-depth: 0 |
161 | 177 |
|
| 178 | + - name: Set up Python |
| 179 | + uses: actions/setup-python@v6 |
| 180 | + with: |
| 181 | + python-version: '3.12' |
| 182 | + cache: 'pip' |
| 183 | + |
| 184 | + - name: Install dependencies |
| 185 | + run: pip install PyGithub |
| 186 | + |
162 | 187 | - name: Download results artifacts |
163 | 188 | uses: actions/download-artifact@v6 |
164 | 189 | with: |
165 | 190 | path: ${{ env.RESULTS_DIR }} |
166 | 191 | pattern: results_* |
167 | 192 |
|
168 | | - - name: Install python dependencies |
169 | | - run: pip install PyGithub |
170 | | - |
171 | 193 | - name: Calculate success rate |
172 | 194 | run: python3 utils/calc_success_rate.py $STATS_FILENAME |
173 | 195 |
|
|
0 commit comments