mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-03-13 10:11:06 -07:00
option: reduce connecting to huggingface
for assets if local cache is available note: enabling this with prevent the assets from being updated
This commit is contained in:
parent
48239090f1
commit
842dd5ea75
3 changed files with 43 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ def imports():
|
|||
|
||||
import torch # noqa: F401
|
||||
startup_timer.record("import torch")
|
||||
from modules import patch_hf_hub_download # noqa: F401
|
||||
import pytorch_lightning # noqa: F401
|
||||
startup_timer.record("import torch")
|
||||
warnings.filterwarnings(action="ignore", category=DeprecationWarning, module="pytorch_lightning")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue