Skip to content

[Feature] [Bug] Allow users to specify family_name overrides for image models and similar through the UI. #8618

Closed

Description

@rudikershaw

Summary

In the desktop app, when you select an image generation model, if the repo ID or model name don't contain very specific aliases or strings the model is rejected and refuses to load with an error message telling you to pass a family_name override.

This message appears to be specific to developers using the API, not for desktop users (who, as far as I can tell, have no means of actioning this advice).

Please provide a means in the UI for selecting a family_name from a list so that users can attempt to load the models. Or, even better, allow users to add a family_name override in the model advanced settings. Hopefully this will then let people even attempt to load models in the image generation tab that don't even show up in the list.

Alternatively, just add a ""Pick a model from disk" option like the chat window has and let the user pick.

Reproduction Steps

  1. Go to the Model hub.
  2. Type in Klein.
  3. Find a model that is clearly Flux2 Klein based, but doesn't have those words exactly in the title. (For example, it might just say Klein, or it might have typod Klien, or perhaps it is missing the 2 from Flux etc.)
  4. Download that model.
  5. Go to the Image Generation tab and select to load the model.

You should now see an error message;

'{some_model_name}' is not a supported diffusion image model. Supported families: flux.1, flux.2-klein, flux.2-dev, flux.1-kontext, qwen-image-edit, qwen-image, z-image, krea-2, lumina-2, hunyuanimage-2.1, hidream-i1, ideogram-4, sdxl. If this is a variant of one of them, pass family_override with that family name. (Video models and image models whose diffusers transformer has no single-file loader are not supported.)

Activity

  1. added
    feature request
    on Aug 12, 2026
  2. added a commit that references this issue on Oct 1, 2026
    ac6ddf3
  3. alarmed-ground commented on Nov 11, 2026

    @alarmed-ground

    Similar issue pops up when loading Minimax-H3-Image model
    'unsloth/MiniMax-H3-Image-FP8' is not a supported diffusion image model. Supported families: flux.1, flux.2-klein, flux.3-klein-base, flux.3-klein, flux.2-dev, flux.1-kontext, qwen-image-edit, qwen-image-layered, qwen-image, qwen-image-2.1, z-image, krea-2, lumina-2, chroma, anima, hunyuanimage-2.1, hidream-i1, ideogram-4, moss-image, sdxl. If this is a variant of one of them, pass family_override with that family name. (Video models and image models whose diffusers transformer has no single-file loader are not supported.)
    Unsloth Version
    v0.1.916-beta
    Package Version
    2026.11.3
    Backend
    CUDA
    Python
    3.13.17
    Torch
    2.13.0+cu130
    Transformers
    5.5.0

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

    feature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions