Instructions to use Comfy-Org/flux2-dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use Comfy-Org/flux2-dev with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
FP8 CLIP error:SamplerCustomAdvanced mat1 and mat2 shapes cannot be multiplied (402x15360 and 4096x3072)
#10
by IOOIK - opened
SamplerCustomAdvanced mat1 and mat2 shapes cannot be multiplied (402x15360 and 4096x3072)
You should use the correct corresponding clip
diffusion model:flux-2-klein-4b.safetensors
clip:qwen_3_4b.safetensors
or
diffusion model:flux-2-klein-base-9b.safetensors
clip:qwen_3_8b.safetensors