py : cleanup dependencies

after #545 we do not need torch, tqdm and requests in the dependencies
This commit is contained in:
Pavol Rusnak 2023-04-14 10:35:00 +02:00
parent 723dac55fa
commit 995fe0303e
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
2 changed files with 3 additions and 3 deletions

View file

@ -5,9 +5,10 @@ FROM ubuntu:$UBUNTU_VERSION as build
RUN apt-get update && \
apt-get install -y build-essential python3 python3-pip
COPY requirements.txt requirements.txt
RUN pip install --upgrade pip setuptools wheel \
&& pip install numpy requests sentencepiece tqdm \
&& pip install torch --index-url https://download.pytorch.org/whl/cpu
&& pip install -r requirements.txt
WORKDIR /app

View file

@ -10,7 +10,6 @@
inherit system;
};
llama-python = pkgs.python310.withPackages (ps: with ps; [
torch
numpy
sentencepiece
]);