Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
H
Hydra Node Http
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
Hydra Node Http
Commits
5e114707
Commit
5e114707
authored
Sep 30, 2022
by
novelailab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix irreproducible seeds.
parent
98dee378
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+1
-1
hydra_node/models.py
hydra_node/models.py
+1
-1
No files found.
Dockerfile
View file @
5e114707
...
...
@@ -24,7 +24,7 @@ RUN pip3 install -e git+https://github.com/CompVis/taming-transformers.git@maste
#RUN unzip stable-diffusion-private-hypernets.zip
ADD
stable-diffusion-private stable-diffusion-private
RUN
pip3
install
-e
stable-diffusion-private/
RUN
pip3
install
https://github.com/
crowsonkb/k-diffusion/archive/481677d114f6ea445aa009cf5bd7a9cdee909e47
.zip
RUN
pip3
install
https://github.com/
NovelAI/k-diffusion-multigen/archive/727aaf3b25c28b7ce450c41fa8cbe7f8d0717a36
.zip
RUN
pip3
install
simplejpeg
RUN
pip3
install
min-dalle
#RUN pip3 install https://github.com/microsoft/DeepSpeed/archive/55b7b9e008943b8b93d4903d90b255313bb9d82c.zip
...
...
hydra_node/models.py
View file @
5e114707
...
...
@@ -442,7 +442,7 @@ class StableDiffusionModel(nn.Module):
start_code
=
start_code
*
sigmas
[
0
]
extra_args
=
{
'cond'
:
prompt_condition
,
'uncond'
:
uc
,
'cond_scale'
:
request
.
scale
}
samples
=
self
.
sampler_map
[
request
.
sampler
](
self
.
k_model
,
start_code
,
sigmas
,
extra_args
=
extra_args
)
samples
=
self
.
sampler_map
[
request
.
sampler
](
self
.
k_model
,
start_code
,
sigmas
,
request
.
seed
,
extra_args
=
extra_args
)
with
torch
.
autocast
(
"cuda"
,
enabled
=
False
):
x_samples_ddim
=
self
.
model
.
decode_first_stage
(
samples
.
float
())
...
...
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