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
OpenDAS
diffusers
Commits
6dbef45e
Commit
6dbef45e
authored
Jan 04, 2024
by
sayakpaul
Browse files
Revert "debug"
This reverts commit
7715e6c3
.
parent
7715e6c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/lora/test_lora_layers_old_backend.py
tests/lora/test_lora_layers_old_backend.py
+1
-1
No files found.
tests/lora/test_lora_layers_old_backend.py
View file @
6dbef45e
...
...
@@ -1446,7 +1446,7 @@ class SDXLLoraLoaderMixinTests(unittest.TestCase):
with
tempfile
.
TemporaryDirectory
()
as
tmpdirname
:
sd_pipe
.
save_pretrained
(
tmpdirname
)
sd_pipe_loaded
=
StableDiffusionXLPipeline
.
from_pretrained
(
tmpdirname
)
.
to
(
torch_device
)
sd_pipe_loaded
=
StableDiffusionXLPipeline
.
from_pretrained
(
tmpdirname
)
loaded_lora_images
=
sd_pipe_loaded
(
**
pipeline_inputs
,
generator
=
torch
.
manual_seed
(
0
)).
images
loaded_lora_image_slice
=
loaded_lora_images
[
0
,
-
3
:,
-
3
:,
-
1
]
...
...
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