We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 723dac5 commit 995fe03Copy full SHA for 995fe03
.devops/full.Dockerfile
@@ -5,9 +5,10 @@ FROM ubuntu:$UBUNTU_VERSION as build
5
RUN apt-get update && \
6
apt-get install -y build-essential python3 python3-pip
7
8
+COPY requirements.txt requirements.txt
9
+
10
RUN pip install --upgrade pip setuptools wheel \
- && pip install numpy requests sentencepiece tqdm \
- && pip install torch --index-url https://download.pytorch.org/whl/cpu
11
+ && pip install -r requirements.txt
12
13
WORKDIR /app
14
flake.nix
@@ -10,7 +10,6 @@
inherit system;
};
llama-python = pkgs.python310.withPackages (ps: with ps; [
- torch
numpy
15
sentencepiece
16
]);
0 commit comments