Spaces:
Runtime error
Runtime error
leoxing1996
commited on
Commit
·
a519645
1
Parent(s):
fec53c5
disable trt
Browse files- Dockerfile +1 -1
- demo/start.sh +1 -1
Dockerfile
CHANGED
@@ -50,7 +50,7 @@ ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
|
|
50 |
RUN pip3 install --no-cache-dir --upgrade --pre -r /code/requirements.txt
|
51 |
RUN pip3 install torch torchvision xformers --index-url https://download.pytorch.org/whl/cu121
|
52 |
RUN git submodule update --init --recursive
|
53 |
-
RUN pip3 install -e .
|
54 |
|
55 |
# download models`
|
56 |
RUN mkdir models
|
|
|
50 |
RUN pip3 install --no-cache-dir --upgrade --pre -r /code/requirements.txt
|
51 |
RUN pip3 install torch torchvision xformers --index-url https://download.pytorch.org/whl/cu121
|
52 |
RUN git submodule update --init --recursive
|
53 |
+
RUN pip3 install -e .
|
54 |
|
55 |
# download models`
|
56 |
RUN mkdir models
|
demo/start.sh
CHANGED
@@ -8,4 +8,4 @@ else
|
|
8 |
echo -e "\033[1;31m\nfrontend build failed\n\033[0m" >&2 exit 1
|
9 |
fi
|
10 |
cd ../
|
11 |
-
python3 main.py --port 7860 --host 0.0.0.0 --engine-dir ../engines --acceleration
|
|
|
8 |
echo -e "\033[1;31m\nfrontend build failed\n\033[0m" >&2 exit 1
|
9 |
fi
|
10 |
cd ../
|
11 |
+
python3 main.py --port 7860 --host 0.0.0.0 --engine-dir ../engines --acceleration none
|