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
OpenDAS
diffusers
Commits
1cd4732e
Unverified
Commit
1cd4732e
authored
Mar 25, 2024
by
UmerHA
Committed by
GitHub
Mar 25, 2024
Browse files
Fixed minor error in `test_lora_layers_peft.py` (#7394)
* Update test_lora_layers_peft.py * Update utils.py
parent
a51b6cc8
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 @
1cd4732e
...
@@ -73,7 +73,7 @@ class PeftLoraLoaderMixinTests:
...
@@ -73,7 +73,7 @@ class PeftLoraLoaderMixinTests:
vae_kwargs
=
None
vae_kwargs
=
None
def
get_dummy_components
(
self
,
scheduler_cls
=
None
):
def
get_dummy_components
(
self
,
scheduler_cls
=
None
):
scheduler_cls
=
self
.
scheduler_cls
if
scheduler_cls
is
None
else
LCMS
cheduler
scheduler_cls
=
self
.
scheduler_cls
if
scheduler_cls
is
None
else
s
cheduler
_cls
rank
=
4
rank
=
4
torch
.
manual_seed
(
0
)
torch
.
manual_seed
(
0
)
...
...
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