Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Use an official CUDA runtime with Ubuntu as a parent image
FROM nvidia/cuda:12.8.1-runtime-ubuntu24.04

# Install system dependencies
# Install system dependencies. python3.12-dev supplies Python.h, which Triton's
# runtime JIT needs to build its cuda_utils extension inside the container. The
# venv resolves its include path to /usr/include/python3.12, so the headers have
# to come from the system python, not from the venv.
# See: https://github.com/theroyallab/tabbyAPI/issues/453
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
curl \
ca-certificates \
python3.12 \
python3.12-dev \
python3-pip \
python3.12-venv \
&& rm -rf /var/lib/apt/lists/*
Expand Down
7 changes: 6 additions & 1 deletion docker/Dockerfile.cu13
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Use an official CUDA 13 runtime with Ubuntu as a parent image
FROM nvidia/cuda:13.2.1-runtime-ubuntu24.04

# Install system dependencies
# Install system dependencies. python3.12-dev supplies Python.h, which Triton's
# runtime JIT needs to build its cuda_utils extension inside the container. The
# venv resolves its include path to /usr/include/python3.12, so the headers have
# to come from the system python, not from the venv.
# See: https://github.com/theroyallab/tabbyAPI/issues/453
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
curl \
ca-certificates \
python3.12 \
python3.12-dev \
python3-pip \
python3.12-venv \
&& rm -rf /var/lib/apt/lists/*
Expand Down
Loading