Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
13e7044a
"tests/git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "0e14ce2c1dac746831009e757500f77f0db526b5"
Unverified
Commit
13e7044a
authored
Jan 24, 2023
by
OlivierDehaene
Committed by
GitHub
Jan 24, 2023
Browse files
fix(dockerfile): fix docker build (#32)
parent
5c01e254
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+1
-1
server/Makefile
server/Makefile
+1
-1
No files found.
Dockerfile
View file @
13e7044a
...
@@ -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
...
...
server/Makefile
View file @
13e7044a
...
@@ -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/cu11
6
--no-cache-dir
pip
install
torch
--extra-index-url
https://download.pytorch.org/whl/cu11
8
--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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment