invoke-ai / InvokeAI

InvokeAI 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, supports terminal use through a CLI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.16k stars 2.4k forks source link

[bug]: Stable diffusion 3 install Unauthorized error, but I have setup huggingface token and accepted sd3 licience #6513

Open ghost opened 3 months ago

ghost commented 3 months ago

Is there an existing issue for this problem?

Operating system

Windows

GPU vendor

Nvidia (CUDA)

GPU model

No response

GPU VRAM

No response

Version number

4.2.4

Browser

Edge

Python dependencies

No response

What happened

  1. set up huggingface token as suggested in FAQ

python -c "import huggingface_hub; huggingface_hub.login()" Token can be pasted using 'Right-Click'. Enter your token (input will not be visible): Add token as git credential? (Y/n)y Token is valid (permission: write). Your token has been saved in your configured git credential helpers (manager). Your token has been saved to C:\Users\kent.cache\huggingface\token Login successful

  1. tried to install sd3 (tried all the versions of sd3 in the repo) from huggingface and got this error message

[2024-06-14 19:01:39,516]::[DownloadQueueService]::ERROR --> https://huggingface.co/stabilityai/stable-diffusion-3-medium/resolve/main/sd3_medium_incl_clips_t5xxlfp16.safetensors: ['Traceback (most recent call last):\n', ' File "F:\stable_diffusion_all\invoke_ai_401\.venv\lib\site-packages\invokeai\app\services\download\download_default.py", line 229, in _download_next_item\n self._do_download(job)\n', ' File "F:\stable_diffusion_all\invoke_ai_401\.venv\lib\site-packages\invokeai\app\services\download\download_default.py", line 255, in _do_download\n raise HTTPError(resp.reason)\n', 'requests.exceptions.HTTPError: Unauthorized\n'] [2024-06-14 19:01:39,517]::[ModelInstallService]::ERROR --> Cancelling https://huggingface.co/stabilityai/stable-diffusion-3-medium/resolve/main/sd3_medium_incl_clips_t5xxlfp16.safetensors due to an error while downloading https://huggingface.co/stabilityai/stable-diffusion-3-medium/resolve/main/sd3_medium_incl_clips_t5xxlfp16.safetensors: Unauthorized [2024-06-14 19:01:39,517]::[ModelInstallService]::ERROR --> Model install error: https://huggingface.co/stabilityai/stable-diffusion-3-medium/resolve/main/sd3_medium_incl_clips_t5xxlfp16.safetensors

  1. tried to install from local path and got this error message

[2024-06-14 19:03:24,424]::[ModelInstallService]::ERROR --> Model install error: F:/stable_diffusion_all/ComfyUI/ComfyUI/models/checkpoints/sd3_medium_incl_clips_t5xxlfp16.safetensors InvalidModelConfigException: Cannot determine base type

What you expected to happen

can install sd3

How to reproduce the problem

No response

Additional context

No response

Discord username

No response

ausbitbank commented 3 months ago

SD3 is not supported yet (and it may not ever be supported officially) See these for more info

image

https://www.youtube.com/watch?v=r8oA42saTNI

ghost commented 3 months ago

Oh, they could have chosen: 1) sticking to former practice of SD1.x, SD2.x and SDXL; 2) offering one-off purchase; 3) offering less restrictive and more transparent license; 4) obtuse angle. Never thought 4 is the actual choice.
Good work Invokeai team and hope you the best.