diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-04-29 08:59:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-29 08:59:12 +0000 |
commit | 9eb49b04e36914b1bfbd5d30ff8587f99d588281 (patch) | |
tree | 7af57d3994e5db508c89f43858a67aefd917450b /webui.py | |
parent | e55cb92067094564c259b515b8a6ec3869654083 (diff) | |
parent | f54cd3f1586ec8d20ffcaff184ba2e680bb8cb8b (diff) | |
download | stable-diffusion-webui-gfx803-9eb49b04e36914b1bfbd5d30ff8587f99d588281.tar.gz stable-diffusion-webui-gfx803-9eb49b04e36914b1bfbd5d30ff8587f99d588281.tar.bz2 stable-diffusion-webui-gfx803-9eb49b04e36914b1bfbd5d30ff8587f99d588281.zip |
Merge pull request #9191 from vladmandic/torch
update torch base environment
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
|