Skip to content

Commit 3340252

Browse files
committed
py : cleanup dependencies
after #545 we do not need torch, tqdm and requests in the dependencies
1 parent 723dac5 commit 3340252

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.devops/full.Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ RUN apt-get update && \
66
apt-get install -y build-essential python3 python3-pip
77

88
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
9+
&& pip install numpy sentencepiece
1110

1211
WORKDIR /app
1312

flake.nix

-1
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)