mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-01-26 09:09:50 +00:00
* Merging mainline - WIP * Merging mainline - WIP AVX2 and CUDA appear to work. CUDA performance seems slightly (~1-2%) lower as it is so often the case with llama.cpp/ggml after some "improvements" have been made. * Merging mainline - fix Metal * Remove check --------- Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
26 lines
470 B
Docker
26 lines
470 B
Docker
ARG UBUNTU_VERSION=22.04
|
|
|
|
FROM ubuntu:$UBUNTU_VERSION AS build
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y build-essential python3 python3-pip git libcurl4-openssl-dev libgomp1
|
|
|
|
COPY requirements.txt requirements.txt
|
|
COPY requirements requirements
|
|
|
|
RUN pip install --upgrade pip setuptools wheel \
|
|
&& pip install -r requirements.txt
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
ENV LLAMA_CURL=1
|
|
|
|
|
|
RUN make -j$(nproc)
|
|
|
|
ENV LC_ALL=C.utf8
|
|
|
|
ENTRYPOINT ["/app/.devops/tools.sh"]
|