Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
Remove TMPDIR
Browse files Browse the repository at this point in the history
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
  • Loading branch information
chenhunghan committed Dec 15, 2023
1 parent db0a5fa commit 0883630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.gptq
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ ENV PATH="/root/.cargo/bin:${PATH}"
COPY requirements.txt requirements.txt
# Fixes No such file or directory: 'maturin'
RUN pip3 install maturin
RUN TMPDIR=/home/user/tmp/ pip3 install -r requirements.txt
RUN pip3 install -r requirements.txt
# Fixes exllama/cuda_ext.py:82: UserWarning: Failed to initialize NumPy: No module named 'numpy'
RUN TMPDIR=/home/user/tmp/ pip3 install numpy
RUN pip3 install numpy
# https://github.com/marella/ctransformers#gptq
RUN pip3 install ctransformers[gptq]
COPY . .
Expand Down

0 comments on commit 0883630

Please sign in to comment.