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
265ec6be
Commit
265ec6be
authored
Aug 23, 2022
by
kurumuz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gate it
parent
8c8cf345
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
hydra_node/config.py
hydra_node/config.py
+4
-3
run_diffusion.sh
run_diffusion.sh
+1
-0
No files found.
hydra_node/config.py
View file @
265ec6be
...
...
@@ -166,9 +166,10 @@ def init_config_model():
model_hash
=
crc32
(
model_path
)
#Load Modules
modules
=
load_modules
(
config
.
module_path
)
#attach it to the model
model
.
premodules
=
modules
if
config
.
module_path
is
not
None
:
modules
=
load_modules
(
config
.
module_path
)
#attach it to the model
model
.
premodules
=
modules
config
.
model
=
model
...
...
run_diffusion.sh
View file @
265ec6be
...
...
@@ -3,6 +3,7 @@ export AMP="1"
export
MODEL
=
"stable-diffusion"
export
DEV
=
"True"
export
MODEL_PATH
=
"/home/xuser/nvme1/stableckpt/v13"
export
MODULE_PATH
=
"/home/xuser/nvme1/stableckpt/modules"
export
TRANSFORMERS_CACHE
=
"/home/xuser/nvme1/transformer_cache"
export
SENTRY_URL
=
"https://49ca8adcf4444f82a10eae1b3fd4182f@o846434.ingest.sentry.io/6612448"
gunicorn main:app
--workers
1
--worker-class
uvicorn.workers.UvicornWorker
--bind
0.0.0.0:4315
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