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
7e779382
Commit
7e779382
authored
Sep 18, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
9f9a2084
c89b1a6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
processing.py
modules/processing.py
+1
-1
No files found.
modules/processing.py
View file @
7e779382
...
...
@@ -124,7 +124,7 @@ def create_random_tensors(shape, seeds, subseeds=None, subseed_strength=0.0, see
# if we have multiple seeds, this means we are working with batch size>1; this then
# enables the generation of additional tensors with noise that the sampler will use during its processing.
# Using those pre-gen
rated tensors instead of si
imple torch.randn allows a batch with seeds [100, 101] to
# Using those pre-gen
erated tensors instead of s
imple torch.randn allows a batch with seeds [100, 101] to
# produce the same images as with two batches [100], [101].
if
p
is
not
None
and
p
.
sampler
is
not
None
and
len
(
seeds
)
>
1
and
opts
.
enable_batch_seeds
:
sampler_noises
=
[[]
for
_
in
range
(
p
.
sampler
.
number_of_needed_noises
(
p
))]
...
...
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