Skip to content

Commit 2d7101b

Browse files
committed
Merge remote-tracking branch 'upstream/main' into stream-pool-gather
2 parents ae0d947 + 6d453df commit 2d7101b

File tree

3,994 files changed

+285105
-190420
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,994 files changed

+285105
-190420
lines changed

.clang-format

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ IncludeCategories:
8383
Priority: 4
8484
- Regex: '^<(nvtext|cudf_kafka)' # other libcudf includes
8585
Priority: 5
86-
- Regex: '^<(cugraph|cuml|cuspatial|raft|kvikio)' # Other RAPIDS includes
86+
- Regex: '^<(cugraph|cuml|raft|kvikio)' # Other RAPIDS includes
8787
Priority: 6
8888
- Regex: '^<rmm/' # RMM includes
8989
Priority: 7
@@ -168,7 +168,7 @@ SpacesInContainerLiterals: true
168168
SpacesInCStyleCastParentheses: false
169169
SpacesInParentheses: false
170170
SpacesInSquareBrackets: false
171-
Standard: c++17
171+
Standard: c++20
172172
StatementMacros:
173173
- Q_UNUSED
174174
- QT_REQUIRE_VERSION

.devcontainer/Dockerfile

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ ENV DEFAULT_CONDA_ENV=rapids
1818

1919
FROM ${PYTHON_PACKAGE_MANAGER}-base
2020

21+
ARG TARGETARCH
22+
2123
ARG CUDA
2224
ENV CUDAARCHS="RAPIDS"
2325
ENV CUDA_VERSION="${CUDA_VERSION:-${CUDA}}"
@@ -29,8 +31,31 @@ ENV PYTHONSAFEPATH="1"
2931
ENV PYTHONUNBUFFERED="1"
3032
ENV PYTHONDONTWRITEBYTECODE="1"
3133

32-
ENV SCCACHE_REGION="us-east-2"
33-
ENV SCCACHE_BUCKET="rapids-sccache-devs"
34-
ENV AWS_ROLE_ARN="arn:aws:iam::279114543810:role/nv-gha-token-sccache-devs"
3534
ENV HISTFILE="/home/coder/.cache/._bash_history"
3635
ENV LIBCUDF_KERNEL_CACHE_PATH="/home/coder/cudf/cpp/build/${PYTHON_PACKAGE_MANAGER}/cuda-${CUDA_VERSION}/latest/jitify_cache"
36+
37+
###
38+
# sccache configuration
39+
###
40+
ENV AWS_ROLE_ARN="arn:aws:iam::279114543810:role/nv-gha-token-sccache-devs"
41+
ENV SCCACHE_REGION="us-east-2"
42+
ENV SCCACHE_BUCKET="rapids-sccache-devs"
43+
ENV SCCACHE_S3_USE_PREPROCESSOR_CACHE_MODE=true
44+
ENV SCCACHE_IDLE_TIMEOUT=0
45+
46+
###
47+
# sccache-dist configuration
48+
###
49+
# Enable sccache-dist by default
50+
ENV DEVCONTAINER_UTILS_ENABLE_SCCACHE_DIST=1
51+
# Compile locally if max retries exceeded
52+
ENV SCCACHE_DIST_FALLBACK_TO_LOCAL_COMPILE=true
53+
# Retry transient errors 4 times (for a total of 5 attempts)
54+
ENV SCCACHE_DIST_MAX_RETRIES=4
55+
# 1hr 59min (to accommodate debug builds)
56+
ENV SCCACHE_DIST_REQUEST_TIMEOUT=7140
57+
ENV SCCACHE_DIST_URL="https://${TARGETARCH}.linux.sccache.rapids.nvidia.com"
58+
59+
# Build as much in parallel as possible
60+
ENV INFER_NUM_DEVICE_ARCHITECTURES=1
61+
ENV MAX_DEVICE_OBJ_TO_COMPILE_IN_PARALLEL=20

.devcontainer/cuda11.8-conda/devcontainer.json

Lines changed: 0 additions & 42 deletions
This file was deleted.

.devcontainer/cuda11.8-pip/devcontainer.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

.devcontainer/cuda12.8-conda/devcontainer.json

Lines changed: 0 additions & 74 deletions
This file was deleted.

.devcontainer/cuda12.8-pip/devcontainer.json

Lines changed: 0 additions & 51 deletions
This file was deleted.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
{
2+
"build": {
3+
"context": "${localWorkspaceFolder}/.devcontainer",
4+
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
5+
"args": {
6+
"CUDA": "12.9",
7+
"PYTHON_PACKAGE_MANAGER": "conda",
8+
"BASE": "rapidsai/devcontainers:26.04-cpp-mambaforge"
9+
}
10+
},
11+
"runArgs": [
12+
"--rm",
13+
"--name",
14+
"${localEnv:USER:anon}-rapids-${localWorkspaceFolderBasename}-26.04-cuda12.9-conda",
15+
"--ulimit",
16+
"nofile=500000"
17+
],
18+
"hostRequirements": {
19+
"gpu": "optional"
20+
},
21+
"features": {
22+
"ghcr.io/rapidsai/devcontainers/features/cuda:26.4": {
23+
"version": "12.9",
24+
"installCompilers": false,
25+
"installProfilers": true,
26+
"installDevPackages": false,
27+
"installcuDNN": false,
28+
"installcuTensor": false,
29+
"installNCCL": false,
30+
"installCUDARuntime": false,
31+
"installNVRTC": false,
32+
"installOpenCL": false,
33+
"installcuBLAS": false,
34+
"installcuSPARSE": false,
35+
"installcuFFT": false,
36+
"installcuFile": false,
37+
"installcuRAND": false,
38+
"installcuSOLVER": false,
39+
"installNPP": false,
40+
"installnvJPEG": false,
41+
"pruneStaticLibs": true
42+
},
43+
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils:26.4": {}
44+
},
45+
"overrideFeatureInstallOrder": [
46+
"ghcr.io/rapidsai/devcontainers/features/cuda",
47+
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils"
48+
],
49+
"initializeCommand": [
50+
"/bin/bash",
51+
"-c",
52+
"mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda12.9-envs}"
53+
],
54+
"postAttachCommand": [
55+
"/bin/bash",
56+
"-c",
57+
"if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; . rapids-post-attach-command; fi"
58+
],
59+
"workspaceFolder": "/home/coder",
60+
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/cudf,type=bind,consistency=consistent",
61+
"mounts": [
62+
"source=${localWorkspaceFolder}/../.aws,target=/home/coder/.aws,type=bind,consistency=consistent",
63+
"source=${localWorkspaceFolder}/../.cache,target=/home/coder/.cache,type=bind,consistency=consistent",
64+
"source=${localWorkspaceFolder}/../.config,target=/home/coder/.config,type=bind,consistency=consistent",
65+
"source=${localWorkspaceFolder}/../.conda/pkgs,target=/home/coder/.conda/pkgs,type=bind,consistency=consistent",
66+
"source=${localWorkspaceFolder}/../.conda/${localWorkspaceFolderBasename}-cuda12.9-envs,target=/home/coder/.conda/envs,type=bind,consistency=consistent"
67+
],
68+
"customizations": {
69+
"vscode": {
70+
"extensions": [
71+
"ms-python.flake8",
72+
"nvidia.nsight-vscode-edition"
73+
]
74+
}
75+
}
76+
}

0 commit comments

Comments
 (0)