Spaces:
Sleeping
Sleeping
Dockerfiles adapt to set default model on loading
Browse files- docker/amd/Dockerfile +1 -1
- docker/cpu/Dockerfile +1 -1
- docker/intel/Dockerfile +1 -1
- docker/nvidia/Dockerfile +1 -1
docker/amd/Dockerfile
CHANGED
@@ -18,4 +18,4 @@ COPY CMD_FLAGS.txt /home/app/text-generation-webui/
|
|
18 |
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
|
19 |
WORKDIR /home/app/text-generation-webui
|
20 |
# set umask to ensure group read / write at runtime
|
21 |
-
CMD umask 0002 && export HOME=/home/app/text-generation-webui && ./start_linux.sh
|
|
|
18 |
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
|
19 |
WORKDIR /home/app/text-generation-webui
|
20 |
# set umask to ensure group read / write at runtime
|
21 |
+
CMD umask 0002 && export HOME=/home/app/text-generation-webui && ./start_linux.sh --model /home/user/app/models/My-LLamandement-fine-tuned --loader Transformers --verbose
|
docker/cpu/Dockerfile
CHANGED
@@ -22,4 +22,4 @@ COPY CMD_FLAGS.txt /home/app/text-generation-webui/
|
|
22 |
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
|
23 |
# set umask to ensure group read / write at runtime
|
24 |
WORKDIR /home/app/text-generation-webui
|
25 |
-
CMD umask 0002 && export HOME=/home/app/text-generation-webui && ./start_linux.sh
|
|
|
22 |
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
|
23 |
# set umask to ensure group read / write at runtime
|
24 |
WORKDIR /home/app/text-generation-webui
|
25 |
+
CMD umask 0002 && export HOME=/home/app/text-generation-webui && ./start_linux.sh --model /home/user/app/models/My-LLamandement-fine-tuned --loader Transformers --verbose
|
docker/intel/Dockerfile
CHANGED
@@ -18,4 +18,4 @@ COPY CMD_FLAGS.txt /home/app/text-generation-webui/
|
|
18 |
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
|
19 |
# set umask to ensure group read / write at runtime
|
20 |
WORKDIR /home/app/text-generation-webui
|
21 |
-
CMD umask 0002 && export HOME=/home/app/text-generation-webui && ./start_linux.sh
|
|
|
18 |
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
|
19 |
# set umask to ensure group read / write at runtime
|
20 |
WORKDIR /home/app/text-generation-webui
|
21 |
+
CMD umask 0002 && export HOME=/home/app/text-generation-webui && ./start_linux.sh --model /home/user/app/models/My-LLamandement-fine-tuned --loader Transformers --verbose
|
docker/nvidia/Dockerfile
CHANGED
@@ -18,4 +18,4 @@ COPY CMD_FLAGS.txt /home/app/text-generation-webui/
|
|
18 |
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
|
19 |
WORKDIR /home/app/text-generation-webui
|
20 |
# set umask to ensure group read / write at runtime
|
21 |
-
CMD umask 0002 && export HOME=/home/app/text-generation-webui && ./start_linux.sh --listen
|
|
|
18 |
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
|
19 |
WORKDIR /home/app/text-generation-webui
|
20 |
# set umask to ensure group read / write at runtime
|
21 |
+
CMD umask 0002 && export HOME=/home/app/text-generation-webui && ./start_linux.sh --listen --model /home/user/app/models/My-LLamandement-fine-tuned --loader Transformers --verbose
|