Skip to content
Merged
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
3 changes: 0 additions & 3 deletions serving/docker/cuda-compat

This file was deleted.

9 changes: 4 additions & 5 deletions serving/docker/lmi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
# or in the "LICENSE.txt" file accompanying this file. This file is distributed on an "AS IS"
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for
# the specific language governing permissions and limitations under the License.
ARG version=12.8.1-devel-ubuntu24.04
ARG version=12.9.1-devel-ubuntu24.04
FROM nvidia/cuda:$version
ARG cuda_version=cu128
ARG cuda_version=cu129
ARG djl_version
ARG djl_serving_version
ARG python_version=3.12
Expand Down Expand Up @@ -61,7 +61,6 @@ ENV PATH="/opt/djl/bin:${PATH}"
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh"]
CMD ["serve"]

COPY cuda-compat /etc/apt/preferences.d/cuda-compat
COPY scripts scripts/
RUN chmod -R +x scripts
RUN mkdir -p /opt/djl/conf \
Expand All @@ -74,7 +73,7 @@ COPY config.properties /opt/djl/conf/config.properties
COPY partition /opt/djl/partition
COPY scripts/telemetry.sh /opt/djl/bin

RUN apt-get update && apt-get install -yq libaio-dev libopenmpi-dev g++ unzip cuda-compat-12-8 \
RUN apt-get update && apt-get install -yq libaio-dev libopenmpi-dev g++ unzip cuda-compat-12-9 \
&& scripts/install_openssh.sh \
&& scripts/install_python.sh ${python_version} \
&& scripts/install_s5cmd.sh x64 \
Expand Down Expand Up @@ -111,5 +110,5 @@ LABEL com.amazonaws.sagemaker.capabilities.accept-bind-to-port="true"
LABEL djl-version=$djl_version
LABEL djl-serving-version=$djl_serving_version
LABEL cuda-version=$cuda_version
# To use the 535 CUDA driver, CUDA 12.8 can work on this one too
# To use the 535 CUDA driver, CUDA 12.9 can work on this one too
LABEL com.amazonaws.sagemaker.inference.cuda.verified_versions=12.2
Loading