diffusers
diffusers copied to clipboard
How to let diffusers use local code for pipelineinstead of download it online everytime We use it?
I tried to use the instaflowpipeline from example/community to.run my test However, even after i git cloned the repository to my environment it still Keep trying to Download the latest object of the instaflow pipeline code Unfortunately in my area is hard for the environment to download it directly from rawgithub. I tried to change the downloaded code to let it just use these code already in my environment But find it hard to change the path to url. I would be appreciated if someone could find an proper answer . Thank you for your time and happy lunar new year!
@Kevin-shihello-world Can you share a code example for how you are trying to load the pipeline?
a recent refactor broke some projects by removing config_files
from from_single_file
: https://github.com/huggingface/diffusers/commit/fee93c81eb7c5e9fe1618f858f1e369567170edc#diff-e4c59f1e6ef65de50f554faa85ba27174c9fa11641082cb2e15f88b100e8b9afL150
last working commit is here: https://github.com/huggingface/diffusers/blob/5308cce994ffb1b2c169d62a8f49d445442dff47/src/diffusers/loaders/single_file.py#L150
@cool-bigdogs-tshirt I don't think it's related to this issue. But if you are experiencing an issue with single file would you mind opening a new issue with a reproducible code snippet please?
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.
a recent refactor broke some projects by removing
config_files
fromfrom_single_file
: fee93c8#diff-e4c59f1e6ef65de50f554faa85ba27174c9fa11641082cb2e15f88b100e8b9afL150last working commit is here:
https://github.com/huggingface/diffusers/blob/5308cce994ffb1b2c169d62a8f49d445442dff47/src/diffusers/loaders/single_file.py#L150
I also encountered this problem. The current from_single_file
API has removed the config_files
parameter. You can use the original_config_file
parameter to pass the path of the yaml configuration file corresponding to different models.
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.