Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
28189985
Commit
28189985
authored
Jan 24, 2023
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove fairscale requirement, add fake fairscale to make BLIP not complain about it
parent
dac45299
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
interrogate.py
modules/interrogate.py
+9
-2
requirements.txt
requirements.txt
+0
-1
requirements_versions.txt
requirements_versions.txt
+0
-1
No files found.
modules/interrogate.py
View file @
28189985
...
@@ -82,9 +82,16 @@ class InterrogateModels:
...
@@ -82,9 +82,16 @@ class InterrogateModels:
return
self
.
loaded_categories
return
self
.
loaded_categories
def
create_fake_fairscale
(
self
):
class
FakeFairscale
:
def
checkpoint_wrapper
(
self
):
pass
sys
.
modules
[
"fairscale.nn.checkpoint.checkpoint_activations"
]
=
FakeFairscale
def
load_blip_model
(
self
):
def
load_blip_model
(
self
):
with
paths
.
Prioritize
(
"BLIP"
):
create_fake_fairscale
()
import
models.blip
import
models.blip
files
=
modelloader
.
load_models
(
files
=
modelloader
.
load_models
(
model_path
=
os
.
path
.
join
(
paths
.
models_path
,
"BLIP"
),
model_path
=
os
.
path
.
join
(
paths
.
models_path
,
"BLIP"
),
...
...
requirements.txt
View file @
28189985
blendmodes
blendmodes
accelerate
accelerate
basicsr
basicsr
fairscale
==0.4.4
fonts
fonts
font-roboto
font-roboto
gfpgan
gfpgan
...
...
requirements_versions.txt
View file @
28189985
...
@@ -14,7 +14,6 @@ scikit-image==0.19.2
...
@@ -14,7 +14,6 @@ scikit-image==0.19.2
fonts
fonts
font-roboto
font-roboto
timm==0.6.7
timm==0.6.7
fairscale==0.4.9
piexif==1.1.3
piexif==1.1.3
einops==0.4.1
einops==0.4.1
jsonmerge==1.8.0
jsonmerge==1.8.0
...
...
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