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

Forward-merge branch-24.02 into branch-24.04 #358

Closed
wants to merge 6 commits into from
Closed
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
2 changes: 1 addition & 1 deletion .devcontainer/build-rapids.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ build_rapids() {
(
echo "building cuDF";
clean-cudf;
build-cudf -DBUILD_BENCHMARKS=ON --verbose
build-cudf -DBUILD_BENCHMARKS=ON -DNVBench_ENABLE_CUPTI=OFF --verbose
sccache -s;
) 2>&1 | maybe_write_build_log cudf;

Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/cuda11.8-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"args": {
"CUDA": "11.8",
"PYTHON_PACKAGE_MANAGER": "conda",
"BASE": "rapidsai/devcontainers:24.04-cpp-cuda11.8-mambaforge-ubuntu22.04"
"BASE": "rapidsai/devcontainers:24.02-cpp-cuda11.8-mambaforge-ubuntu22.04"
}
},
"hostRequirements": {"gpu": "optional"},
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/cuda11.8-pip/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"args": {
"CUDA": "11.8",
"PYTHON_PACKAGE_MANAGER": "pip",
"BASE": "rapidsai/devcontainers:24.04-cpp-llvm16-cuda11.8-ubuntu22.04"
"BASE": "rapidsai/devcontainers:24.02-cpp-llvm16-cuda11.8-ubuntu22.04"
}
},
"hostRequirements": {"gpu": "optional"},
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/cuda12.0-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"args": {
"CUDA": "12.0",
"PYTHON_PACKAGE_MANAGER": "conda",
"BASE": "rapidsai/devcontainers:24.04-cpp-mambaforge-ubuntu22.04"
"BASE": "rapidsai/devcontainers:24.02-cpp-mambaforge-ubuntu22.04"
}
},
"hostRequirements": {"gpu": "optional"},
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/cuda12.0-pip/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"args": {
"CUDA": "12.0",
"PYTHON_PACKAGE_MANAGER": "pip",
"BASE": "rapidsai/devcontainers:24.04-cpp-llvm16-cuda12.0-ubuntu22.04"
"BASE": "rapidsai/devcontainers:24.02-cpp-llvm16-cuda12.0-ubuntu22.04"
}
},
"hostRequirements": {"gpu": "optional"},
Expand Down
4 changes: 0 additions & 4 deletions .github/actions/build-and-test-feature/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ inputs:
vault_host: {type: string, defaut: '', required: false}
rw_sccache_bucket: {type: string, defaut: '', required: false}
rw_sccache_region: {type: string, defaut: '', required: false}
ro_sccache_bucket: {type: string, defaut: '', required: false}
ro_sccache_region: {type: string, defaut: '', required: false}

runs:
using: composite
Expand All @@ -34,5 +32,3 @@ runs:
vault_host: "${{ inputs.vault_host }}"
rw_sccache_bucket: "${{ inputs.rw_sccache_bucket }}"
rw_sccache_region: "${{ inputs.rw_sccache_region }}"
ro_sccache_bucket: "${{ inputs.ro_sccache_bucket }}"
ro_sccache_region: "${{ inputs.ro_sccache_region }}"
21 changes: 5 additions & 16 deletions .github/actions/setup-runner-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,46 +5,35 @@ description: Setup self-hosted runner environment
runs:
using: composite
steps:
- name: Dump env
shell: bash -eo pipefail {0}
run: echo "${{ toJSON(env) }}"

- if: env.RUNNER_ENVIRONMENT != 'self-hosted'
- if: env.RUNNER_ENVIRONMENT == 'github-hosted'
name: Free up disk space
uses: ./.github/actions/free-disk-space
with:
tool_cache: "${{ runner.tool_cache }}"

- if: env.RUNNER_ENVIRONMENT == 'self-hosted'
- if: env.RUNNER_ENVIRONMENT != 'github-hosted'
name: Setup self-hosted runner environment
shell: bash -eo pipefail {0}
run: |
echo "HOME=${{ runner.workspace }}" >> $GITHUB_ENV;
echo "TMPDIR=${{ runner.temp }}" >> $GITHUB_ENV;

- if: env.RUNNER_ENVIRONMENT == 'self-hosted'
- if: env.RUNNER_ENVIRONMENT != 'github-hosted'
name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- if: env.RUNNER_ENVIRONMENT != 'self-hosted'
- if: env.RUNNER_ENVIRONMENT == 'github-hosted'
name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Create docker context
shell: bash
run: docker context create builder

- if: env.RUNNER_ENVIRONMENT != 'self-hosted'
name: Setup docker buildx on github-hosted runners
uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
endpoint: builder

- if: env.RUNNER_ENVIRONMENT == 'self-hosted'
name: Setup docker buildx on self-hosted runners
- name: Setup docker buildx
uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug --config /etc/buildkit/buildkitd.toml
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build-and-test-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ jobs:
vault_host: "${{ secrets.GIST_REPO_READ_ORG_GITHUB_TOKEN && 'https://vault.ops.k8s.rapids.ai' || '' }}"
rw_sccache_bucket: "${{ secrets.GIST_REPO_READ_ORG_GITHUB_TOKEN && 'rapids-sccache-devs' || '' }}"
rw_sccache_region: "${{ vars.AWS_REGION }}"
ro_sccache_bucket: rapids-sccache-east
ro_sccache_region: "${{ vars.AWS_REGION }}"
4 changes: 2 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ The features that comprise the image are noted in the image tags. If no version

The pre-built images can be used as the `"image"`, or as the base of a Dockerfile in `"build"`, in `devcontainer.json`:

<details><summary>devcontainer.json using pre-built image</summary><pre>{<br/> "image": "rapidsai/devcontainers:24.04-cpp-llvm16-cuda12.0-nvhpc23.5-ubuntu22.04",<br/> "hostRequirements": { "gpu": true },<br/> "workspaceFolder": "/home/coder/${localWorkspaceFolderBasename}",<br/> "workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/${localWorkspaceFolderBasename},type=bind"<br/>}</pre></details>
<details><summary>devcontainer.json using pre-built image</summary><pre>{<br/> "image": "rapidsai/devcontainers:24.02-cpp-llvm16-cuda12.0-nvhpc23.5-ubuntu22.04",<br/> "hostRequirements": { "gpu": true },<br/> "workspaceFolder": "/home/coder/${localWorkspaceFolderBasename}",<br/> "workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/${localWorkspaceFolderBasename},type=bind"<br/>}</pre></details>

You can also build a custom devcontainer by composing individual features:

<details><summary>devcontainer.json using individual features</summary><pre>{<br/> "image": "ubuntu:22.04",<br/> "features": {<br/> "ghcr.io/rapidsai/devcontainers/features/cmake:24.04": {},<br/> "ghcr.io/rapidsai/devcontainers/features/ninja:24.04": {},<br/> "ghcr.io/rapidsai/devcontainers/features/sccache:24.04": {<br/> "version": "0.5.4"<br/> }<br/> },<br/> "overrideFeatureInstallOrder": [<br/> "ghcr.io/rapidsai/devcontainers/features/cmake",<br/> "ghcr.io/rapidsai/devcontainers/features/ninja",<br/> "ghcr.io/rapidsai/devcontainers/features/sccache"<br/> ],<br/> "workspaceFolder": "/home/coder/${localWorkspaceFolderBasename}",<br/> "workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/${localWorkspaceFolderBasename},type=bind"<br/>}</pre></details>
<details><summary>devcontainer.json using individual features</summary><pre>{<br/> "image": "ubuntu:22.04",<br/> "features": {<br/> "ghcr.io/rapidsai/devcontainers/features/cmake:24.02": {},<br/> "ghcr.io/rapidsai/devcontainers/features/ninja:24.02": {},<br/> "ghcr.io/rapidsai/devcontainers/features/sccache:24.02": {<br/> "version": "0.5.4"<br/> }<br/> },<br/> "overrideFeatureInstallOrder": [<br/> "ghcr.io/rapidsai/devcontainers/features/cmake",<br/> "ghcr.io/rapidsai/devcontainers/features/ninja",<br/> "ghcr.io/rapidsai/devcontainers/features/sccache"<br/> ],<br/> "workspaceFolder": "/home/coder/${localWorkspaceFolderBasename}",<br/> "workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/${localWorkspaceFolderBasename},type=bind"<br/>}</pre></details>

> **NOTE:** Feature updates published since your most recent image build will invalidate your docker image layer cache, meaning it can take the [devcontainers CLI](https://github.com/devcontainers/cli) longer to initialize containers composed from individual features.

Expand Down
2 changes: 1 addition & 1 deletion features/src/cccl-dev/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "NVIDIA CCCL development utilities",
"id": "cccl-dev",
"version": "24.4.0",
"version": "24.2.2",
"description": "A feature to install NVIDIA CCCL development utilities",
"options": {
"litVersion": {
Expand Down
2 changes: 1 addition & 1 deletion features/src/cmake/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "CMake",
"id": "cmake",
"version": "24.4.0",
"version": "24.2.0",
"description": "A feature to install CMake",
"options": {
"version": {
Expand Down
110 changes: 55 additions & 55 deletions features/src/cuda/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "CUDA Toolkit",
"id": "cuda",
"version": "24.4.0",
"version": "24.2.2",
"description": "A feature to install the NVIDIA CUDA Toolkit",
"options": {
"version": {
Expand All @@ -23,94 +23,94 @@
"description": "Version of the CUDA Toolkit to install."
},
"installCompilers": {
"type": "boolean",
"default": true,
"description": "Install NVIDIA CUDA Compiler (nvcc)"
"type": "boolean",
"default": true,
"description": "Install NVIDIA CUDA Compiler (nvcc)"
},
"installProfilers": {
"type": "boolean",
"default": true,
"description": "Install NVIDIA NSight Systems Profiler (nsys)"
"type": "boolean",
"default": true,
"description": "Install NVIDIA NSight Systems Profiler (nsys)"
},
"installCTKLibraries": {
"type": "boolean",
"default": true,
"description": "Shortcut to install all CUDA Toolkit Libraries"
"type": "boolean",
"default": true,
"description": "Shortcut to install all CUDA Toolkit Libraries"
},
"installDevPackages": {
"type": "boolean",
"default": true,
"description": "Whether to install the CUDA dev packages (static libraries + headers)"
"type": "boolean",
"default": true,
"description": "Whether to install the CUDA dev packages (static libraries + headers)"
},
"installcuDNN": {
"type": "boolean",
"default": false,
"description": "Install CUDA Deep Neural Network Library (cuDNN)"
"type": "boolean",
"default": false,
"description": "Install CUDA Deep Neural Network Library (cuDNN)"
},
"installcuTensor": {
"type": "boolean",
"default": false,
"description": "Install CUDA Tensor Linear Algebra Library (cuTensor)"
"type": "boolean",
"default": false,
"description": "Install CUDA Tensor Linear Algebra Library (cuTensor)"
},
"installNCCL": {
"type": "boolean",
"default": true,
"description": "Install NVIDIA Collective Communications Library (NCCL)"
"type": "boolean",
"default": true,
"description": "Install NVIDIA Collective Communications Library (NCCL)"
},
"installCUDARuntime": {
"type": "boolean",
"default": true,
"description": "Install CUDA Runtime Library (cudart)"
"type": "boolean",
"default": true,
"description": "Install CUDA Runtime Library (cudart)"
},
"installNVRTC": {
"type": "boolean",
"default": false,
"description": "Install NVIDIA Runtime Compilation Library (NVRTC)"
"type": "boolean",
"default": false,
"description": "Install NVIDIA Runtime Compilation Library (NVRTC)"
},
"installOpenCL": {
"type": "boolean",
"default": false,
"description": "Install NVIDIA CUDA OpenCL Library"
"type": "boolean",
"default": false,
"description": "Install NVIDIA CUDA OpenCL Library"
},
"installcuBLAS": {
"type": "boolean",
"default": false,
"description": "Install CUDA Basic Linear Algebra Library (cuBLAS)"
"type": "boolean",
"default": false,
"description": "Install CUDA Basic Linear Algebra Library (cuBLAS)"
},
"installcuSPARSE": {
"type": "boolean",
"default": false,
"description": "Install CUDA Basic Linear Algebra for Sparse Matrices Library (cuSPARSE)"
"type": "boolean",
"default": false,
"description": "Install CUDA Basic Linear Algebra for Sparse Matrices Library (cuSPARSE)"
},
"installcuFFT": {
"type": "boolean",
"default": false,
"description": "Install CUDA Fast Fourier Transform Library (cuFFT)"
"type": "boolean",
"default": false,
"description": "Install CUDA Fast Fourier Transform Library (cuFFT)"
},
"installcuFile": {
"type": "boolean",
"default": false,
"description": "Install CUDA GPUDirect Storage API Library (cuFile)"
"type": "boolean",
"default": false,
"description": "Install CUDA GPUDirect Storage API Library (cuFile)"
},
"installcuRAND": {
"type": "boolean",
"default": false,
"description": "Install CUDA Random Number Generation Library (cuRAND)"
"type": "boolean",
"default": false,
"description": "Install CUDA Random Number Generation Library (cuRAND)"
},
"installcuSOLVER": {
"type": "boolean",
"default": false,
"description": "Install CUDA Direct Linear Solvers Library (cuSOLVER)"
"type": "boolean",
"default": false,
"description": "Install CUDA Direct Linear Solvers Library (cuSOLVER)"
},
"installNPP": {
"type": "boolean",
"default": false,
"description": "Install NVIDIA Performance Primitives (NPP)"
"type": "boolean",
"default": false,
"description": "Install NVIDIA Performance Primitives (NPP)"
},
"installnvJPEG": {
"type": "boolean",
"default": false,
"description": "Install NVIDIA JPEG decoder, encoder, and transcoder library (nvJPEG)"
"type": "boolean",
"default": false,
"description": "Install NVIDIA JPEG decoder, encoder, and transcoder library (nvJPEG)"
},
"pruneStaticLibs": {
"type": "boolean",
Expand Down
2 changes: 1 addition & 1 deletion features/src/gcc/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "GCC",
"id": "gcc",
"version": "24.4.0",
"version": "24.2.1",
"description": "A feature to install gcc",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion features/src/gitlab-cli/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "gitlab-cli",
"version": "24.4.0",
"version": "24.2.0",
"name": "GitLab CLI",
"documentationURL": "https://github.com/rapidsai/devcontainers/features/tree/main/src/gitlab-cli",
"description": "Installs the GitLab CLI. Auto-detects latest version and installs needed dependencies.",
Expand Down
2 changes: 1 addition & 1 deletion features/src/llvm/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "LLVM compilers and tools",
"id": "llvm",
"version": "24.4.0",
"version": "24.2.3",
"description": "A feature to install LLVM compilers and tools",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion features/src/mambaforge/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Mambaforge",
"id": "mambaforge",
"version": "24.4.2",
"version": "24.2.3",
"description": "A feature to install mambaforge",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion features/src/ninja/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Ninja build",
"id": "ninja",
"version": "24.4.0",
"version": "24.2.0",
"description": "A feature to install ninja-build",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion features/src/nvhpc/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "NVHPC SDK",
"id": "nvhpc",
"version": "24.4.0",
"version": "24.2.2",
"description": "A feature to install the NVHPC SDK",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion features/src/oneapi/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Intel oneapi toolchain",
"id": "oneapi",
"version": "24.4.0",
"version": "24.2.0",
"description": "A feature to install the Intel oneapi toolchain",
"options": {
"version": {
Expand Down
2 changes: 1 addition & 1 deletion features/src/rapids-build-utils/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "NVIDIA RAPIDS devcontainer build utilities",
"id": "rapids-build-utils",
"version": "24.4.0",
"version": "24.2.9",
"description": "A feature to install the RAPIDS devcontainer build utilities",
"containerEnv": {
"BASH_ENV": "/etc/bash.bash_env"
Expand Down
Loading
Loading