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
renzhc
diffusers_dcu
Commits
1082c46a
Unverified
Commit
1082c46a
authored
Aug 06, 2025
by
jiqing-feng
Committed by
GitHub
Aug 06, 2025
Browse files
fix input shape for WanGGUFTexttoVideoSingleFileTests (#12081)
Signed-off-by:
jiqing-feng
<
jiqing.feng@intel.com
>
parent
ba2ba901
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/quantization/gguf/test_gguf.py
tests/quantization/gguf/test_gguf.py
+1
-1
No files found.
tests/quantization/gguf/test_gguf.py
View file @
1082c46a
...
@@ -650,7 +650,7 @@ class WanGGUFTexttoVideoSingleFileTests(GGUFSingleFileTesterMixin, unittest.Test
...
@@ -650,7 +650,7 @@ class WanGGUFTexttoVideoSingleFileTests(GGUFSingleFileTesterMixin, unittest.Test
def
get_dummy_inputs
(
self
):
def
get_dummy_inputs
(
self
):
return
{
return
{
"hidden_states"
:
torch
.
randn
((
1
,
3
6
,
2
,
64
,
64
),
generator
=
torch
.
Generator
(
"cpu"
).
manual_seed
(
0
)).
to
(
"hidden_states"
:
torch
.
randn
((
1
,
1
6
,
2
,
64
,
64
),
generator
=
torch
.
Generator
(
"cpu"
).
manual_seed
(
0
)).
to
(
torch_device
,
self
.
torch_dtype
torch_device
,
self
.
torch_dtype
),
),
"encoder_hidden_states"
:
torch
.
randn
(
"encoder_hidden_states"
:
torch
.
randn
(
...
...
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