Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
d9b9bf78
Commit
d9b9bf78
authored
Mar 25, 2023
by
AUTOMATIC1111
Committed by
GitHub
Mar 25, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8508 from vladmandic/lightning
allow usage of latest pytorch_lighning
parents
009bc9f5
f2ed6295
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
requirements_versions.txt
requirements_versions.txt
+1
-1
webui.py
webui.py
+3
-0
No files found.
requirements_versions.txt
View file @
d9b9bf78
...
@@ -9,7 +9,7 @@ Pillow==9.4.0
...
@@ -9,7 +9,7 @@ Pillow==9.4.0
realesrgan==0.3.0
realesrgan==0.3.0
torch
torch
omegaconf==2.2.3
omegaconf==2.2.3
pytorch_lightning==1.
7.6
pytorch_lightning==1.
9.4
scikit-image==0.19.2
scikit-image==0.19.2
fonts
fonts
font-roboto
font-roboto
...
...
webui.py
View file @
d9b9bf78
...
@@ -4,6 +4,7 @@ import time
...
@@ -4,6 +4,7 @@ import time
import
importlib
import
importlib
import
signal
import
signal
import
re
import
re
import
warnings
from
fastapi
import
FastAPI
from
fastapi
import
FastAPI
from
fastapi.middleware.cors
import
CORSMiddleware
from
fastapi.middleware.cors
import
CORSMiddleware
from
fastapi.middleware.gzip
import
GZipMiddleware
from
fastapi.middleware.gzip
import
GZipMiddleware
...
@@ -17,6 +18,8 @@ from modules import paths, timer, import_hook, errors
...
@@ -17,6 +18,8 @@ from modules import paths, timer, import_hook, errors
startup_timer
=
timer
.
Timer
()
startup_timer
=
timer
.
Timer
()
import
torch
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"
)
startup_timer
.
record
(
"import torch"
)
startup_timer
.
record
(
"import torch"
)
import
gradio
import
gradio
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment