Update CUDA version and dependencies in modal_runner #326
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI/CD | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| jobs: | |
| deploy: | |
| name: Modal Deployment | |
| runs-on: ubuntu-latest | |
| environment: ${{ github.ref == 'refs/heads/dev' && 'kernelbotdev' || '' }} | |
| env: | |
| MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }} | |
| MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }} | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Install Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Install Modal | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install modal | |
| - name: Deploy job | |
| run: | | |
| # TODO: Remove pythonpath here | |
| PYTHONPATH=${{ github.workspace }}/src modal deploy src/runners/modal_runner_archs.py | |