diffusers icon indicating copy to clipboard operation
diffusers copied to clipboard

Allow more arguments to be passed to convert_from_ckpt

Open w4ffl35 opened this issue 1 year ago • 2 comments

What does this PR do?

Allows management of safety checker and feature extractor from outside of the convert ckpt class. Without this one must rely on the function to load the safety checker and feature extractor. If I want to manage these models myself, then I must currently pass load_safety_checker to False which results in the standard warning message. Instead I want to initialize the safety and checker and feature extractor independently and pass it to the pipe loader.

@sayakpaul @yiyixuxu @DN6

w4ffl35 avatar Mar 05 '24 12:03 w4ffl35

I am okay with this change. Thanks!

sayakpaul avatar Mar 05 '24 13:03 sayakpaul

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

github-actions[bot] avatar Apr 04 '24 15:04 github-actions[bot]