diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d63d3995..5fb87762e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log for SD.Next -## Update for 2026-08-10 +## Update for 2026-08-11 - **Detailer**: Pretty much *detailer.next* :) Detailer detection models were traditionally *YOLO* models, but now we also use: @@ -21,6 +21,7 @@ - update handlers for all authenticated workflows - nunchaku-lite support for `torch==2.13` - remove DirectML support: latest release was over 2 years ago and is not compatible with modern frameworks + - utilize torch.accelerator - **Fixes** - init hf env variables before gradio load - lora skip init and rebuild offload state diff --git a/modules/devices.py b/modules/devices.py index 5826dcf03..f46615165 100644 --- a/modules/devices.py +++ b/modules/devices.py @@ -246,8 +246,6 @@ def torch_gc(force: bool = False, fast: bool = False, reason: str | None = None) torch.xpu.empty_cache() if hasattr(torch.xpu, "ipc_collect"): torch.xpu.ipc_collect() - if torch.cuda.is_available() and hasattr(torch._C, '_host_emptyCache'): # pylint: disable=protected-access - torch._C._host_emptyCache() # pylint: disable=protected-access # freed pinned host blocks otherwise stay cached in-process across model switches except Exception as e: log.error(f'Torch GC: {e}') else: