YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
下载代理客户端(有道笔记:资料->v2ray服务器客户端获取)
- https://github.com/v2fly/fhs-install-v2ray/blob/master/install-release.sh
- https://github.com/v2fly/v2ray-core/releases/download/v5.15.3/v2ray-linux-64.zip
权限:
chmod +o ./install-release.sh
安装:
./install-release.sh -l v2ray-linux-64.zip
启动代理(后台):
v2ray run --config v2-au-cf.json >> v2.out 2>&1 &
使用代理
export http_proxy=http://127.0.0.1:10809 && export https_proxy=http://127.0.0.1:10809
export no_proxy="127.0.0.1,localhost,::1,pypi.tuna.tsinghua.edu.cn"
【内存优化(二选一)】
apt install google-perftools 或者apt install libgoogle-perftools-dev => 对应/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
apt install libtcmalloc-minimal4 => 对应/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
【v1.6.0内存泄漏修复分支】
git remote add leak https://github.com/kingljl/stable-diffusion-webui.git
git fetch leak
git merge leak/kingljl-patch-memory-leak
取消合并执行:git merge --abort
【运行webui】
cd /root/workspace/webui
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
bash webui.sh -f --api --server-name=0.0.0.0 --port=7007 --lora-dir=/root/shared-nvme/v15lora --no-half-vae --ckpt-dir=/root/shared-nvme/15model --opt-sdp-attention --xformers --medvram --disable-nan-check --no-download-sd-model --controlnet-dir=/root/shared-nvme/v15controlNetModel --skip-version-check --skip-python-version-check --skip-torch-cuda-test --skip-install
【win+linux 稳定验证版本webui】commit hash:
commit c2bdbb67b66de06f1163de3f10c290213cd6bdb0 (HEAD)
Merge: 4d563830 f92d6149
Author: fuchen.ljl <yjqqqqdx_01@163.com>
Date: Wed Dec 6 20:42:04 2023 +0800
Merge branch 'dev' into kingljl-patch-memory-leak
【sd-webui-controlnet 稳定验证版本】
commit 681de2c4f0298001195b1133aab9d0d429102148 (HEAD -> main, origin/main, origin/HEAD)
Author: Chenlei Hu <chenlei.hu@mail.utoronto.ca>
Date: Sat May 18 22:48:29 2024 -0400
Fix PuLID VRAM leak (#2902)
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
🙋
Ask for provider support