mirror of
https://github.com/lkwq007/stablediffusion-infinity.git
synced 2025-01-08 11:57:27 +08:00
fix: deprecated commands
This commit is contained in:
parent
f136c0d151
commit
4826d63e7e
@ -13,13 +13,13 @@ if ! docker-compose version | grep v2 ; then
|
||||
fi
|
||||
|
||||
|
||||
if ! docker run -it --gpus=all --rm nvidia/cuda:11.4.2-base-ubuntu20.04 nvidia-smi | egrep -e 'NVIDIA.*On' ; then
|
||||
if ! docker run -it --gpus=all --rm nvidia/cuda:11.4.2-base-ubuntu20.04 nvidia-smi | grep -e 'NVIDIA.*On' ; then
|
||||
echo "Docker could not find your NVIDIA gpu"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! docker-compose build ; then
|
||||
if ! docker compose build ; then
|
||||
echo "Error while building"
|
||||
exit 1
|
||||
fi
|
||||
docker-compose up
|
||||
docker compose up
|
Loading…
Reference in New Issue
Block a user