Modernizes ComfyUI-CoreMLSuite onto Python 3.12 / torch 2.7 / coremltools 9 with a characterization-test safety net. The default conversion path is unchanged; existing saved workflows produce identical output. - Toolchain bump (Python 3.12, torch 2.7, coremltools 9, numpy <2) with the blocking upstream pins overridden. - Framework-free logic moved into coreml_suite/core/ (no comfy/coremltools imports); old module paths re-export from there. - Opt-in quantize_nbits dropdown (none|8|6|4) for k-means weight palettization; default none is byte-for-byte identical to before. - Tiered CI: Tier 0 (Linux unit), Tier 1 (macOS-ARM smoke), Tier 2 (self-hosted Apple Silicon golden-image check on the ANE).
32 lines
869 B
YAML
32 lines
869 B
YAML
name: Tier 1 — Smoke (macOS-ARM)
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
# Gate behind the run-tier1 label too, so external PRs that touch
|
|
# only docs don't burn a minute of macOS-ARM time. Maintainers can
|
|
# always re-run via the run-tier1 label.
|
|
types: [opened, synchronize, reopened, labeled]
|
|
|
|
jobs:
|
|
smoke:
|
|
if: |
|
|
github.event_name == 'push' ||
|
|
github.event.action != 'labeled' ||
|
|
contains(github.event.pull_request.labels.*.name, 'run-tier1')
|
|
runs-on: macos-14 # M1, Apple Silicon hosted runner
|
|
timeout-minutes: 20
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: astral-sh/setup-uv@v3
|
|
with:
|
|
enable-cache: true
|
|
|
|
- name: uv sync
|
|
run: uv sync --no-install-project
|
|
|
|
- name: Run Tier 1 (synthetic micro-UNet smoke)
|
|
run: uv run pytest -m smoke tests/ -v
|