Skip to content

Commit

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

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 a32f7ac

Please sign in to comment.