Skip to content

Commit

Permalink
Merge pull request #9 from SkywardAI/release/new
Browse files Browse the repository at this point in the history
Split ML libs from Kirin
  • Loading branch information
Aisuko authored Apr 1, 2024
2 parents 2af312b + 53921a6 commit d121c6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ ENV PYTHONDONTWRITEBYTECODE 1
# the stdout and stderr streams are sent straight to terminal (e.g. your container log) without being first buffered and that you can see the output of your application (e.g. django logs) in real tim
ENV PYTHONUNBUFFERED 1

# Insalling ML dependencies inside requirements.txt
COPY requirements.txt /tmp/pip-tmp/
RUN pip --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt \
&& rm -rf /tmp/pip-tmp


RUN pip --disable-pip-version-check --no-cache-dir install -r https://raw.githubusercontent.com/SkywardAI/chat-backend/main/backend/requirements.txt
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
torch == 2.2.2
transformers == 4.39.2
sentencepiece == 0.2.0

0 comments on commit d121c6f

Please sign in to comment.