Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ModelZoo
AudioFly
Commits
4ad2e834
Commit
4ad2e834
authored
Jun 01, 2026
by
weishb
Browse files
更新镜像名,修改run.py敏感信息
parent
a19a32cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+1
-1
run.py
run.py
+2
-2
No files found.
README.md
View file @
4ad2e834
...
@@ -24,7 +24,7 @@ harbor.sourcefind.cn:5443/dcu/admin/base/custom:vllm0.18.1-ubuntu22.04-dtk26.04-
...
@@ -24,7 +24,7 @@ harbor.sourcefind.cn:5443/dcu/admin/base/custom:vllm0.18.1-ubuntu22.04-dtk26.04-
docker run
-it
\
docker run
-it
\
--shm-size
60g
\
--shm-size
60g
\
--network
=
host
\
--network
=
host
\
--name
Spark-X1
\
--name
audiofly
\
--privileged
\
--privileged
\
--device
=
/dev/kfd
\
--device
=
/dev/kfd
\
--device
=
/dev/dri
\
--device
=
/dev/dri
\
...
...
run.py
View file @
4ad2e834
...
@@ -3,10 +3,10 @@ import torch
...
@@ -3,10 +3,10 @@ import torch
from
ldm.utils.util
import
instantiate_from_config
from
ldm.utils.util
import
instantiate_from_config
configs
=
yaml
.
load
(
open
(
'/p
ublic/home/weishb
/iflytek/AudioFly/config/config.yaml'
,
"r"
),
Loader
=
yaml
.
FullLoader
)
configs
=
yaml
.
load
(
open
(
'/p
ath/to/model
/iflytek/AudioFly/config/config.yaml'
,
"r"
),
Loader
=
yaml
.
FullLoader
)
model
=
instantiate_from_config
(
configs
[
"model"
])
model
=
instantiate_from_config
(
configs
[
"model"
])
checkpoint
=
torch
.
load
(
'/p
ublic/home/weishb
/iflytek/AudioFly/models/ldm/model.ckpt'
)
checkpoint
=
torch
.
load
(
'/p
ath/to/model
/iflytek/AudioFly/models/ldm/model.ckpt'
)
model
.
load_state_dict
(
checkpoint
,
strict
=
False
)
model
.
load_state_dict
(
checkpoint
,
strict
=
False
)
model
.
eval
()
model
.
eval
()
model
=
model
.
cuda
()
model
=
model
.
cuda
()
...
...
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