File tree Expand file tree Collapse file tree 5 files changed +6
-24
lines changed Expand file tree Collapse file tree 5 files changed +6
-24
lines changed Original file line number Diff line number Diff line change @@ -146,14 +146,14 @@ The `requirements*.txt` above contain various wheels precompiled through GitHub
146
146
For NVIDIA GPU:
147
147
ln -s docker/{nvidia/Dockerfile,nvidia/docker-compose.yml,.dockerignore} .
148
148
For AMD GPU:
149
- ln -s docker/{amd/Dockerfile,intel /docker-compose.yml,.dockerignore} .
149
+ ln -s docker/{amd/Dockerfile,amd /docker-compose.yml,.dockerignore} .
150
150
For Intel GPU:
151
151
ln -s docker/{intel/Dockerfile,amd/docker-compose.yml,.dockerignore} .
152
152
For CPU only
153
153
ln -s docker/{cpu/Dockerfile,cpu/docker-compose.yml,.dockerignore} .
154
154
cp docker/.env.example .env
155
155
#Create logs/cache dir :
156
- mkdir -p logs cache
156
+ mkdir -p user_data/ logs user_data/ cache
157
157
# Edit .env and set:
158
158
# TORCH_CUDA_ARCH_LIST based on your GPU model
159
159
# APP_RUNTIME_GID your host user's group id (run `id -g` in a terminal)
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ WORKDIR /home/app/
14
14
RUN git clone https://github.com/oobabooga/text-generation-webui.git
15
15
WORKDIR /home/app/text-generation-webui
16
16
RUN GPU_CHOICE=B LAUNCH_AFTER_INSTALL=FALSE INSTALL_EXTENSIONS=TRUE ./start_linux.sh --verbose
17
- COPY CMD_FLAGS.txt /home/app/text-generation-webui/
17
+ COPY /user_data/ CMD_FLAGS.txt /home/app/text-generation-webui/user_data
18
18
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
19
19
WORKDIR /home/app/text-generation-webui
20
20
# set umask to ensure group read / write at runtime
Original file line number Diff line number Diff line change @@ -41,14 +41,4 @@ services:
41
41
security_opt :
42
42
- seccomp=unconfined
43
43
volumes :
44
- - ./cache:/home/app/text-generation-webui/cache
45
- - ./characters:/home/app/text-generation-webui/characters
46
- - ./extensions:/home/app/text-generation-webui/extensions
47
- - ./loras:/home/app/text-generation-webui/loras
48
- - ./logs:/home/app/text-generation-webui/logs
49
- - ./models:/home/app/text-generation-webui/models
50
- - ./presets:/home/app/text-generation-webui/presets
51
- - ./prompts:/home/app/text-generation-webui/prompts
52
- - ./softprompts:/home/app/text-generation-webui/softprompts
53
- - ./training:/home/app/text-generation-webui/training
54
- - ./cloudflared:/etc/cloudflared
44
+ - ./user_data:/home/app/text-generation-webui/user_data
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ WORKDIR /home/app/
14
14
RUN git clone https://github.com/oobabooga/text-generation-webui.git
15
15
WORKDIR /home/app/text-generation-webui
16
16
RUN GPU_CHOICE=D LAUNCH_AFTER_INSTALL=FALSE INSTALL_EXTENSIONS=TRUE ./start_linux.sh --verbose
17
- COPY CMD_FLAGS.txt /home/app/text-generation-webui/
17
+ COPY /user_data/ CMD_FLAGS.txt /home/app/text-generation-webui/user_data
18
18
EXPOSE ${CONTAINER_PORT:-7860} ${CONTAINER_API_PORT:-5000} ${CONTAINER_API_STREAM_PORT:-5005}
19
19
# set umask to ensure group read / write at runtime
20
20
WORKDIR /home/app/text-generation-webui
Original file line number Diff line number Diff line change @@ -41,12 +41,4 @@ services:
41
41
security_opt :
42
42
- seccomp=unconfined
43
43
volumes :
44
- - ./characters:/home/app/text-generation-webui/characters
45
- - ./extensions:/home/app/text-generation-webui/extensions
46
- - ./loras:/home/app/text-generation-webui/loras
47
- - ./models:/home/app/text-generation-webui/models
48
- - ./presets:/home/app/text-generation-webui/presets
49
- - ./prompts:/home/app/text-generation-webui/prompts
50
- - ./softprompts:/home/app/text-generation-webui/softprompts
51
- - ./training:/home/app/text-generation-webui/training
52
- - ./cloudflared:/etc/cloudflared
44
+ - ./user_data:/home/app/text-generation-webui/user_data
You can’t perform that action at this time.
0 commit comments