Skip to content

Commit 995fe03

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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.devops/full.Dockerfile

+3-2
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

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