Spaces:
Paused
Paused
up23
Browse files- Dockerfile +4 -1
- requirements.txt +4 -5
Dockerfile
CHANGED
@@ -9,7 +9,10 @@ WORKDIR /app
|
|
9 |
|
10 |
COPY --chown=user . /app
|
11 |
|
12 |
-
RUN pip install --no-cache-dir
|
|
|
|
|
|
|
13 |
|
14 |
#CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", , "--ws", "auto", "--allow-websocket-origin", "*"]
|
15 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
9 |
|
10 |
COPY --chown=user . /app
|
11 |
|
12 |
+
RUN pip install --no-cache-dir torch==2.2.2
|
13 |
+
RUN pip install --no-cache-dir flash-attn
|
14 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
+
RUN CMAKE_ARGS="-DGGML_CUDA=on" pip install outetts --upgrade
|
16 |
|
17 |
#CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", , "--ws", "auto", "--allow-websocket-origin", "*"]
|
18 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
-
|
|
|
|
|
2 |
fastapi==0.111.0
|
3 |
transformers==4.48.3
|
4 |
-
websockets==15.0.1
|
5 |
-
outetts>=0.4
|
6 |
-
torch==2.2.2
|
7 |
-
flash-attn
|
|
|
1 |
+
torch==2.2.2
|
2 |
+
flash-attn
|
3 |
+
uvicorn==0.30.1
|
4 |
fastapi==0.111.0
|
5 |
transformers==4.48.3
|
6 |
+
websockets==15.0.1
|
|
|
|
|
|