bymyself
cffeebfa01
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Build package / Build Test (3.10) (push) Has been cancelled
Build package / Build Test (3.11) (push) Has been cancelled
Build package / Build Test (3.12) (push) Has been cancelled
Build package / Build Test (3.13) (push) Has been cancelled
Build package / Build Test (3.14) (push) Has been cancelled
fix: prevent --cpu flag from allocating GPU memory
...
Two root causes fixed:
1. soft_empty_cache() and synchronize() in model_management.py lacked a
cpu_state == CPUState.CPU guard. They fell through to torch.cuda calls
that initialize a CUDA context (150-500MB VRAM) even in CPU-only mode.
2. comfy_kitchen is imported unconditionally at startup via quant_ops.py.
The import chain triggers torch.cuda.is_available() -> cuInit, which
initializes the CUDA driver. Now gated behind args.cpu check.
Also adds missing QuantizedLayout and register_layout_op fallback stubs
that were absent from the original ImportError handler.
Amp-Thread-ID: https://ampcode.com/threads/T-019cbd03-433e-7601-93ff-3887227496b4
2026-03-05 12:32:46 -08:00
..
2026-02-01 01:01:11 -05:00
2025-11-23 04:55:22 -05:00
2026-02-20 22:52:32 -08:00
2025-01-18 05:27:58 -05:00
2025-09-04 20:36:20 -04:00
2026-02-11 14:53:42 -05:00
2026-03-04 20:06:20 -05:00
2025-07-16 14:42:07 -04:00
2024-06-27 18:43:11 -04:00
2026-01-21 23:03:51 -05:00
2026-03-04 20:06:20 -05:00
2026-02-15 20:30:09 -05:00
2026-03-01 19:18:56 -08:00
2024-07-30 14:41:13 -04:00
2026-01-12 17:05:54 -05:00
2023-08-18 11:13:29 -04:00
2023-04-01 23:19:15 -04:00
2025-03-06 00:24:43 -05:00
2024-07-17 13:12:50 -04:00
2023-04-01 23:19:15 -04:00
2026-01-12 17:05:54 -05:00
2024-11-21 08:38:23 -05:00
2025-04-05 07:01:01 -04:00
2026-02-01 01:01:11 -05:00
2026-02-26 01:30:31 -05:00
2026-03-01 09:38:30 -08:00
2026-02-13 22:23:52 -05:00
2025-01-24 06:15:54 -05:00
2024-08-12 23:20:57 -04:00
2026-01-14 00:49:38 -05:00
2025-07-06 07:07:39 -04:00
2026-01-01 22:06:14 -05:00
2026-03-02 19:43:47 -05:00
2026-02-13 15:35:13 -05:00
2026-02-26 18:19:19 -05:00
2026-02-21 10:52:57 -08:00
2026-03-04 20:06:20 -05:00
2026-03-02 19:43:47 -05:00
2026-03-04 16:33:14 -05:00
2026-03-04 07:49:13 -08:00
2026-02-25 23:38:46 -05:00
2025-10-23 21:21:14 -04:00
2026-03-04 07:49:13 -08:00
2023-09-13 11:38:20 -04:00
2025-10-15 16:47:26 -07:00
2026-02-01 08:42:32 -08:00
2025-09-13 18:03:34 -04:00
2026-03-05 12:32:46 -08:00
2026-02-16 20:09:24 -05:00
2026-01-23 19:50:48 -05:00
2026-02-28 16:50:18 -05:00
2026-02-28 16:50:18 -05:00
2024-07-30 14:41:13 -04:00
2026-02-19 22:57:44 -05:00
2026-03-04 20:06:20 -05:00
2025-04-25 19:36:00 -04:00
2025-12-05 18:25:31 -05:00
2026-03-03 17:35:22 -05:00
2026-03-03 18:19:40 -08:00
2026-02-01 01:01:11 -05:00