Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
fa1b40e0
Unverified
Commit
fa1b40e0
authored
Feb 10, 2025
by
Yineng Zhang
Committed by
GitHub
Feb 10, 2025
Browse files
use nvcr.io/nvidia/tritonserver:24.04-py3-min as base image (#3457)
parent
c45cab1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
docker/Dockerfile
docker/Dockerfile
+5
-5
No files found.
docker/Dockerfile
View file @
fa1b40e0
ARG
CUDA_VERSION=12.1.1
FROM
nvidia/cuda:${CUDA_VERSION}-devel-ubuntu20.04
ARG
CUDA_VERSION=12.5.1
FROM
nvcr.io/nvidia/tritonserver:24.04-py3-min
ARG
BUILD_TYPE=all
ENV
DEBIAN_FRONTEND=noninteractive
...
...
@@ -9,7 +11,7 @@ RUN echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
&&
apt
install
software-properties-common
-y
\
&&
add-apt-repository ppa:deadsnakes/ppa
-y
&&
apt update
\
&&
apt
install
python3.10 python3.10-dev
-y
\
&&
update-alternatives
--install
/usr/bin/python3 python3 /usr/bin/python3.
8 1
&&
update-alternatives
--install
/usr/bin/python3 python3 /usr/bin/python3.10 2
\
&&
update-alternatives
--install
/usr/bin/python3 python3 /usr/bin/python3.
10 1
\
&&
update-alternatives
--set
python3 /usr/bin/python3.10
&&
apt
install
python3.10-distutils
-y
\
&&
apt
install
curl git
sudo
libibverbs-dev
-y
\
&&
curl https://bootstrap.pypa.io/get-pip.py
-o
get-pip.py
&&
python3 get-pip.py
\
...
...
@@ -67,6 +69,4 @@ RUN python3 -m pip install --upgrade pip setuptools wheel html5lib six \
fi
;
\
fi
RUN
python3
-m
pip cache purge
ENV
DEBIAN_FRONTEND=interactive
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment