From 33402529237823a8519652ed43b57b45f4f24f43 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Fri, 14 Apr 2023 10:35:00 +0200 Subject: [PATCH] py : cleanup dependencies after #545 we do not need torch, tqdm and requests in the dependencies --- .devops/full.Dockerfile | 3 +-- flake.nix | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.devops/full.Dockerfile b/.devops/full.Dockerfile index a75bc976f54c0f..2be152f85b6835 100644 --- a/.devops/full.Dockerfile +++ b/.devops/full.Dockerfile @@ -6,8 +6,7 @@ RUN apt-get update && \ apt-get install -y build-essential python3 python3-pip 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 numpy sentencepiece WORKDIR /app diff --git a/flake.nix b/flake.nix index 91d2edd79fb5c5..5363052b1058aa 100644 --- a/flake.nix +++ b/flake.nix @@ -10,7 +10,6 @@ inherit system; }; llama-python = pkgs.python310.withPackages (ps: with ps; [ - torch numpy sentencepiece ]);