fix(network): reset_parameters checks nonexistent (+3 more) #62
Workflow file for this run
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: FastGen CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| WANDB_MODE: disabled | |
| jobs: | |
| lint: | |
| runs-on: [FG_Runner] | |
| container: | |
| image: ghcr.io/juliusberner/fastgen:0.0.3c | |
| options: --entrypoint "" --gpus all --shm-size=8g | |
| credentials: | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Restore/Save Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| .cache/pip | |
| .mypy_cache | |
| key: ${{ runner.os }}-pip-mypy-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-pip-mypy- | |
| - name: Install linters | |
| run: make install-linters | |
| - name: Run lint | |
| run: make lint | |
| - name: Run mypy | |
| run: make mypy | |
| test: | |
| needs: lint | |
| runs-on: [FG_Runner] | |
| container: | |
| image: ghcr.io/juliusberner/fastgen:0.0.3c | |
| options: --entrypoint "" --gpus all --shm-size=8g | |
| credentials: | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Restore/Save Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| .cache/pip | |
| .mypy_cache | |
| key: ${{ runner.os }}-pip-mypy-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-pip-mypy- | |
| - name: Increase file descriptor limit | |
| run: ulimit -n 4096 || echo "Could not increase file descriptor limit" | |
| - name: Run Pytest | |
| run: make pytest | |
| install_fastgen_package: | |
| needs: test | |
| runs-on: [FG_Runner] | |
| container: | |
| image: ghcr.io/juliusberner/fastgen:0.0.3c | |
| options: --entrypoint "" --gpus all --shm-size=8g | |
| credentials: | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Restore/Save Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| .cache/pip | |
| .mypy_cache | |
| key: ${{ runner.os }}-pip-mypy-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-pip-mypy- | |
| - name: Install fastgen | |
| run: make install-fastgen |