部署sd时遇到443问题

modules/launch_utils.py

$Env:HF_ENDPOINT="https://hf-mirror.com"
$Env:ASSETS_REPO="https://gh.llkk.cc/https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets.git"
$Env:STABLE_DIFFUSION_REPO="https://gh.llkk.cc/https://github.com/Stability-AI/stablediffusion.git"
$Env:STABLE_DIFFUSION_XL_REPO="https://gh.llkk.cc/https://github.com/Stability-AI/generative-models.git"
$Env:K_DIFFUSION_REPO="https://gh.llkk.cc/https://github.com/crowsonkb/k-diffusion.git"
$Env:BLIP_REPO="https://gh.llkk.cc/https://github.com/salesforce/BLIP.git"

如下的写法其实是错误的X

git clone -c http.proxy="https://gh.llkk.cc" --recursive

也可以用 $ENV:COMMANDLINE_ARGS=""

cd C:/w1/stable-diffusion-webui; .venv/Scripts/activate; python launch.py --xformers --medvram --theme=dark --listen --port=80 --no-gradio-queue --models-dir C:/w1/ai/models/stable-diffusion-webui

解决xforms版本与CUDA不一致问题!

pip install -U xformers torch==2.5.1 --index-url https://download.pytorch.org/whl/cu124
posted @ 2025-02-14 23:35  肚肚1990  阅读(66)  评论(0)    收藏  举报