Skip to content
Merged
Show file tree
Hide file tree
Changes from 226 commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
3f964c9
separate make-pip-dependencies and make-conda-dependencies scripts
trxcllnt Jan 9, 2024
8f7f8c6
fix names
trxcllnt Jan 9, 2024
05203ca
parse duplicated arguments into a list
trxcllnt Jan 10, 2024
0c6d3aa
support passing -k|--keys to rapids-make-{conda,pip}-dependencies
trxcllnt Jan 10, 2024
b09ac4c
fix cugraph-service-{client,server} paths
trxcllnt Jan 11, 2024
35f65d8
escape rest parameters
trxcllnt Jan 11, 2024
c55e011
support python cmake, wheel, and install args in manifest.yaml
trxcllnt Jan 11, 2024
ddefcce
generate dependencies per python lib + file_key
trxcllnt Jan 11, 2024
6bfea46
add query-manifest command
trxcllnt Jan 11, 2024
907dbc2
cleanup
trxcllnt Jan 11, 2024
19fc2ce
Merge branch 'branch-24.02' of github.com:rapidsai/devcontainers into…
trxcllnt Jan 11, 2024
8e16309
sort and dedupe pip dependencies
trxcllnt Jan 12, 2024
b4469d7
constrain cuda-python and cupy versions to the current CUDA version
trxcllnt Jan 12, 2024
b476d99
clean compile_commands.json
trxcllnt Jan 12, 2024
dfc977f
intercept the --mode param and only pass it to the python build script
trxcllnt Jan 12, 2024
3d9bc1a
support defining custom envvars in manifest.yaml python entries
trxcllnt Jan 12, 2024
3a83862
keep cupy package version, just change the cuda modifier
trxcllnt Jan 12, 2024
b6db4ec
clean more setuptools/distutils build dirs
trxcllnt Jan 13, 2024
fe46579
ignore grep's nonzero exit code
trxcllnt Jan 13, 2024
2d6c906
add cpp install and cpack scripts
trxcllnt Jan 13, 2024
5bb2e4c
add a timing label to build and configure steps
trxcllnt Jan 13, 2024
e14f787
install system dependencies for ucxx, cudf_kafka, and cuspatial in pi…
trxcllnt Jan 13, 2024
5b58b2f
run rapids-dependency-file-generator in parallel
trxcllnt Jan 13, 2024
dee1b73
use absolute paths
trxcllnt Jan 13, 2024
74f027f
fix find command
trxcllnt Jan 17, 2024
b568c49
allow passing extra requirements
trxcllnt Jan 17, 2024
a8b1313
add devcontainer-utils-parse-args-from-docstring script
trxcllnt Jan 18, 2024
fb8482c
add bash completion template
trxcllnt Jan 18, 2024
a3ef3ae
generate completions for rapids-build-utils scripts
trxcllnt Jan 18, 2024
bb5909e
add docstrings for clone-{git,github,gitlab}-repo scripts
trxcllnt Jan 18, 2024
6de037c
format shebangs
trxcllnt Jan 18, 2024
e162d06
add docstrings
trxcllnt Jan 18, 2024
d058b05
narrow debug output by script name
trxcllnt Jan 18, 2024
5cffd0d
don't downcase C++ lib names, generate completions
trxcllnt Jan 18, 2024
9c9340d
add docstrings
trxcllnt Jan 18, 2024
5849300
add --omit to rapids-list-repos
trxcllnt Jan 18, 2024
5055b15
install the utils repo from disk, ignore cron.d startup error
trxcllnt Jan 18, 2024
3793e59
Merge branch 'fea/make-python-env-dependencies-scripts' of github.com…
trxcllnt Jan 18, 2024
33f6b0c
parse args after env name
trxcllnt Jan 18, 2024
dcee2a6
fix typo
trxcllnt Jan 18, 2024
27867b3
Merge branch 'branch-24.02' of github.com:rapidsai/devcontainers into…
trxcllnt Jan 18, 2024
9bee84a
fix paths
trxcllnt Jan 18, 2024
6f82337
make individual <script>-all templates so they can have docstrings
trxcllnt Jan 23, 2024
6ac9f81
only auth with gh/glab if neither --no-fork nor --clone-upstream are …
trxcllnt Jan 23, 2024
4931c4c
default to -j1 if no value is passed, but assume full parallelism in …
trxcllnt Jan 23, 2024
dd4b3ac
fetch the branch before checking it out
trxcllnt Jan 19, 2024
1ab9ff4
fix typo
trxcllnt Jan 19, 2024
fe22eb5
simplify checkout-same-branch a bit
trxcllnt Jan 23, 2024
44a6251
add -j option to clone scripts to adjust submodule parallelism, make …
trxcllnt Jan 23, 2024
f03c7b8
add --parallel flag to checkout-same-branch
trxcllnt Jan 23, 2024
2c03e6d
add uninstall scripts
trxcllnt Jan 23, 2024
3c5e2d1
fix typos
trxcllnt Jan 23, 2024
e0dcc31
pass -v to rm
trxcllnt Jan 23, 2024
bebccff
shift off first arg
trxcllnt Jan 23, 2024
3798a0f
add devcontainer-utils-generate-bash-completion script
trxcllnt Jan 24, 2024
dbd4608
rename script templates, add uninstall scripts templates, use devcont…
trxcllnt Jan 24, 2024
e800b4a
ensure newlines in known_hosts (#214)
trxcllnt Jan 24, 2024
11ff5d1
bump feature version
trxcllnt Jan 24, 2024
0f9d922
error if curl fails
trxcllnt Jan 24, 2024
d3d6f0e
bump feature version
trxcllnt Jan 24, 2024
289bb66
retry api.github.com/meta requests (#215)
trxcllnt Jan 24, 2024
8701297
inline github fingerprints
trxcllnt Jan 24, 2024
872f1b2
fix shellcheck lint
trxcllnt Jan 28, 2024
e33420f
fix shellcheck lint, rewrite parse-args to use getopts, add cpack-all…
trxcllnt Jan 29, 2024
6cba6e6
don't quote flags
trxcllnt Jan 29, 2024
0b0346f
set -E, use local - in functions, cleanup
trxcllnt Jan 29, 2024
a512700
DOC v24.04 Updates [skip ci]
raydouglass Jan 18, 2024
7dd5607
Remove -DNVBench_ENABLE_CUPTI=OFF. (#213)
bdice Jan 23, 2024
326b7da
fix typo
trxcllnt Jan 29, 2024
21126a9
fix find args
trxcllnt Jan 29, 2024
404e9e3
fixes for bash v4.4.20 (Ubuntu 18.04)
trxcllnt Jan 29, 2024
86980f2
don't do local -r in loops
trxcllnt Jan 29, 2024
95b6673
fix pull-repositories
trxcllnt Jan 29, 2024
47b61a4
don't do -r in loops
trxcllnt Jan 29, 2024
7ef30d3
remove set -x
trxcllnt Jan 29, 2024
ae797dc
temporarily allow unbound variables while activating the conda env (#…
trxcllnt Jan 29, 2024
6db2862
bump mambaforge feature version
trxcllnt Jan 29, 2024
0b0c846
fix shellcheck lint
trxcllnt Jan 29, 2024
5a3b692
use conda env create in both places
trxcllnt Jan 29, 2024
1fc47b0
don't set -E
trxcllnt Jan 30, 2024
e20c87d
more verbose output
trxcllnt Jan 30, 2024
ad0b709
add rapids-post-attach-entrypoint
trxcllnt Feb 1, 2024
8c1e80c
make the latest symlink local instead of absolute
trxcllnt Feb 1, 2024
9a55de9
allow cpack'ing components by doing a dummy install and tar'ing every…
trxcllnt Feb 1, 2024
f64e649
fix issue with scripts with no value params, fix handling of unknown …
trxcllnt Feb 1, 2024
fc48c8a
cleanup
trxcllnt Feb 1, 2024
f50d874
don't add empty strings to arg list
trxcllnt Feb 1, 2024
cb555c5
handle args better
trxcllnt Feb 1, 2024
7b71306
add missing --strip arg
trxcllnt Feb 1, 2024
c50f11e
clean dot files too
trxcllnt Feb 1, 2024
d4e553c
cpack in parallel with pigz
trxcllnt Feb 1, 2024
e517e2f
support --take and --skip to only parse selected args
trxcllnt Feb 1, 2024
1632870
assume each repo has 3 submodules to clone in parallel
trxcllnt Feb 1, 2024
805e5fd
clean up
trxcllnt Feb 1, 2024
b8e1d22
bool arguments are the complement of all and value args
trxcllnt Feb 2, 2024
8f3176f
install into CONDA_PREFIX if defined
trxcllnt Feb 2, 2024
34a73c6
remove pip args from docstring
trxcllnt Feb 2, 2024
b9afa1d
ensure cpp deps propagate to python scripts
trxcllnt Feb 2, 2024
d719a47
skip cpack'ing if there's no CMakeCache.txt
trxcllnt Feb 2, 2024
946c030
expand with quotes
trxcllnt Feb 2, 2024
bd149fd
use bash-completion-lib to complete directories and filenames
trxcllnt Feb 3, 2024
3585533
simplify devcontainer-utils clone scripts, configure remote.upstream.…
trxcllnt Feb 3, 2024
7aa5107
handle initial -- in rest args
trxcllnt Feb 3, 2024
cd47a15
don't pass -c remote.upstream.fetch='^refs/heads/pull-request/*' beca…
trxcllnt Feb 3, 2024
f46c98a
Fix mambaforge shell history (#219)
trxcllnt Feb 3, 2024
dd0a1e2
Add cugraph-equivariant (#218)
trxcllnt Feb 3, 2024
6f3276b
Fix buildx setup on github runners (#220)
trxcllnt Feb 5, 2024
29112d8
bump versions
trxcllnt Feb 5, 2024
9587fd2
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Feb 5, 2024
5edf5db
ensure user bin dirs don't end up on the path multiple times
trxcllnt Jan 11, 2024
1f26256
login to dockerhub so we don't hit rate limits
trxcllnt Feb 5, 2024
09b3e03
pass in runner_env as input
trxcllnt Feb 5, 2024
9da6ee8
check runner.name again
trxcllnt Feb 5, 2024
9ec8d40
fix quoting
trxcllnt Feb 5, 2024
30daced
use ssh URLs in fallback
trxcllnt Feb 5, 2024
9a4ad1f
use runner.environment
trxcllnt Feb 5, 2024
50e68f0
add devcontainer-utils-post-create-command that uses socat to proxy t…
trxcllnt Feb 7, 2024
1545fa1
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Feb 7, 2024
6e0f16f
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Feb 8, 2024
17bef73
fix counting in add_etc_profile_d_script
trxcllnt Feb 8, 2024
d27ffd6
make build dirs per python package manager/cuda version, and build type
trxcllnt Feb 8, 2024
8b3f4b8
fix yq install when tags are ahead of releases
trxcllnt Feb 8, 2024
1ef7840
remove duplicate --log-level=VERBOSE arg
trxcllnt Feb 8, 2024
7a5c866
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Feb 9, 2024
c3f4cc4
fix devcontainer-utils-vault-s3-init for sccache v0.7.7
trxcllnt Feb 9, 2024
49b7852
prefix variables
trxcllnt Feb 9, 2024
5d0b7f0
fix parse-cmake-args, add parse-pip-{install,wheel}-args
trxcllnt Feb 9, 2024
fe0ac6d
fix vault-s3-init for sccache v0.7.7
trxcllnt Feb 9, 2024
a1f6758
cleanup
trxcllnt Feb 9, 2024
93515de
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Feb 9, 2024
3b7b3d9
fix bad merge
trxcllnt Feb 9, 2024
6370387
fix typo
trxcllnt Feb 9, 2024
e478ec6
ignore stderr
trxcllnt Feb 9, 2024
8094cf2
always build with --pull, add files.watcherExclude and search.exclude…
trxcllnt Feb 9, 2024
89c2e35
Regnerate creds every 8 hours and echo the timestamp to the cron log
trxcllnt Feb 14, 2024
0a6b273
consolidate xtrace logic into debug-output.sh
trxcllnt Feb 14, 2024
be9ddfe
consolidate xtrace logic into debug-output.sh
trxcllnt Feb 14, 2024
b5f2c2c
add underscores to function names in parse-args-from-docstring
trxcllnt Feb 14, 2024
7645a18
update docstrings to inline from other commands
trxcllnt Feb 14, 2024
73cf110
Merge branch 'fea/make-python-env-dependencies-scripts' of github.com…
trxcllnt Feb 14, 2024
416284d
remove --pull option from devcontainers
trxcllnt Feb 14, 2024
6159877
remove unused variable
trxcllnt Feb 14, 2024
f950497
guard against devcontainer-utils feature not being installed when run…
trxcllnt Feb 15, 2024
e212ae2
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Feb 15, 2024
0359cde
make hierarchy of latest symlinks
trxcllnt Feb 15, 2024
2105b50
make hierarchy of latest symlinks point at each other, update latest …
trxcllnt Feb 15, 2024
d865c8a
fix completion generation in install.sh
trxcllnt Feb 16, 2024
b006094
fix checkout-same-branch when branch names have slashes
trxcllnt Feb 16, 2024
d848043
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Feb 16, 2024
50053a9
ensure directory permissions are set all the way down
trxcllnt Feb 16, 2024
662eca7
support --remote and --default-branch flags in rapids-pull-repositories
trxcllnt Feb 16, 2024
d0206bf
use free mem not available mem
trxcllnt Feb 16, 2024
102b8fa
handle case where github and gitlab API calls fail to return the remo…
trxcllnt Feb 17, 2024
22b7128
pass additional arguments to devcontainer build
trxcllnt Feb 20, 2024
2c6e52f
install devcontainer-utils features
trxcllnt Feb 20, 2024
c21ed29
add tasks-shell-input extension, files and search excludes for CUDA 1…
trxcllnt Feb 20, 2024
9a5fc73
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Feb 20, 2024
706eb9a
pass --quiet to silence git clone progress, --single-branch and --sha…
trxcllnt Feb 20, 2024
a57991b
don't make an env from an empty file
trxcllnt Feb 20, 2024
dc8017c
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Feb 21, 2024
3dda168
only pass in the name of a cloned repo to generate_all_script
trxcllnt Feb 21, 2024
d3deba6
fix unbound variable error
trxcllnt Feb 21, 2024
1caf0aa
clean up manifest.yaml and python build script templates
trxcllnt Feb 21, 2024
f0e1acd
set no_build_isolation=true if defined in manifest.yaml
trxcllnt Feb 21, 2024
e3f07f1
test pip_args instead of pip_args_
trxcllnt Feb 21, 2024
a7c0256
set SETUPTOOLS_ENABLE_FEATURES=legacy-editable for dask_cudf and cust…
trxcllnt Feb 21, 2024
eca9380
do SETUPTOOLS_ENABLE_FEATURES=legacy-editable for more cugraph python…
trxcllnt Feb 21, 2024
a186297
revert to always set legacy-editable if not using scikit-build-core
trxcllnt Feb 21, 2024
d3c4bed
allow making empty envs
trxcllnt Feb 22, 2024
579fe87
pass -j in clone-all
trxcllnt Feb 22, 2024
2846063
revert
trxcllnt Feb 22, 2024
73c6e36
fix free mem calc
trxcllnt Feb 22, 2024
b4d1a2e
use gibibytes (powers of 1024) instead of gigabytes
trxcllnt Feb 22, 2024
f2c664b
recreate the env from scratch after cloning
trxcllnt Feb 22, 2024
245e382
source the rapids-make-{conda,pip}-env call
trxcllnt Feb 22, 2024
da9af1e
revert recent changes
trxcllnt Feb 22, 2024
8134bd4
add --max-archs envvar default, remove short arg for --archs and --ma…
trxcllnt Feb 22, 2024
917f3cb
only proxy ssh_auth_sock if it's not already proxied
trxcllnt Feb 22, 2024
4759c36
guard against -u
trxcllnt Feb 22, 2024
8fbe504
remove reference to old -m flag
trxcllnt Feb 26, 2024
f5864d2
Make generated scripts inherit `-D<repo>_ROOT=` CMake args from their…
trxcllnt Feb 26, 2024
32e7d2e
cleanup rapids-get-build-dir docstring
trxcllnt Feb 26, 2024
df3315b
Parse and quote value options that have spaces
trxcllnt Feb 26, 2024
4ee0970
pass --archs 1 in repo clone template
trxcllnt Feb 26, 2024
08271c9
don't error if dirs don't exist
trxcllnt Feb 26, 2024
7d55831
pass --archs 1 in cpp.cpack template
trxcllnt Feb 26, 2024
e367712
handle pairs of --component and --out-dir
trxcllnt Feb 26, 2024
d5c440b
add rapids-maybe-clean-build-dir, don't unconditionally reconfigure i…
trxcllnt Feb 26, 2024
8b91c6c
Add python.install template, update python.build.editable template to…
trxcllnt Feb 26, 2024
b98e8a0
only release features after images are pushed
trxcllnt Feb 26, 2024
f394e68
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Feb 26, 2024
ff4a985
support ssh_url and https_url in manifest.yaml
trxcllnt Feb 27, 2024
73fe0d6
only modify cupy-cuda and cuda-python if they're at the beginning of …
trxcllnt Feb 27, 2024
f41ea09
Merge branch 'fea/make-python-env-dependencies-scripts' of github.com…
trxcllnt Feb 27, 2024
9ff0585
Pass -DUSE_LIBARROW_FROM_PYARROW=ON to cuDF if PYTHON_PACKAGE_MANAGER…
trxcllnt Feb 27, 2024
9bcebe8
pass CMAKE_CUDA_ARCHTECTURES to the projects that ignore the CUDAARCH…
trxcllnt Feb 27, 2024
b8cd760
define CPM_SOURCE_CACHE
trxcllnt Feb 27, 2024
e7086c9
set libcudf_kernel_cache_path to more specific build dir
trxcllnt Feb 27, 2024
83aa60d
add --max-total-system-memory option to limit total amount of system …
trxcllnt Feb 27, 2024
e8b174a
make ~/.local/share dir owned by the non-root user
trxcllnt Feb 27, 2024
e646de8
support --archs 0 to omit device object memory in n_jobs calculation
trxcllnt Feb 28, 2024
a455f0c
filter comments from pip requirements
trxcllnt Feb 28, 2024
b89951b
randomize sccache_server_port on container creation
trxcllnt Feb 28, 2024
87cc51a
tee all vault-s3-creds-{generate,schedule} logs to the logfile, regen…
trxcllnt Feb 28, 2024
5450f84
thread tty through xargs
trxcllnt Feb 28, 2024
c318f54
thread tty through xargs better
trxcllnt Feb 28, 2024
da3b73d
use tty exit code in shell-is-interactive check
trxcllnt Feb 28, 2024
4782014
use read -rsp everywhere
trxcllnt Feb 28, 2024
9697f1b
remove update-content-command, move rapids-generate-scripts into post…
trxcllnt Feb 28, 2024
0a2d129
merge compile_commands.json into one file in the home dir for clangd …
trxcllnt Feb 28, 2024
4399799
move everything in rapids-post-attach-command to rapids-post-start-co…
trxcllnt Feb 28, 2024
854447c
ensure latest symlink exists if not created
trxcllnt Feb 29, 2024
b5957ee
parse bools as arrays whose contents are the full optarg
trxcllnt Feb 29, 2024
be1ffee
add -f flag to clone-git-repo, always fetch all upstreams, add /tag/ …
trxcllnt Feb 29, 2024
c4896e2
don't use API calls to get the upstream and origin names if --no-fork…
trxcllnt Feb 29, 2024
04a7475
always call clone-git{hub,lab}-repo in the repo clone template
trxcllnt Feb 29, 2024
9d6f1d7
cleanup docstrings
trxcllnt Feb 29, 2024
a644dba
fix reconfigure check
trxcllnt Feb 29, 2024
0372a20
actually fix reconfigure check
trxcllnt Feb 29, 2024
eaac102
always do _parse_args at the top
trxcllnt Feb 29, 2024
d1efae2
don't overwrite the existing install_manifest.txts when doing the ins…
trxcllnt Mar 1, 2024
189eebd
support uninstalling from the cpack'd tgz's if the build dir doesn't …
trxcllnt Mar 1, 2024
3e21711
determine parallelism so args from manifest.yaml can use it, but igno…
trxcllnt Mar 1, 2024
781f7fd
remove -j from options list
trxcllnt Mar 1, 2024
ac8ac01
Merge branch 'branch-24.04' of github.com:rapidsai/devcontainers into…
trxcllnt Mar 4, 2024
b96d89d
Merge branch 'fea/make-python-env-dependencies-scripts' of github.com…
trxcllnt Mar 4, 2024
4dfcdd8
bump feature versions
trxcllnt Mar 4, 2024
8c22192
remove rapids-post-attach-command
trxcllnt Mar 4, 2024
7a13e77
guard against verbose[0] being null now that everything's an array again
trxcllnt Mar 4, 2024
be770b5
clean up boolean arg handling
trxcllnt Mar 4, 2024
25a8db4
add stub rapids-post-attach-command for backwards-compatibility
trxcllnt Mar 5, 2024
6be7446
remove CPM_SOURCE_CACHE
trxcllnt Mar 5, 2024
2e9c182
guard against grep failures
trxcllnt Mar 5, 2024
837fb08
log to /var/log/devcontainer-utils/ so we can mount over that dir for…
trxcllnt Mar 5, 2024
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
25 changes: 24 additions & 1 deletion .devcontainer/cuda11.8-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
},
"hostRequirements": {"gpu": "optional"},
"features": {
"./features/src/utils": {},
"./features/src/rapids-build-utils": {}
},
"overrideFeatureInstallOrder": [
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda11.8-envs} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
Expand Down Expand Up @@ -42,9 +44,30 @@
"customizations": {
"vscode": {
"extensions": [
"augustocdias.tasks-shell-input",
"ms-python.flake8",
"nvidia.nsight-vscode-edition"
]
],
"files.watcherExclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/target/**": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
},
"search.exclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/*.code-search": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
}
}
}
}
25 changes: 24 additions & 1 deletion .devcontainer/cuda11.8-pip/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
"features": {
"./features/src/ucx": {"version": "1.14.1"},
"./features/src/cuda": {"version": "11.8", "installcuBLAS": true, "installcuDNN": true, "installcuSOLVER": true, "installcuRAND": true, "installcuSPARSE": true},
"./features/src/utils": {},
"./features/src/rapids-build-utils": {}
},
"overrideFeatureInstallOrder": [
"./features/src/ucx",
"./features/src/cuda",
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda11.8-venvs} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
Expand Down Expand Up @@ -45,9 +47,30 @@
"customizations": {
"vscode": {
"extensions": [
"augustocdias.tasks-shell-input",
"ms-python.flake8",
"nvidia.nsight-vscode-edition"
]
],
"files.watcherExclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/target/**": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
},
"search.exclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/*.code-search": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
}
}
}
}
25 changes: 24 additions & 1 deletion .devcontainer/cuda12.0-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
},
"hostRequirements": {"gpu": "optional"},
"features": {
"./features/src/utils": {},
"./features/src/rapids-build-utils": {}
},
"overrideFeatureInstallOrder": [
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda12.0-envs} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
Expand Down Expand Up @@ -42,9 +44,30 @@
"customizations": {
"vscode": {
"extensions": [
"augustocdias.tasks-shell-input",
"ms-python.flake8",
"nvidia.nsight-vscode-edition"
]
],
"files.watcherExclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/target/**": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
},
"search.exclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/*.code-search": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
}
}
}
}
25 changes: 24 additions & 1 deletion .devcontainer/cuda12.0-pip/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
"features": {
"./features/src/ucx": {"version": "1.14.1"},
"./features/src/cuda": {"version": "12.0", "installcuBLAS": true, "installcuDNN": true, "installcuSOLVER": true, "installcuRAND": true, "installcuSPARSE": true},
"./features/src/utils": {},
"./features/src/rapids-build-utils": {}
},
"overrideFeatureInstallOrder": [
"./features/src/ucx",
"./features/src/cuda",
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda12.0-venvs} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
Expand Down Expand Up @@ -45,9 +47,30 @@
"customizations": {
"vscode": {
"extensions": [
"augustocdias.tasks-shell-input",
"ms-python.flake8",
"nvidia.nsight-vscode-edition"
]
],
"files.watcherExclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/target/**": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
},
"search.exclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/*.code-search": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
}
}
}
}
25 changes: 24 additions & 1 deletion .devcontainer/cuda12.2-conda/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
},
"hostRequirements": {"gpu": "optional"},
"features": {
"./features/src/utils": {},
"./features/src/rapids-build-utils": {}
},
"overrideFeatureInstallOrder": [
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda12.2-envs} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
Expand Down Expand Up @@ -42,9 +44,30 @@
"customizations": {
"vscode": {
"extensions": [
"augustocdias.tasks-shell-input",
"ms-python.flake8",
"nvidia.nsight-vscode-edition"
]
],
"files.watcherExclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/target/**": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
},
"search.exclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/*.code-search": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
}
}
}
}
25 changes: 24 additions & 1 deletion .devcontainer/cuda12.2-pip/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
"features": {
"./features/src/ucx": {"version": "1.14.1"},
"./features/src/cuda": {"version": "12.2", "installcuBLAS": true, "installcuDNN": true, "installcuSOLVER": true, "installcuRAND": true, "installcuSPARSE": true},
"./features/src/utils": {},
"./features/src/rapids-build-utils": {}
},
"overrideFeatureInstallOrder": [
"./features/src/ucx",
"./features/src/cuda",
"./features/src/utils",
"./features/src/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda12.2-venvs} ${localWorkspaceFolder}/../{rmm,kvikio,ucxx,cudf,raft,cumlprims_mg,cuml,cugraph-ops,wholegraph,cugraph,cuspatial}"],
Expand Down Expand Up @@ -45,9 +47,30 @@
"customizations": {
"vscode": {
"extensions": [
"augustocdias.tasks-shell-input",
"ms-python.flake8",
"nvidia.nsight-vscode-edition"
]
],
"files.watcherExclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/target/**": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
},
"search.exclude": {
"**/build/**": true,
"**/_skbuild/**": true,
"**/*.code-search": true,
"/home/coder/.aws/**/*": true,
"/home/coder/.cache/**/*": true,
"/home/coder/.conda/**/*": true,
"/home/coder/.local/share/**/*": true,
"/home/coder/.vscode-server/**/*": true
}
}
}
}
3 changes: 2 additions & 1 deletion .devcontainer/rapids.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@ ENV SCCACHE_BUCKET="rapids-sccache-devs"
ENV VAULT_HOST="https://vault.ops.k8s.rapids.ai"
ENV HISTFILE="/home/coder/.cache/._bash_history"

ENV LIBCUDF_KERNEL_CACHE_PATH="/home/coder/cudf/cpp/build/latest/jitify_cache"
ENV CPM_SOURCE_CACHE="/home/coder/.cache/cpm"
ENV LIBCUDF_KERNEL_CACHE_PATH="/home/coder/cudf/cpp/build/${PYTHON_PACKAGE_MANAGER}/cuda-${CUDA_VERSION}/latest/jitify_cache"
15 changes: 3 additions & 12 deletions .github/actions/build-linux-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,9 @@ name: build-image
description: Build Linux image

inputs:
tag:
type: string
required: true
description: Image tag
arch:
type: string
required: true
description: Image arch
repo:
type: string
required: true
description: Image repo
tag: {type: string, required: true, description: Image tag}
arch: {type: string, required: true, description: Image arch}
repo: {type: string, required: true, description: Image repo}

runs:
using: composite
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/devcontainer-json/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
using: composite
steps:

- if: env.RUNNER_ENVIRONMENT != 'github-hosted'
- if: runner.environment == 'self-hosted'
Comment thread
trxcllnt marked this conversation as resolved.
name: Setup Node.js
uses: actions/setup-node@v3
with:
Expand Down
18 changes: 10 additions & 8 deletions .github/actions/setup-runner-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,47 @@ description: Setup self-hosted runner environment
runs:
using: composite
steps:
- name: Dump env
- name: Dump environment
shell: bash -eo pipefail {0}
run: echo "${{ toJSON(env) }}"
run: |
echo "env: ${{ toJSON(env) }}"
echo "runner: '${{ toJSON(runner) }}'"

- if: env.RUNNER_ENVIRONMENT != 'self-hosted'
- if: runner.environment != 'self-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: runner.environment == 'self-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: runner.environment == 'self-hosted'
name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- if: env.RUNNER_ENVIRONMENT != 'self-hosted'
- if: runner.environment != 'self-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'
- if: 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'
- if: runner.environment == 'self-hosted'
name: Setup docker buildx on self-hosted runners
uses: docker/setup-buildx-action@v2
with:
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/build-all-rapids-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,14 @@ jobs:
build_command: |
sccache -z;
sccache --show-adv-stats;
clone-all --verbose --clone-upstream --no-update-env;
rapids-generate-scripts;
rapids-make-${PYTHON_PACKAGE_MANAGER}-env;
clone-all -j$(nproc) -v -q --clone-upstream --single-branch --shallow-submodules;
build-all \
--verbose \
-v \
-j$(nproc --ignore=1) \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TESTS=ON \
-DBUILD_BENCHMARKS=ON \
-DBUILD_ANN_BENCH=ON \
-DBUILD_PRIMS_BENCH=ON \
$([ "pip" = ${PYTHON_PACKAGE_MANAGER} ] && echo -DUSE_LIBARROW_FROM_PYARROW=ON || echo) \
-DBUILD_SHARED_LIBS=ON \
;
sccache --show-adv-stats;
Loading