invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.57k stars 2.42k forks source link

[bug]: can't detect safetensor files if moved even if downloaded through InvokeAI #7197

Open phazei opened 6 days ago

phazei commented 6 days ago

Is there an existing issue for this problem?

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

3090

GPU VRAM

24gb

Version number

5.2

Browser

Chrome

Python dependencies

No response

What happened

I installed the T5 encoder, moved the whole t5_encoder folder to another location so it could be used with other tools. Then I had Invoke scan the folder, it lists it, I click the plus, and it gives the error Failed, t5_bnb_int8_quantized_encoder: no .safetensors files found

What you expected to happen

I can understand it not supporting some files, but it downloaded these itself! I expect it to be able to scan and install the files wherever they are.

How to reproduce the problem

No response

Additional context

I really love the interface for InvokeAI, but of every tool out there, there is none that is pickier than it. Half the time it won't accept a file saying it can't determine what type of file it is. No other tool has that issue, they can all figure out what the files are. I'd rather it let me try the file and crash than refuse to load it to begin with. It's frustrating because I'd rather use this than Forge or Comfy.

Discord username

No response

regiellis commented 5 days ago

You could try removing the name from the sqlite database, the old entry maybe preventing it from installing.

phazei commented 4 days ago

I tried it on a fresh install that never had the old entry when switching from stand alone to Stability Matrix.

I also tried with the config file named the default 'config' or 'model' or matching the folder name, a bunch of combinations. Doing that eventually got clip-vit-large-patch14 installed, but never worked for T5. And when I tried using the clip that was moved and installed that way, it failed to work so I deleted it and just had Invoke install it from it's own servers to get it working again.