mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-07-18 20:38:15 +08:00
The dynamic VBAR cast path applied want_requant to both weights and biases. For an FP8 checkpoint with a low-VRAM LoRA patch, this returned an FP8 bias to the optimized linear operation even though the activation dtype was FP16. Restrict the optional requantized return value to weights while preserving resident-storage updates for both parameters. Make the legacy FP8 linear path release its VBAR/offload resources in a finally block so backend failures do not leave pages pinned before the normal fallback runs. Add regressions for the weight/bias dtype contract and exception cleanup. Fixes #14952 Signed-off-by: liminfei <liminfei@amd.com> |
||
|---|---|---|
| .. | ||
| app_test | ||
| assets_test | ||
| comfy_api_test | ||
| comfy_extras_test | ||
| comfy_quant | ||
| comfy_test | ||
| execution_test | ||
| folder_paths_test | ||
| jobs_cancel_test | ||
| prompt_server_test | ||
| security_test | ||
| seeder_test | ||
| server/utils | ||
| server_test | ||
| utils | ||
| deploy_environment_test.py | ||
| feature_flags_test.py | ||
| README.md | ||
| requirements.txt | ||
| websocket_feature_flags_test.py | ||
Pytest Unit Tests
Install test dependencies
pip install -r tests-unit/requirements.txt
Run tests
pytest tests-unit/