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
744663f8
Unverified
Commit
744663f8
authored
Apr 26, 2023
by
Patrick von Platen
Committed by
GitHub
Apr 26, 2023
Browse files
fix fast test (#3241)
parent
abbf3c1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/pipelines/unclip/test_unclip.py
tests/pipelines/unclip/test_unclip.py
+1
-1
No files found.
tests/pipelines/unclip/test_unclip.py
View file @
744663f8
...
@@ -358,7 +358,7 @@ class UnCLIPPipelineFastTests(PipelineTesterMixin, unittest.TestCase):
...
@@ -358,7 +358,7 @@ class UnCLIPPipelineFastTests(PipelineTesterMixin, unittest.TestCase):
def
test_attention_slicing_forward_pass
(
self
):
def
test_attention_slicing_forward_pass
(
self
):
test_max_difference
=
torch_device
==
"cpu"
test_max_difference
=
torch_device
==
"cpu"
self
.
_test_attention_slicing_forward_pass
(
test_max_difference
=
test_max_difference
)
self
.
_test_attention_slicing_forward_pass
(
test_max_difference
=
test_max_difference
,
expected_max_diff
=
0.01
)
# Overriding PipelineTesterMixin::test_inference_batch_single_identical
# Overriding PipelineTesterMixin::test_inference_batch_single_identical
# because UnCLIP undeterminism requires a looser check.
# because UnCLIP undeterminism requires a looser check.
...
...
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