Spaces:
Runtime error
Runtime error
gfjiogopdfgdfs
commited on
Commit
•
27dce7b
1
Parent(s):
e5222d3
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -24,8 +24,9 @@ RUN python3 -m pip install aphrodite-engine
|
|
24 |
# Clone the specific branch of aphrodite-engine
|
25 |
RUN git clone --branch feat/exllamav2 https://github.com/PygmalionAI/aphrodite-engine.git $HOME/aphrodite-engine
|
26 |
|
27 |
-
#
|
28 |
-
RUN
|
|
|
29 |
|
30 |
RUN pip install huggingface-hub hf-transfer
|
31 |
|
|
|
24 |
# Clone the specific branch of aphrodite-engine
|
25 |
RUN git clone --branch feat/exllamav2 https://github.com/PygmalionAI/aphrodite-engine.git $HOME/aphrodite-engine
|
26 |
|
27 |
+
# Use Python to find the installation directory of aphrodite-engine and copy the files over
|
28 |
+
RUN python3 -c "import os, aphrodite; print(os.path.dirname(aphrodite.__file__))" > aphrodite_path.txt
|
29 |
+
RUN APHRODITE_PATH=$(cat aphrodite_path.txt) && cp -r /home/user/aphrodite-engine/* $APHRODITE_PATH
|
30 |
|
31 |
RUN pip install huggingface-hub hf-transfer
|
32 |
|