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
ea272152
Commit
ea272152
authored
Dec 16, 2023
by
Kohaku-Blueleaf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add FP8 settings into PNG info
parent
0fb34b57
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
modules/generation_parameters_copypaste.py
modules/generation_parameters_copypaste.py
+6
-0
modules/processing.py
modules/processing.py
+2
-0
No files found.
modules/generation_parameters_copypaste.py
View file @
ea272152
...
@@ -314,6 +314,12 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model
...
@@ -314,6 +314,12 @@ Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 965400086, Size: 512x512, Model
if
"VAE Decoder"
not
in
res
:
if
"VAE Decoder"
not
in
res
:
res
[
"VAE Decoder"
]
=
"Full"
res
[
"VAE Decoder"
]
=
"Full"
if
"FP8 weight"
not
in
res
:
res
[
"FP8 weight"
]
=
"Disable"
if
"Cache FP16 weight for LoRA"
not
in
res
and
res
[
"FP8 weight"
]
!=
"Disable"
:
res
[
"Cache FP16 weight for LoRA"
]
=
False
skip
=
set
(
shared
.
opts
.
infotext_skip_pasting
)
skip
=
set
(
shared
.
opts
.
infotext_skip_pasting
)
res
=
{
k
:
v
for
k
,
v
in
res
.
items
()
if
k
not
in
skip
}
res
=
{
k
:
v
for
k
,
v
in
res
.
items
()
if
k
not
in
skip
}
...
...
modules/processing.py
View file @
ea272152
...
@@ -688,6 +688,8 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments=None, iter
...
@@ -688,6 +688,8 @@ def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments=None, iter
"Size"
:
f
"{p.width}x{p.height}"
,
"Size"
:
f
"{p.width}x{p.height}"
,
"Model hash"
:
p
.
sd_model_hash
if
opts
.
add_model_hash_to_info
else
None
,
"Model hash"
:
p
.
sd_model_hash
if
opts
.
add_model_hash_to_info
else
None
,
"Model"
:
p
.
sd_model_name
if
opts
.
add_model_name_to_info
else
None
,
"Model"
:
p
.
sd_model_name
if
opts
.
add_model_name_to_info
else
None
,
"FP8 weight"
:
opts
.
fp8_storage
if
devices
.
fp8
else
None
,
"Cache FP16 weight for LoRA"
:
opts
.
cache_fp16_weight
if
devices
.
fp8
else
None
,
"VAE hash"
:
p
.
sd_vae_hash
if
opts
.
add_vae_hash_to_info
else
None
,
"VAE hash"
:
p
.
sd_vae_hash
if
opts
.
add_vae_hash_to_info
else
None
,
"VAE"
:
p
.
sd_vae_name
if
opts
.
add_vae_name_to_info
else
None
,
"VAE"
:
p
.
sd_vae_name
if
opts
.
add_vae_name_to_info
else
None
,
"Variation seed"
:
(
None
if
p
.
subseed_strength
==
0
else
(
p
.
all_subseeds
[
0
]
if
use_main_prompt
else
all_subseeds
[
index
])),
"Variation seed"
:
(
None
if
p
.
subseed_strength
==
0
else
(
p
.
all_subseeds
[
0
]
if
use_main_prompt
else
all_subseeds
[
index
])),
...
...
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