stable-diffusion-aws-extension/build_scripts/inference/serve

6 lines
197 B
Plaintext
Executable File

import os
cmd = "accelerate launch --num_cpu_threads_per_process=6 launch.py --api --listen --port 8080 --xformers --no-half-vae --skip-prepare-environment --no-download-sd-model"
os.system(cmd)