runpod-workers / worker-a1111

Automatic1111 serverless worker.
MIT License
77 stars 114 forks source link

RUN export COMMANDLINE_ARGS does not have effect #27

Open albicasty opened 1 year ago

albicasty commented 1 year ago

RUN export COMMANDLINE_ARGS="--skip-torch-cuda-test --precision full --no-half"

does not have effect in my local build. Without exporting such variable, the caching step has a few failure.

Changing it with "ARG COMMANDLINE_ARGS" does not make that step to fail.

The caching step is RUN cd /stable-diffusion-webui && python cache.py --use-cpu=all --ckpt /model.safetensors .

I am a docker beginner, so I don't know if this is wanted or unwanted.