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
e335f05f
Unverified
Commit
e335f05f
authored
Sep 13, 2022
by
Pedro Cuenca
Committed by
GitHub
Sep 13, 2022
Browse files
Rename test_scheduler_outputs_equivalence in model tests. (#451)
parent
f7cd6b87
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_modeling_common.py
tests/test_modeling_common.py
+1
-1
No files found.
tests/test_modeling_common.py
View file @
e335f05f
...
...
@@ -179,7 +179,7 @@ class ModelTesterMixin:
loss
.
backward
()
ema_model
.
step
(
model
)
def
test_
scheduler_
outputs_equivalence
(
self
):
def
test_outputs_equivalence
(
self
):
def
set_nan_tensor_to_zero
(
t
):
# Temporary fallback until `aten::_index_put_impl_` is implemented in mps
# Track progress in https://github.com/pytorch/pytorch/issues/77764
...
...
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