mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
tweak
This commit is contained in:
parent
8278ad01e2
commit
5d69b1e803
@ -558,7 +558,7 @@ def setup_for_low_vram(sd_model, use_medvram):
|
|||||||
# install hooks for bits of third model
|
# install hooks for bits of third model
|
||||||
|
|
||||||
if stream_impl is not None and stream_wrapper is not None:
|
if stream_impl is not None and stream_wrapper is not None:
|
||||||
mp = DiffSmartModelMover.register(diff_model, max_prefetch=70)
|
mp = DiffSmartModelMover.register(diff_model, vram_allowance=512, max_prefetch=70)
|
||||||
mp.install()
|
mp.install()
|
||||||
mp.preload()
|
mp.preload()
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user