huggingface/diffusers

stable diffusion adapter pipeline for t2i adapter missing `from_single_file`

Open

#7.882 aberto em 7 de mai. de 2024

Ver no GitHub
 (18 comments) (0 reactions) (1 assignee)Python (4.562 forks)batch import
Good second issuecontributions-welcomehelp wantedsingle_file

Métricas do repositório

Stars
 (22.190 stars)
Métricas de merge de PR
 (Mesclagem média 13d 1h) (96 fundiu PRs em 30d)

Description

Is your feature request related to a problem? Please describe. I want to use and test out the t2i adapter with my safetensor model. I used to use diffusers models, but none work since the update. Many of the other adapters use from_single_file to load safetensors correctly. I keep bringing this up, but the current design on having multiple ways to load files is terrible since many adapters seem to not inherit loading methods.

Describe the solution you'd like. To be able to load safetensors files from a local directory with the stable diffusion adapter pipeline for t2i. from_single_file is missing and it's annoying that from_pretrained can't do it either.

Describe alternatives you've considered. Automatic1111, I just want to test with a specific model. I don't have time to waste on other models.

Additional context. I keep saying this over and over, but making all the loading methods load both safetensors and diffusers.

Guia do colaborador