-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0291e9
commit 11c53e3
Showing
7 changed files
with
3,249 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# What is this: USC ISI Coral team's MT pipeline | ||
# Authors: | ||
# - Thamme Gowda | ||
# Created : Oct 20, 2020 | ||
|
||
#FROM nvidia/cuda:10.2-devel-ubuntu18.04 | ||
#FROM nvidia/cuda:11.1-devel-ubuntu20.04 | ||
FROM nvidia/cuda:11.4.0-runtime-ubuntu20.04 | ||
|
||
# suppress prompts https://stackoverflow.com/a/67452950/1506477 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
RUN apt update \ | ||
&& apt install -y curl python3.9 python3-pip python3.9-dev \ | ||
build-essential git locales locales-all \ | ||
&& apt-get autoremove --purge | ||
|
||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US.UTF-8 | ||
|
||
# Update pip | ||
RUN ln -s /usr/bin/python3.9 /usr/bin/python && python -m pip install --upgrade pip | ||
|
||
#Make non-root user; | ||
RUN useradd --create-home rtguser | ||
#RUN chown -Rv rtguser:rtguser /home/rtguser | ||
|
||
WORKDIR /home/rtguser | ||
USER rtguser | ||
|
||
# pip installed bins go here, they needs to be in PATH | ||
RUN mkdir -p /home/rtguser/.local/bin /home/rtguser/rtg | ||
ENV CUDA_HOME="/usr/local/cuda/" | ||
ENV PATH="/home/rtguser/.local/bin:/usr/local/cuda/bin:${PATH}" | ||
|
||
#COPY --chown=rtguser:rtguser . /home/rtguser/rtg/ | ||
# && cd /home/rtguser/rtg && pip install --editable . \ | ||
|
||
RUN pip install --user torch==1.10 flask==1.1.2 uwsgi rtg==0.7 \ | ||
&& pip cache purge | ||
|
||
CMD bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.6.1/index.html | ||
v0.7/index.html |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters