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
d76bc437
Commit
d76bc437
authored
Jun 17, 2022
by
patil-suraj
Browse files
add skeleton for model tests
parent
8c1f5197
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
tests/test_modeling_utils.py
tests/test_modeling_utils.py
+18
-0
No files found.
tests/test_modeling_utils.py
View file @
d76bc437
...
@@ -118,6 +118,24 @@ class ModelTesterMixin(unittest.TestCase):
...
@@ -118,6 +118,24 @@ class ModelTesterMixin(unittest.TestCase):
assert
image
is
not
None
,
"Make sure output is not None"
assert
image
is
not
None
,
"Make sure output is not None"
def
test_save_load
(
self
):
pass
def
test_determinism
(
self
):
pass
def
test_output
(
self
):
pass
def
test_forward_signature
(
self
):
pass
def
test_model_from_config
(
self
):
pass
def
test_training
(
self
):
pass
class
PipelineTesterMixin
(
unittest
.
TestCase
):
class
PipelineTesterMixin
(
unittest
.
TestCase
):
def
test_from_pretrained_save_pretrained
(
self
):
def
test_from_pretrained_save_pretrained
(
self
):
...
...
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