mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-02 13:51:40 -08:00
fix ruff
This commit is contained in:
parent
f166868df6
commit
74fb119452
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class DeepCacheSession:
|
|||
Registers cache
|
||||
"""
|
||||
CACHE_LAST["timestep"].add(timestep)
|
||||
assert h is not None, f"Cannot cache None"
|
||||
assert h is not None, "Cannot cache None"
|
||||
# maybe move to cpu and load later for low vram?
|
||||
CACHE_LAST["last"] = h
|
||||
CACHE_LAST[f"timestep_{timestep}"] = h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue