fix(perf): bind concrete CGC input shapes before compilation #4349
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: WinML CLI CI | |
| on: | |
| pull_request: | |
| branches: [main, "release/*"] | |
| push: | |
| branches: [main, "release/*"] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: windows-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - group: analyze | |
| paths: tests/unit/analyze | |
| - group: models | |
| paths: >- | |
| tests/unit/models tests/unit/loader tests/unit/datasets | |
| tests/unit/export | |
| - group: optim | |
| paths: >- | |
| tests/unit/optim tests/unit/test_quant_passes.py tests/unit/test_quantizer.py | |
| - group: commands | |
| paths: >- | |
| tests/unit/commands tests/unit/config tests/unit/build | |
| tests/unit/compiler tests/unit/session tests/unit/eval | |
| - group: remaining | |
| paths: >- | |
| tests/unit/core tests/unit/onnx tests/unit/cache | |
| tests/unit/utils tests/unit/test_helpers tests/unit/sysinfo tests/unit/inspect | |
| tests/unit/optracing tests/unit/serve tests/unit/packaging tests/regression tests/cli | |
| skills/adding-model-support/tests skills/auto-optimize/tests | |
| name: test (${{ matrix.group }}) | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: pyproject.toml | |
| - name: Set up Python | |
| run: uv python install 3.11 | |
| - name: Set up Node.js | |
| if: matrix.group == 'remaining' | |
| uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 | |
| with: | |
| node-version: 22 | |
| - name: Install dependencies | |
| run: uv sync --all-extras | |
| - name: Run tests (${{ matrix.group }}) | |
| shell: pwsh | |
| run: | | |
| uv run pytest ${{ matrix.paths }} --tb=short --no-cov ` | |
| -m "not e2e and not npu and not gpu" |