Skip to content

Commit

Permalink
py : cleanup dependencies
Browse files Browse the repository at this point in the history
after #545 we do not need torch, tqdm and requests in the dependencies
  • Loading branch information
prusnak committed Apr 14, 2023
1 parent 723dac5 commit 3340252
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .devops/full.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
inherit system;
};
llama-python = pkgs.python310.withPackages (ps: with ps; [
torch
numpy
sentencepiece
]);
Expand Down

0 comments on commit 3340252

Please sign in to comment.