"tests/git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "0e14ce2c1dac746831009e757500f77f0db526b5"
Unverified Commit 13e7044a authored by OlivierDehaene's avatar OlivierDehaene Committed by GitHub
Browse files

fix(dockerfile): fix docker build (#32)

parent 5c01e254
...@@ -57,7 +57,7 @@ COPY server/Makefile server/Makefile ...@@ -57,7 +57,7 @@ COPY server/Makefile server/Makefile
RUN cd server && make install-torch RUN cd server && make install-torch
# Install specific version of transformers # Install specific version of transformers
RUN cd server && make install-transformers RUN cd server && BUILD_EXTENSIONS="True" make install-transformers
# Install server # Install server
COPY proto proto COPY proto proto
......
...@@ -19,7 +19,7 @@ install-transformers: ...@@ -19,7 +19,7 @@ install-transformers:
install-torch: install-torch:
# Install specific version of torch # Install specific version of torch
pip install torch --extra-index-url https://download.pytorch.org/whl/cu116 --no-cache-dir pip install torch --extra-index-url https://download.pytorch.org/whl/cu118 --no-cache-dir
install: gen-server install-torch install-transformers install: gen-server install-torch install-transformers
pip install pip --upgrade pip install pip --upgrade
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment