A simple download tool for using pipeline in comfyUI
2024-08-03 Update--Added magic support, as long as the model can be found, the speed can be reached. Installation method, pip install modelscope
--Previous updates have added the content of versions 0.23.0 and above. This version no longer requires the local_dir_use_symlinks attribute, and also supports downloading of LLM models.
The model download node of the pipeline is convenient and quick to use. It is mainly used to quickly try new models. After all, it takes time for others to make plug-ins.
Because it mainly serves mainland players, English is not used. This node is mainly used to facilitate downloading the face-hugging model. In fact, those who know the code basically do not need it.
But when I found that I tested enough models with the pipeline, my C drive was about to burst. I regretted not resetting the cache area, so I made the embarrassing download library into a comfy node.
When local_dir is empty, symlinks is enabled by default.
The plug-in has built-in mirror sites directly, so all mirror sites can be downloaded. If you need a token, please use the cli method and add --token "the token you applied for" at the end of the command line.
The format of repo_id is xxxxx/xxxxx. If you fill it in incorrectly, it will not be used.
It is recommended to use the new cli method without having to open comfyUI and download it every time. For detailed usage, see the content of cli_example (example of download command without opening comfyUI).txt.
Just fill in the repo_id and download all the files of the model to the models/diffuses file directory of comfyUI with one click.
This method is similar to downloading directly from Baofian. The advantage is that the file structure is sorted for you.
Note————Because some model library files are very numerous and very large, it is recommended to select the big_files mode in ignore_patterns, first download only small files and structures, and then use "Usage 2" to download the corresponding files.
Note——ignore_patterns does not download those files, so you have to choose according to your own needs. The default is none, which means all are downloaded.
Note————When using “Usage 1”, get_single_model must be empty before it can be used.
The calling method is to fill in the absolute path of the modified model.
To download a single file, you only need to fill in the repo_id and fill in the model name you need in get_single_model, and you can download it. The output text is the model address.