Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-08-11 11:27:50 +02:00
parent ed6eb2ea0a
commit c1741bc7f0
2 changed files with 2 additions and 3 deletions
+2 -1
View File
@@ -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
-2
View File
@@ -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: