Skip to content

[enhancement]: Don't delete failed downloads #7796

@66BA9Q-ME49

Description

@66BA9Q-ME49

Is there an existing issue for this?

  • I have searched the existing issues

Contact Details

No response

What should this feature add?

When a model fails to install or isn't recognized (due to an unsupported model format), Invoke should keep the downloaded files in a directory instead of deleting them.

Alternatives

No response

Additional Content

I tried downloading FLUX.1 [dev] using Invoke. It downloaded the model but failed to install it.

Image

[2025-03-16 22:15:08,695]::[ModelInstallService]::INFO --> Model download complete: black-forest-labs/FLUX.1-dev
[2025-03-16 22:15:08,702]::[ModelInstallService]::INFO --> Model install started: black-forest-labs/FLUX.1-dev
[2025-03-16 22:15:08,744]::[ModelInstallService]::ERROR --> Model install error: black-forest-labs/FLUX.1-dev
InvalidModelConfigException: Unknown base model for G:\03 - AI\Image Generation\InvokeAI\models\tmpinstall_az0bcd50\FLUX.1-dev

I thought that Invoke didn't support FLUX, so I went into the models folder to transfer the files to ComfyUI, but Invoke had already deleted the downloaded files.
Because of that, I waited several hours for nothing, and now I need to download 21GB of files again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions