← 글 모음

WSL2 with Ubuntu-24.04

in Ubuntu

conda create -y -n py3.10 python=3.10
conda activate py3.10
( conda remove --name py3.10 --all )

# Stable Diffusion web UI 
# https://github.com/AUTOMATIC1111/stable-diffusion-webui
cd ~/ai/apps/stable-diffusion-webui
NO_VENV=1 PYTHON="$(which python)" ./webui.sh --xformers --listen --api --port 7860

# ComfyUI
# https://github.com/comfyanonymous/ComfyUI
cd ~/ai/apps/ComfyUI
python main.py --listen 0.0.0.0 --port 8188

model 같이 쓰기 (model 폴더로 alias 이미 했다는 가정)

rm -f checkpoints vae loras upscale_models controlnet vae_approx
ln -s Stable-diffusion checkpoints
ln -s VAE              vae
ln -s Lora             loras
ln -s ESRGAN           upscale_models
ln -s ControlNet       controlnet
ln -s VAE-approx       vae_approx

# 3) 점검
find ~/ai/models -xtype l -print

마지막 수정