Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem #4

Open
youcanyoubing opened this issue Jan 1, 2024 · 1 comment
Open

A problem #4

youcanyoubing opened this issue Jan 1, 2024 · 1 comment

Comments

@youcanyoubing
Copy link

I have this node installed, but it is not available due to network reasons, I want to know what else needs to be downloaded while it is running, and to which folder can I download it manually

@NeedsMoar
Copy link

So this one is incredibly annoying and differs on Windows and Linux because it uses default huggingface paths and the linux XDG environment variables (which don't exist and don't have sane defaults on Windows; more or less all of them default to places that aren't where Microsoft's guidelines tell you to put the type of data they're meant to hold on linux, or where you're not supposed to put anything at all). I'm just going to assume Windows, if you're on linux they'll be installed under $XDG_CACHE_HOME which I think defaults to a hidden directory like /usr/home/.cache
On Windows if you haven't set that variable, they'll be under C:\Users[YourName].cache which you'll probably have noticed crapping up your otherwise nice "libraries" in Explorer because you don't hide files on windows by putting periods in front of them because that's the stupidest thing imaginable aside from hiding files that aren't important to system functions that you might want to delete to free space easily, like a git cache of gigantic ML models with every version that existed between the first time you used it and when you last ran whatever downloaded it archived for zero reason and with no clue as to the source of the program using it. 👎

In any case my machine has the following subdirectories from this extension (I changed XDG_CACHE_HOME so they're elsewhere). These are some kind of git local copies different from a normal clone / pull, that use the obnoxious LFS format so multiple versions will get retained and symlinks updated. They should still work if you install them with a normal git clone and rename the directories appropriately (I don't know why the double dashes):
huggingface\hub\models--sudo-ai--zero123plus-pipeline
pulled from https://huggingface.co/sudo-ai/zero123plus-pipeline
huggingface\hub\models--sudo-ai--zero123plus-v1.1
pulled from https://huggingface.co/sudo-ai/zero123plus-v1.1

I'm only guessing by those two that the controlnet goes here:
huggingface\hub\models--sudo-ai--controlnet-zp11-depth-v1
pulled from https://huggingface.co/sudo-ai/controlnet-zp11-depth-v1

The pipeline file that's in hub\models--sudo-ai--zero123plus-pipeline is also cloned as
huggingface\modules\diffusers_modules\local\sudo-ai--zero123plus-pipeline\983e66d28a3637ddd8e3e2fd8165cdff32230872\pipeline.py (regular file, not symlink). Hopefully the long hash is a git revision and nothing pays too much attention to it, otherwise I have no idea where you're supposed to track that down.

Every directory there starting in modules and including the last with pipeline.py has a blank init.py in it... I don't know why it creates two sets of the module but at least the .py file is only 16KB. The model directory is 3.6GB; the controlnet is a 1.46GB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants