Skip to content

Commit a32f7ac

Browse files
authored
py : cleanup dependencies (#962)
after #545 we do not need torch, tqdm and requests in the dependencies
1 parent 43ffdef commit a32f7ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.devops/full.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM ubuntu:$UBUNTU_VERSION as build
55
RUN apt-get update && \
66
apt-get install -y build-essential python3 python3-pip
77

8+
COPY requirements.txt requirements.txt
9+
810
RUN pip install --upgrade pip setuptools wheel \
9-
&& pip install numpy requests sentencepiece tqdm \
10-
&& pip install torch --index-url https://download.pytorch.org/whl/cpu
11+
&& pip install -r requirements.txt
1112

1213
WORKDIR /app
1314

flake.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
inherit system;
1111
};
1212
llama-python = pkgs.python310.withPackages (ps: with ps; [
13-
torch
1413
numpy
1514
sentencepiece
1615
]);

0 commit comments

Comments
 (0)