首页 > 其他分享 >comfyUI相关

comfyUI相关

时间:2024-02-29 15:26:49浏览次数:22  
标签:cli -- comfyUI huggingface download 相关 local dir

 

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)

标签:cli,--,comfyUI,huggingface,download,相关,local,dir
From: https://www.cnblogs.com/zyip/p/18043083

相关文章

  • 分析一个steam假入库行为,附带相关恶意样本
    0x00、前言朋友发来一个图片,说自己买了某宝上steam激活sdk,结果客服发过来一个教程让他下载游戏,想问问我有没有问题。0x01、看了图片后立刻来了兴趣。命令很简单,先是IRM远程访问,然后IEX执行。手动访问了一下cdk.yesilovemyhome.com,发现跳转steam官方商城了https://store.steam......
  • 高通Android平台上,与regulator相关的几个概念和属性解释
    bypass_count      用于记录硬件是否绕过了电压调节器直接从电池或其他电源获取电力。consumers: 消费者指的是依赖于某个regulator提供电源的硬件模块或驱动程序。每一个使用regulator来调节电压的设备都是一个消费者。enable:指对regulator......
  • jekyll安装相关,ruby rvm安装记录
    一、安装#安装jekllyhttps://dandelioncloud.cn/article/details/1524755285050953730/配置、添加源:gemsources--addhttps://gems.ruby-china.com/--removehttps://rubygems.org/gemsources-lgemsources-u安装jeklly,安装命令:(sudo命令无)geminstalljekyllbundl......
  • KGDB相关调试方式及设置
    KGDB内核配置选项:打开:CONFIG_KGDBCONFIG_DEBUG_INFOCONFIG_FRAME_POINTER关闭:CONFIG_STRICT_KERNEL_RWX#CONFIG_STRICT_KERNEL_RWXisnotsetCONFIG_FRAME_POINTER=yCONFIG_KGDB=yCONFIG_KGDB_SERIAL_CONSOLE=y 目标机命令行参数: linux/vmlinuz-6.7.......
  • 分块相关题目
    题单。UPD:题单里的题\(n=m\)。数列分块入门一看到区间修改\(+\)单点查询,考虑差分。考虑分块维护差分数组。对于修改操作,就对\(l\)位置\(+k\),\(r+1\)位置\(-k\);对于查询操作,查询\([1,x]\)的和即可。时间复杂度\(O(m\sqrt{n})\),可以通过。代码。数列分块入门二如......
  • GitHub上整理的一些工具(Web 前端相关)
    Web服务器性能/压力测试工具/负载均衡器http_load:程序非常小,解压后也不到100Kwebbench:是Linux下的一个网站压力测试工具,最多可以模拟3万个并发连接去测试网站的负载能力ab:ab是apache自带的一款功能强大的测试工具Siege:一款开源的压力测试工具,可以根据配置对一个WEB......
  • USB协议相关
    1.包(Packet)       包(Packet)是USB系统中信息传输的基本单元,所有数据都是经过打包后在总线上传输的。数据在USB总线上的传输以包为单位,包只能在帧内传输。2.帧(Frame)     高速USB总线的帧周期为125us,全速以及低速USB总线的帧周期为1ms。帧的起始由一......
  • 大数据相关术语-cdc
    CDC数据领域中的CDC是变更数据捕获(ChangeDataCapture)的缩写。它是一种用于捕获数据库中数据变更的技术。CDC可以用于各种目的,例如:数据同步:将数据从一个数据库同步到另一个数据库。数据仓库:将数据从数据库加载到数据仓库。实时分析:捕获数据库中的实时变更并进行分析。......
  • .NET GUI 相关页面跳转方案
    1.NavigationView是UWP,及现在winui流行的主窗口导航方式。创建一个NavigationView,在里面放置Frame作为右侧主要的展示窗口。在CodeBehind中实现NavView的ItemInvoked事件。根据参数InvokedItem(每一个Item的Content名称),或者每一Item的Tag来确定跳转。(还需处理重复跳转......
  • 决策单调性相关
    1.四边形不等式1.1小标题该怎么起阿考虑一个形式如下的DP:\[f_{i}=\min_{j=1}^{i}val(j,i)\]其中\(i\)满足\(1\leqi\leqn\)。设\(f_{i}\)的最优决策点为\(oper_{i}\)。1.2一些概念决策单调性:指满足\(\symbfit{oper_1\leqoper_2\leq\dots\leqoper_......