-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'branch-25.02' into branch-25.04
- Loading branch information
Showing
204 changed files
with
7,884 additions
and
13,263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,19 @@ jobs: | |
node_type: "gpu-l4-latest-1" | ||
run_script: "ci/build_rust.sh" | ||
sha: ${{ inputs.sha }} | ||
go-build: | ||
needs: cpp-build | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
arch: "amd64" | ||
date: ${{ inputs.date }} | ||
container_image: "rapidsai/ci-conda:latest" | ||
node_type: "gpu-v100-latest-1" | ||
run_script: "ci/build_go.sh" | ||
sha: ${{ inputs.sha }} | ||
python-build: | ||
needs: [cpp-build] | ||
secrets: inherit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,16 +22,28 @@ jobs: | |
- conda-python-tests | ||
- docs-build | ||
- rust-build | ||
- go-build | ||
- wheel-build-libcuvs | ||
- wheel-build-cuvs | ||
- wheel-tests-cuvs | ||
- devcontainer | ||
- telemetry-setup | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
if: always() | ||
with: | ||
needs: ${{ toJSON(needs) }} | ||
telemetry-setup: | ||
continue-on-error: true | ||
runs-on: ubuntu-latest | ||
env: | ||
OTEL_SERVICE_NAME: 'pr-cuvs' | ||
steps: | ||
- name: Telemetry setup | ||
if: ${{ vars.TELEMETRY_ENABLED == 'true' }} | ||
uses: rapidsai/shared-actions/telemetry-dispatch-stash-base-env-vars@main | ||
check-nightly-ci: | ||
needs: telemetry-setup | ||
# Switch to ubuntu-latest once it defaults to a version of Ubuntu that | ||
# provides at least Python 3.11 (see | ||
# https://docs.python.org/3/library/datetime.html#datetime.date.fromisoformat) | ||
|
@@ -44,6 +56,7 @@ jobs: | |
with: | ||
repo: cuvs | ||
changed-files: | ||
needs: telemetry-setup | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
|
@@ -58,13 +71,15 @@ jobs: | |
- '!notebooks/**' | ||
- '!python/**' | ||
- '!rust/**' | ||
- '!go/**' | ||
- '!thirdparty/LICENSES/**' | ||
test_notebooks: | ||
- '**' | ||
- '!.devcontainer/**' | ||
- '!.pre-commit-config.yaml' | ||
- '!README.md' | ||
- '!rust/**' | ||
- '!go/**' | ||
- '!thirdparty/LICENSES/**' | ||
test_python: | ||
- '**' | ||
|
@@ -75,12 +90,15 @@ jobs: | |
- '!img/**' | ||
- '!notebooks/**' | ||
- '!rust/**' | ||
- '!go/**' | ||
- '!thirdparty/LICENSES/**' | ||
checks: | ||
needs: telemetry-setup | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
enable_check_generated_files: false | ||
ignored_pr_jobs: "telemetry-summarize" | ||
conda-cpp-build: | ||
needs: checks | ||
secrets: inherit | ||
|
@@ -136,6 +154,16 @@ jobs: | |
arch: "amd64" | ||
container_image: "rapidsai/ci-conda:latest" | ||
run_script: "ci/build_rust.sh" | ||
go-build: | ||
needs: conda-cpp-build | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
node_type: "gpu-v100-latest-1" | ||
arch: "amd64" | ||
container_image: "rapidsai/ci-conda:latest" | ||
run_script: "ci/build_go.sh" | ||
wheel-build-libcuvs: | ||
needs: checks | ||
secrets: inherit | ||
|
@@ -162,6 +190,7 @@ jobs: | |
script: ci/test_wheel_cuvs.sh | ||
devcontainer: | ||
secrets: inherit | ||
needs: telemetry-setup | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
arch: '["amd64"]' | ||
|
@@ -170,3 +199,13 @@ jobs: | |
sccache -z; | ||
build-all --verbose; | ||
sccache -s; | ||
telemetry-summarize: | ||
# This job must use a self-hosted runner to record telemetry traces. | ||
runs-on: linux-amd64-cpu4 | ||
needs: pr-builder | ||
if: ${{ vars.TELEMETRY_ENABLED == 'true' && !cancelled() }} | ||
continue-on-error: true | ||
steps: | ||
- name: Telemetry summarize | ||
uses: rapidsai/shared-actions/telemetry-dispatch-summarize@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
# Copyright (c) 2024, NVIDIA CORPORATION. | ||
|
||
set -euo pipefail | ||
|
||
rapids-logger "Create test conda environment" | ||
. /opt/conda/etc/profile.d/conda.sh | ||
|
||
RAPIDS_VERSION="$(rapids-version)" | ||
|
||
rapids-dependency-file-generator \ | ||
--output conda \ | ||
--file-key go \ | ||
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml | ||
|
||
rapids-mamba-retry env create --yes -f env.yaml -n go | ||
|
||
# seeing failures on activating the environment here on unbound locals | ||
# apply workaround from https://github.com/conda/conda/issues/8186#issuecomment-532874667 | ||
set +eu | ||
conda activate go | ||
set -eu | ||
|
||
rapids-print-env | ||
|
||
export CGO_CFLAGS="-I${CONDA_PREFIX}/include" | ||
export CGO_LDFLAGS="-L${CONDA_PREFIX}/lib -lcudart -lcuvs -lcuvs_c" | ||
export LD_LIBRARY_PATH="$CONDA_PREFIX/lib:$LD_LIBRARY_PATH" | ||
export CC=clang | ||
|
||
rapids-logger "Downloading artifacts from previous jobs" | ||
CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp) | ||
|
||
rapids-mamba-retry install \ | ||
--channel "${CPP_CHANNEL}" \ | ||
"libcuvs=${RAPIDS_VERSION}" \ | ||
"libraft=${RAPIDS_VERSION}" | ||
|
||
bash ./build.sh go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.