Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI dockerfile with new cuda keyring and keys for repo #334

Merged
merged 17 commits into from
May 25, 2022
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
9 changes: 8 additions & 1 deletion ci/dockerfile.ci
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.2
ARG TRITON_VERSION=22.03
ARG TRITON_VERSION=22.04
ARG IMAGE=nvcr.io/nvidia/tritonserver:${TRITON_VERSION}-py3
FROM ${IMAGE}

Expand Down Expand Up @@ -30,6 +30,13 @@ RUN ln -s /usr/local/cuda/lib64/stubs/libcuda.so /usr/local/cuda/lib64/stubs/lib

# Install packages
ENV DEBIAN_FRONTEND=noninteractive
RUN [ $(uname -m) = 'x86_64' ] \
&& curl -o /tmp/cuda-keyring.deb \
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb \
|| curl -o /tmp/cuda-keyring.deb \
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/cuda-keyring_1.0-1_all.deb; \
dpkg -i /tmp/cuda-keyring.deb \
&& rm /tmp/cuda-keyring.deb

RUN apt update -y --fix-missing && \
apt install -y --no-install-recommends software-properties-common && \
Expand Down
10 changes: 5 additions & 5 deletions ci/test_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,24 @@ echo "##############"

## Test Core
echo "Run unit tests for Core"
/core/ci/test_unit.sh $container $devices
cd /core && /ci/test_unit.sh $container $devices

## Test NVTabular
echo "Run unit tests for NVTabular"
/nvtabular/ci/test_unit.sh $container $devices
cd /nvtabular && ci/test_unit.sh $container $devices

## Test Transformers4Rec
echo "Run unit tests for Transformers4Rec"
/transformers4rec/ci/test_unit.sh $container $devices
cd /transformers4rec/ && ci/test_unit.sh $container $devices

## Test Models
echo "Run unit tests for Models"
pip install coverage
/models/ci/test_unit.sh $container $devices
cd /models/ && ci/test_unit.sh $container $devices

## Test Systems
echo "Run unit tests for Systems"
pytest -rxs /systems/tests/unit
cd /systems && pytest -rxs /tests/unit

## Test HugeCTR
if [ "$container" == "merlin-training" ]; then
Expand Down