Live demo of https://github.com/siliconflow/onediff
mix setup
to install and setup dependenciesmix phx.server
or inside IEx with iex -S mix phx.server
Now you can visit localhost:4000
from your browser.
ps aux | grep $USER | grep python | grep runner
LIVE_XL_CUDA_DEVICES
: similar to CUDA_VISIBLE_DEVICESLIVE_XL_LIGHTNING_ARGS
: arguments to run lightning scriptlive_xl
directorySDXL-Lightning
and stable-diffusion-xl-base-1.0
are in the same directory as live_xl
(optional, if you want to configure the path, you can set --base
and --repo
in LIVE_XL_LIGHTNING_ARGS
)live_xl/bin/docker_server