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