惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
About on SuperTechFans
G
Google Developers Blog
L
LangChain Blog
aimingoo的专栏
aimingoo的专栏
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
云风的 BLOG
云风的 BLOG
小众软件
小众软件
月光博客
月光博客
Recent Announcements
Recent Announcements
人人都是产品经理
人人都是产品经理
P
Proofpoint News Feed
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
雷峰网
雷峰网
The Cloudflare Blog
博客园_首页
美团技术团队
大猫的无限游戏
大猫的无限游戏
B
Blog
IT之家
IT之家
Jina AI
Jina AI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

博客园 - zyip

超越2028:我们这一代,是末代普通程序员 中国生成式AI民用开荒史:2022–2023 icon资源 python几类安装方法 pyautogui 深入理解 CSS 中的 BFC React17 , CRA项目添加Access-Control-Allow-Origin header wpf mvvm(prism) wpf 打包成单文件 vite 读取router mysql ensp run Python asyncio code in a Jupyter notebook 实现两个socket server 黑苹果 Sublime Text4 4143版本激活 wpf data binding windows命令行批量给文件名加前缀 unable to resolve dependency tree
comfyUI相关
zyip · 2024-02-29 · via 博客园 - zyip

pip install --upgrade pip

pip install huggingface-cli 

git config --global credential.helper store

huggingface-cli login

huggingface-cli download adept/fuyu-8b model-00001-of-00002.safetensors --local-dir .

huggingface-cli download adept/fuyu-8b --cache-dir ./path/to/cache

huggingface-cli download stabilityai/stable-cascade stage_c.safetensors ./

wget -L https://huggingface.co/stabilityai/stable-cascade/resolve/main/stage_b.safetensors?download=true

stabilityai/stable-cascade at main (huggingface.co)

(base) root@VM-0-7-ubuntu:~/ComfyUI/models/vae# huggingface-cli download --help
usage: huggingface-cli <command> [<args>] download [-h] [--repo-type {model,dataset,space}] [--revision REVISION] [--include [INCLUDE ...]] [--exclude [EXCLUDE ...]] [--cache-dir CACHE_DIR]
[--local-dir LOCAL_DIR] [--local-dir-use-symlinks {auto,True,False}] [--force-download] [--resume-download] [--token TOKEN] [--quiet]
repo_id [filenames ...]

positional arguments:
repo_id ID of the repo to download from (e.g. `username/repo-name`).
filenames Files to download (e.g. `config.json`, `data/metadata.jsonl`).

options:
-h, --help show this help message and exit
--repo-type {model,dataset,space}
Type of repo to download from (defaults to 'model').
--revision REVISION An optional Git revision id which can be a branch name, a tag, or a commit hash.
--include [INCLUDE ...]
Glob patterns to match files to download.
--exclude [EXCLUDE ...]
Glob patterns to exclude from files to download.
--cache-dir CACHE_DIR
Path to the directory where to save the downloaded files.
--local-dir LOCAL_DIR
If set, the downloaded file will be placed under this directory either as a symlink (default) or a regular file. Check out
https://huggingface.co/docs/huggingface_hub/guides/download#download-files-to-local-folder for more details.
--local-dir-use-symlinks {auto,True,False}
To be used with `local_dir`. If set to 'auto', the cache directory will be used and the file will be either duplicated or symlinked to the local directory depending on its size. It
set to `True`, a symlink will be created, no matter the file size. If set to `False`, the file will either be duplicated from cache (if already exists) or downloaded from the Hub
and not cached.
--force-download If True, the files will be downloaded even if they are already cached.
--resume-download If True, resume a previously interrupted download.
--token TOKEN A User Access Token generated from https://huggingface.co/settings/tokens
--quiet If True, progress bars are disabled and only the path to the download files is printed.

huggingface-cli download \
--resume-download meta-llama/Llama-2-7b-hf \
--local-dir meta-llama/Llama-2-7b-hf \
--local-dir-use-symlinks False \
--token hf_*****

Comfy Workflows workflows page

ComfyUI Workflows - Developer Community (openart.ai)