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
109d5bbe
Commit
109d5bbe
authored
Oct 18, 2023
by
Patrick von Platen
Browse files
Merge branch 'main' of
https://github.com/huggingface/diffusers
parents
f277d5e5
28e8d1f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
utils/fetch_torch_cuda_pipeline_test_matrix.py
utils/fetch_torch_cuda_pipeline_test_matrix.py
+6
-2
No files found.
utils/fetch_torch_cuda_pipeline_test_matrix.py
View file @
109d5bbe
...
@@ -34,8 +34,11 @@ def filter_pipelines(usage_dict, usage_cutoff=10000):
...
@@ -34,8 +34,11 @@ def filter_pipelines(usage_dict, usage_cutoff=10000):
if
usage
<
usage_cutoff
:
if
usage
<
usage_cutoff
:
continue
continue
if
"Pipeline"
in
diffusers_object
:
is_diffusers_pipeline
=
hasattr
(
diffusers
.
pipelines
,
diffusers_object
)
output
.
append
(
diffusers_object
)
if
not
is_diffusers_pipeline
:
continue
output
.
append
(
diffusers_object
)
return
output
return
output
...
@@ -71,6 +74,7 @@ def fetch_pipeline_modules_to_test():
...
@@ -71,6 +74,7 @@ def fetch_pipeline_modules_to_test():
test_modules
=
[]
test_modules
=
[]
for
pipeline_name
in
pipeline_objects
:
for
pipeline_name
in
pipeline_objects
:
module
=
getattr
(
diffusers
,
pipeline_name
)
module
=
getattr
(
diffusers
,
pipeline_name
)
test_module
=
module
.
__module__
.
split
(
"."
)[
-
2
].
strip
()
test_module
=
module
.
__module__
.
split
(
"."
)[
-
2
].
strip
()
test_modules
.
append
(
test_module
)
test_modules
.
append
(
test_module
)
...
...
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