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).
15 lines
309 B
Python
15 lines
309 B
Python
"""Compatibility shim — re-exports from coreml_suite.core.controlnet."""
|
|
from coreml_suite.core.controlnet import (
|
|
chunk_control,
|
|
expand_inputs,
|
|
extract_residual_kwargs,
|
|
no_control,
|
|
)
|
|
|
|
__all__ = [
|
|
"chunk_control",
|
|
"expand_inputs",
|
|
"extract_residual_kwargs",
|
|
"no_control",
|
|
]
|