diff options
author | Vladimir Mandic <mandic00@live.com> | 2023-03-30 14:57:54 +0000 |
---|---|---|
committer | Vladimir Mandic <mandic00@live.com> | 2023-03-30 14:57:54 +0000 |
commit | d5063e07e8b4737621978feffd37b18077b9ea64 (patch) | |
tree | 1bfa91530f0074419b906cdd6af43a27c5110a52 /webui.py | |
parent | 22bcc7be428c94e9408f589966c2040187245d81 (diff) | |
download | stable-diffusion-webui-gfx803-d5063e07e8b4737621978feffd37b18077b9ea64.tar.gz stable-diffusion-webui-gfx803-d5063e07e8b4737621978feffd37b18077b9ea64.tar.bz2 stable-diffusion-webui-gfx803-d5063e07e8b4737621978feffd37b18077b9ea64.zip |
update torch
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -20,6 +20,8 @@ startup_timer = timer.Timer() import torch
import pytorch_lightning # pytorch_lightning should be imported after torch, but it re-enables warnings on import so import once to disable them
warnings.filterwarnings(action="ignore", category=DeprecationWarning, module="pytorch_lightning")
+warnings.filterwarnings(action="ignore", category=UserWarning, module="torchvision")
+
startup_timer.record("import torch")
import gradio
|