Replies: 2 comments 1 reply
-
I guess manner 1 is more popular in the community. Other than that, I think there is no difference. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I got some interpretations from here. if custom_pipeline is not None:
pipeline_class = get_class_from_dynamic_module(
custom_pipeline, module_file=CUSTOM_PIPELINE_FILE_NAME, cache_dir=custom_pipeline
)
elif cls != DiffusionPipeline:
pipeline_class = cls
else:
diffusers_module = importlib.import_module(cls.__module__.split(".")[0])
pipeline_class = getattr(diffusers_module, config_dict["_class_name"]) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What is the difference between these two manners loading custom pipelines ?
for example:
Beta Was this translation helpful? Give feedback.
All reactions