...
Fix haggingface repo access
Generate token
https://huggingface.co/settings/tokens
Repo with acess request needed
https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct
https://huggingface.co/stabilityai/stable-diffusion-3.5-largeNeeded for Flux , SD3.5 and some other models
https://huggingface.co/settings/tokensblack-forest-labs/FLUX.1-dev
Error example
In case you got repo access, enter tokens to WebUI and still got error like
| Code Block |
|---|
2025-06-20 13:25:36,995 | 97698f11112d | sd | ERROR | sd_models | Load model: path="/mnt/models/Diffusers/models--HiDream-ai--HiDream-I1-Dev/snapshots/5b3f48f0d64d039cd5e4b6bd47b4f4e0cbebae 62" 401 Client Error. (Request ID: Root=1-68556150-3f4018045ca5c71e00c09f88;3ae0ae6d-465e-46ed-9934-c5ea6af2097d) Cannot access gated repo for url https://huggingface.co/api/models/meta-llama/Meta-Llama-3.1-8B-Instruct/auth-check. Access to model meta-llama/Llama-3.1-8B-Instruct is restricted. You must have access to it and be authenticated to access it. Please log in. 2025-06-20 13:25:37,786 | 97698f11112d | sd | ERROR | sd_models | StableDiffusionPipeline: Pipeline <class 'diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion.StableDiffusionPipeline'> expected ['feature_extractor', 'image_encoder', |
Manual login
workaround is to login manually
...