[bug fix] Compute fp16 batch norm in fp32 instead of downcasting the params #137
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| if: github.repository == 'apple/coreai-torch' | |
| runs-on: [self-hosted, macos, tahoe, ARM64] | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Ensure uv | |
| run: | | |
| command -v uv >/dev/null 2>&1 || curl -LsSf https://astral.sh/uv/install.sh | sh | |
| echo "$HOME/.local/bin" >> "$GITHUB_PATH" | |
| - run: uv run --extra dev ruff check . | |
| - run: uv run --extra dev ruff format --check . | |
| python-test: | |
| if: github.repository == 'apple/coreai-torch' | |
| runs-on: [self-hosted, macos, tahoe, ARM64] | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Ensure uv | |
| run: | | |
| command -v uv >/dev/null 2>&1 || curl -LsSf https://astral.sh/uv/install.sh | sh | |
| echo "$HOME/.local/bin" >> "$GITHUB_PATH" | |
| - run: uv run --extra test pytest tests/ -n auto -m "not slow and not dsl" |