Skip to content

feat/bug: Flux.3 Image Klein ComfyUI int8-convrot (comfy_quant) fails with 'cannot identify model family' #2425

Done

Description

@nklowns

Environment

  • stable-diffusion.cpp: master-1127-79dc7ca (CUDA 12.8, sm_86)
  • GPU: NVIDIA GeForce RTX 3060 Laptop 6 GB

Description

flux3-image-klein-int8-convrot.safetensors (from the ComfyUI int8-convrot distribution, which works natively in ComfyUI comfy_kitchen) fails to load in sd-cli with:

[E] generate failed: cannot identify model family from '/models/diffusion_models/flux3-image-klein-int8-convrot.safetensors' --- main.cpp:815

Inspecting the safetensors header shows tensor keys such as:
content_mode_blocks.image.0.attn_out.weight_scale, content_mode_blocks.image.0.mlp_in.weight_scale, content_mode_blocks.image.0.qkv.weight_scale.

By contrast:

  • z_image_turbo_int8_convrot.safetensors loads and runs natively with --sage-attn (22.51 s at 1024×1024, 8 steps).
  • flux-3-image-klein-Q4_K_M.gguf + Qwen3VL-4B-Instruct-Q4_K_M.gguf + flux2-vae.safetensors loads and runs natively (16.63 s/img warm in sd-server at 768×1024, 16 steps).

Request

Support mapping comfy_quant / content_mode_blocks.* tensor names for flux3_klein (or document in docs/models/flux3.md that GGUF should be used instead of the ComfyUI int8-convrot safetensors).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions