mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-24 16:54:09 +00: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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user