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
2451d3dd
Commit
2451d3dd
authored
Aug 05, 2022
by
novelailab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no_init breaks dalle-mini lol, how funky!
parent
4d302d9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
hydra_node/config.py
hydra_node/config.py
+5
-1
run.sh
run.sh
+2
-2
No files found.
hydra_node/config.py
View file @
2451d3dd
...
@@ -99,7 +99,11 @@ def init_config_model():
...
@@ -99,7 +99,11 @@ def init_config_model():
load_time
=
time
.
time
()
load_time
=
time
.
time
()
try
:
try
:
model
=
no_init
(
lambda
:
model_map
[
config
.
model_name
](
config
))
if
config
.
model_name
!=
"dalle-mini"
:
model
=
no_init
(
lambda
:
model_map
[
config
.
model_name
](
config
))
else
:
model
=
model_map
[
config
.
model_name
](
config
)
except
Exception
as
e
:
except
Exception
as
e
:
logger
.
error
(
f
"Failed to load model: {str(e)}"
)
logger
.
error
(
f
"Failed to load model: {str(e)}"
)
capture_exception
(
e
)
capture_exception
(
e
)
...
...
run.sh
View file @
2451d3dd
export
DTYPE
=
"float16"
export
DTYPE
=
"float16"
export
MODEL
=
"
test
"
export
MODEL
=
"
dalle-mini
"
export
DEV
=
"True"
export
DEV
=
"True"
export
MODEL_PATH
=
"/home/xuser/diffusionstorage/workspace/kuru/stablediff/
v1pp-flatline-pruned
"
export
MODEL_PATH
=
"/home/xuser/diffusionstorage/workspace/kuru/stablediff/
dalle-mini-models
"
export
SENTRY_URL
=
"https://49ca8adcf4444f82a10eae1b3fd4182f@o846434.ingest.sentry.io/6612448"
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:80
gunicorn main:app
--workers
1
--worker-class
uvicorn.workers.UvicornWorker
--bind
0.0.0.0:80
\ No newline at end of file
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