mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-09-25 07:28:06 -05:00
Add device-aware torch-npu stream creation, current-stream lookup, and synchronization so the existing async offload path can run on Ascend NPU devices. Keep the feature opt-in and cover stream rotation and disabled behavior in the unit-test suite.
Pytest Unit Tests
Install test dependencies
pip install -r tests-unit/requirements.txt
Run tests
pytest tests-unit/