Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support - FLUX black-forest-labs/FLUX.1-schnell #347

Open
mgierschdev opened this issue Aug 3, 2024 · 1 comment
Open

Support - FLUX black-forest-labs/FLUX.1-schnell #347

mgierschdev opened this issue Aug 3, 2024 · 1 comment

Comments

@mgierschdev
Copy link

mgierschdev commented Aug 3, 2024

Support to convert model black-forest-labs/FLUX.1-schnell, receive this error:

after running:
python -m python_coreml_stable_diffusion.torch2coreml --convert-unet --convert-text-encoder --convert-vae-decoder --convert-safety-checker --model-version black-forest-labs/FLUX.1-schnell -o .

the error:
ValueError: The deprecation tuple ('no variant default', '0.24.0', "You are trying to load the model files of the variant=fp16, but no such modeling files are available.The default model files: {'transformer/diffusion_pytorch_model-00003-of-00003.safetensors', 'text_encoder_2/model-00001-of-00002.safetensors', 'text_encoder_2/model.safetensors.index.json', 'transformer/diffusion_pytorch_model-00001-of-00003.safetensors', 'vae/diffusion_pytorch_model.safetensors', 'text_encoder_2/model-00002-of-00002.safetensors', 'transformer/diffusion_pytorch_model-00002-of-00003.safetensors', 'transformer/diffusion_pytorch_model.safetensors.index.json', 'text_encoder/model.safetensors'} will be loaded instead. Make sure to not load from variant=fp16`if such variant modeling files are not available. Doing so will lead to an error in v0.24.0 as defaulting to non-variantmodeling files is deprecated.") should be removed since diffusers' version 0.29.2 is >= 0.24.0

@atiorh
Copy link
Collaborator

atiorh commented Aug 4, 2024

Conversion of MMDiT-based models (e.g. SD3, FLUX) is supported via DiffusionKit. FLUX support in DiffusionKit is WIP (track here for progress)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants