Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xuwx1
LightX2V
Commits
58c9abb9
Unverified
Commit
58c9abb9
authored
Nov 25, 2025
by
Gu Shiqiao
Committed by
GitHub
Nov 25, 2025
Browse files
Move _load_adapter_ckpt call in constructor (#509)
parent
4f829742
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lightx2v/models/networks/wan/audio_model.py
lightx2v/models/networks/wan/audio_model.py
+1
-1
No files found.
lightx2v/models/networks/wan/audio_model.py
View file @
58c9abb9
...
...
@@ -22,8 +22,8 @@ class WanAudioModel(WanModel):
def
__init__
(
self
,
model_path
,
config
,
device
):
self
.
config
=
config
self
.
_load_adapter_ckpt
()
self
.
run_device
=
self
.
config
.
get
(
"run_device"
,
"cuda"
)
self
.
_load_adapter_ckpt
()
super
().
__init__
(
model_path
,
config
,
device
)
def
_load_adapter_ckpt
(
self
):
...
...
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