mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-18 15:30:46 +08:00
Quantize allocated its result buffer from the input shape but only ever filled three channels, so a 4 channel image raised a RuntimeError. Quantize the colour channels and carry the original alpha through untouched. CORE-393
Pytest Unit Tests
Install test dependencies
pip install -r tests-unit/requirements.txt
Run tests
pytest tests-unit/