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
0c7bdcc1
Commit
0c7bdcc1
authored
Jun 28, 2024
by
AUTOMATIC1111
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add the missing get_first_stage_encoding function
parent
fc8b1266
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/models/sd3/sd3_model.py
modules/models/sd3/sd3_model.py
+3
-0
No files found.
modules/models/sd3/sd3_model.py
View file @
0c7bdcc1
...
@@ -61,6 +61,9 @@ class SD3Inferencer(torch.nn.Module):
...
@@ -61,6 +61,9 @@ class SD3Inferencer(torch.nn.Module):
latent
=
self
.
first_stage_model
.
encode
(
image
)
latent
=
self
.
first_stage_model
.
encode
(
image
)
return
self
.
latent_format
.
process_in
(
latent
)
return
self
.
latent_format
.
process_in
(
latent
)
def
get_first_stage_encoding
(
self
,
x
):
return
x
def
create_denoiser
(
self
):
def
create_denoiser
(
self
):
return
SD3Denoiser
(
self
,
self
.
model
.
model_sampling
.
sigmas
)
return
SD3Denoiser
(
self
,
self
.
model
.
model_sampling
.
sigmas
)
...
...
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