Flux.1-dev access denied #500
-
|
I'm trying to generate a Lora with OneTrainer installed via Stability Matrix. But every time I start Training. I get the following error Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/0ef5fff789c832c5c7f4e127f94c8b54bbcced44/model_index.json. Yes I have a HF account and I'm logged in when I run Onetrainer. I even generated a HF token but I have no idea how to use it with OneTrainer. What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
|
https://huggingface.co/docs/text-generation-inference/basic_tutorials/gated_model_access |
Beta Was this translation helpful? Give feedback.
-
Im adding the full print out when I run the training, Hopefully it will helpClearing cache directory workspace-cache/run! You can disable this if you want to continue using the same cache. Traceback (most recent call last): Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): Cannot access gated repo for url https://huggingface.co/black-forest-labs/FLUX.1-dev/resolve/0ef5fff789c832c5c7f4e127f94c8b54bbcced44/model_index.json. Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the suggestion, unfortunately Stability Matrix is a program that manages and runs OneTrainer, so all the venv etc is out of my control. |
Beta Was this translation helpful? Give feedback.


export HF_TOKEN=<YOUR READ TOKEN>https://huggingface.co/docs/text-generation-inference/basic_tutorials/gated_model_access