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
ea1ba0ba
Unverified
Commit
ea1ba0ba
authored
Dec 23, 2024
by
Sayak Paul
Committed by
GitHub
Dec 23, 2024
Browse files
[LoRA] test fix (#10351)
updates
parent
9d27df80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/lora/utils.py
tests/lora/utils.py
+1
-1
No files found.
tests/lora/utils.py
View file @
ea1ba0ba
...
...
@@ -1568,7 +1568,7 @@ class PeftLoraLoaderMixinTests:
# without we should not see an error, but every image will be black
pipe
.
fuse_lora
(
components
=
self
.
pipeline_class
.
_lora_loadable_modules
,
safe_fusing
=
False
)
out
=
pipe
(
"test"
,
num_inference_steps
=
2
,
output_type
=
"np"
)[
0
]
out
=
pipe
(
**
inputs
)[
0
]
self
.
assertTrue
(
np
.
isnan
(
out
).
all
())
...
...
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