File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 </tr >
88</table >
99
10+ * ** v2.4.4** – Soft purge / Memory Manager:在 ** HSWQ** 关闭时回收 MultiGPU–NVFP4(如 Krea2)unload 后残留的 CUDA(约 9–12 GB):对已加载模型强制清空残留 CUDA param/buffer storage,再对全部 CUDA 设备执行 ` unload_all_models() ` + ` free_memory(1e30) ` (` free_memory(0) ` 为空操作)。storage 销毁为 ** 仅 CUDA** ,避免 Ollama 邻近的 soft/HSWQ purge 后擦掉 CPU CLIP / Z Image TE 重载源(` Embedding.weight ` 非 2D)。HSWQ Methods 0–2c 仍仅由开关门控(不自动武装)。相对 v2.4.3 另扩展 HSWQ Method ** 2c** / 核清理表面:完整 INT8/NVFP4/Detailer 残留清理、ZI ConvRot parity / bake 剥离(` restore_nvfp4_tc_product_stack ` / ` uninstall_zimage_nvfp4_lora_bake ` )、Hadamard / inplace 池清理。详见 [ Release Notes v2.4.4] ( https://github.com/ussoewwin/ComfyUI-DistorchMemoryManager/blob/main/zhmd/v2.4.4.md ) 。
1011* ** v2.4.3** – DisTorchPurgeVRAMV2 ** HSWQ** Method ** 2c** :在核清理后,除既有 ` comfy_kitchen ` ` _cublas_workspaces ` / ` _empty_cuda_tensors ` 重置外,另通过 ` sys.modules ` 扫描 ` nvfp4_runtime ` 并调用 ` clear_nvfp4_runtime_pools() ` ,清空 HSWQ ** NVFP4** 运行时池 / CUDA graphs,避免 purge 后第二次 ConvRot NVFP4 生成出现 ` quantize_nvfp4 ` / ` PyCapsule ` / ` pooled TC path failed ` 。优先从 ` nodes/purge_vram.py ` 导入 ` DisTorchPurgeVRAMV2 ` ;日志前缀 ` HSWQ INT8/NVFP4: ` 。详见 [ Release Notes v2.4.3] ( https://github.com/ussoewwin/ComfyUI-DistorchMemoryManager/blob/main/zhmd/v2.4.3.md ) 。
1112* ** v2.4.2** – DisTorchPurgeVRAMV2:新增 ** ` Ollama ` ** 开关(位于 ** ` HSWQ ` ** 下方),完整清理 ** comfyui-ollama** 与 ** comfyui-ollama-describer** (describer 默认 ` keep_model_alive=-1 ` )残留的 Ollama 显存:循环 ` GET /api/ps ` 至空,配合 ` /api/generate ` 与 ` /api/chat ` 的 ` keep_alive=0 ` 、` ollama stop ` 、Client 回退;从两个包收集 ` api_host ` /` url ` ;清空 ` CHAT_SESSIONS ` / ` saved_context ` ;删除 ` saved_context/ ` 文件;最终 ` /api/ps ` 验证。fallback ` nodes/purge_vram.py ` 与 root 同步。详见 [ Release Notes v2.4.2] ( https://github.com/ussoewwin/ComfyUI-DistorchMemoryManager/blob/main/zhmd/v2.4.2.md ) 。
1213
You can’t perform that action at this time.
0 commit comments