bash /workspace/assets/start_ComfyUI.sh
bash /workspace/assets/git_push.sh
bash /workspace/assets/update_ComfyUI.sh
bash /workspace/assets/restore_git_dirs.sh
bash /workspace/assets/backup_git_dirs.sh
pip install -r requirements.txt
kill 1
source /workspace/venv312/bin/activate
deactivate
watch -n 1 nvidia-smi
ln -s /workspace/ComfyUI/models/prompt_generator/Qwen3-VL-8B-Instruct /workspace/ComfyUI/models/LLM/Qwen-VL
ln -s /workspace/工作流 /workspace/ComfyUI/user/default/workflows
ln -s /workspace/输入 /workspace/ComfyUI/input
bash /workspace/assets/container_environment_query.sh
bash /workspace/assets/update_workflow_index.sh
git gc --prune=now --aggressive
修改:.cnb.yml文件第10行:
H20卡:
tags: cnb:arch:amd64:gpu:H20
python fix_sam2_import.py
du -h --max-depth=1
sha256sum 文件名
watch -n 1 nvidia-smi
find /workspace -type f -name ".gitignore"
bash /workspace/assets/Repair.sh
⚠️ 如何同步此 Fork 仓库 本仓库采用“快照”模式进行版本控制,常规的 git pull 命令将无法工作。如果您 Fork 了本仓库并希望从主仓库更新,请遵循以下步骤:
设置主仓库为您的 upstream 远程(只需做一次):
git remote add upstream https://cnb.cool/zhan_zhi/ComfyUI_XD-01.git 同步更新的步骤:a. 备份您自己的修改! 此过程有风险,请务必将您未提交的或重要的修改复制到别处。
b. 获取主仓库的最新“快照”:
git fetch upstream c. 强制将您的本地 main 分支重置为最新的“快照”: # 警告:此命令会丢弃您在本地 main 分支上所有的提交! git reset --hard upstream/main d. 重新应用您的修改:将您之前备份的修改文件复制回来,或者使用 git cherry-pick 等工具将您在其他分支上的提交逐个应用到新的 main 分支上。e. 强制推送到您自己的 Fork 仓库:
# 因为您重写了本地历史,所以也需要强制推送到您自己的远程 Fork git push --force origin main以下工作流已经跑通,只修根据自己的需要修改参数即可运行,都为自用工作流,效果都经测试后选择好的留下
┃ 操作系统 Ubuntu 24.04.1 LTS Python 版本 Python 3.12.12 pytorch 版本 2.8.0+cu128 xformers 版本 0.0.31 Sageattention 2.2 torchvision 0.23.0+cu128 triton 3.4.0 sageattention 2.2.0