ai-toolkit icon indicating copy to clipboard operation
ai-toolkit copied to clipboard

please help! Where to put black-forest-labs/FLUX.1-dev if i already downloaded it?

Open protector131090 opened this issue 1 year ago • 3 comments

please help! Where to put black-forest-labs/FLUX.1-dev if i already downloaded it? git cloning speed is 100kb/s it will take weeks. Where do i put already downloaded folder from black-forest-labs/FLUX.1-dev to use it without downloading from HF ?? thanks!

protector131090 avatar Aug 13 '24 11:08 protector131090

solved with this https://github.com/ostris/ai-toolkit/issues/46

protector131090 avatar Aug 13 '24 13:08 protector131090

Not working with fix proposed in #46 for me.

maxenko avatar Aug 13 '24 22:08 maxenko

Not working with fix proposed in #46 for me.

did you put the whole folder? its 107 gb.

protector131090 avatar Aug 15 '24 13:08 protector131090

The contents of the entire folder are required in the folder. Then pointing to a local path should work. Let me know if this doesn't work.

jaretburkett avatar Aug 19 '24 03:08 jaretburkett

The contents of the entire folder are required in the folder. Then pointing to a local path should work. Let me know if this doesn't work.

    dtype: bf16
  model:
    # huggingface model name or path
    name_or_path: "/root/ComfyUI/models/unet/flux_dev.safetensors"  

it does'nt work for linux! this is absolute file path

OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like /root/ComfyUI/models/unet/flux_dev.safetensors/transformer is not the path to a directory containing a config.json file. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.

hotdogarea avatar Sep 03 '24 03:09 hotdogarea

Not working with fix proposed in #46 for me.不适用于中建议的修复 #46 为我。

for linux ,have u solved this problem?

hotdogarea avatar Sep 03 '24 03:09 hotdogarea

How to configure it under Linux, I have to download the model in /data/app/models/black-forest-labs/FLUX.1-dev

1247862674 avatar Sep 12 '24 07:09 1247862674

OSError: We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like /data/app/models/black-forest-labs/FLUX.1-dev is not the path to a directory containing a config.json file. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.

1247862674 avatar Sep 12 '24 07:09 1247862674