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

[RELEASE] cudf v24.02 #14901

Merged
merged 213 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
deeabc9
v24.02 Updates [skip ci]
raydouglass Nov 9, 2023
d56a70f
Merge branch-23.12 into branch-24.02
bdice Nov 16, 2023
e4e6975
Update cudf_kafka_version.
bdice Nov 16, 2023
6b4deeb
Merge pull request #14422 from bdice/branch-24.02-merge-23.12
raydouglass Nov 16, 2023
427390f
Merge pull request #14406 from rapidsai/branch-23.12
raydouglass Nov 16, 2023
f593ae4
Merge branch-23.12 into branch-24.02
bdice Nov 16, 2023
abca0f4
Merge pull request #14426 from bdice/branch-24.02-merge-23.12
raydouglass Nov 16, 2023
de4a51c
Merge pull request #14425 from rapidsai/branch-23.12
raydouglass Nov 16, 2023
58d82b0
Merge pull request #14433 from rapidsai/branch-23.12
GPUtester Nov 16, 2023
a51ab18
Merge pull request #14436 from rapidsai/branch-23.12
GPUtester Nov 16, 2023
d2069f4
Match pandas join ordering obligations in pandas-compatible mode (#14…
wence- Nov 17, 2023
eb964fb
Merge pull request #14442 from rapidsai/branch-23.12
GPUtester Nov 17, 2023
8917870
Merge pull request #14447 from rapidsai/branch-23.12
GPUtester Nov 17, 2023
10218a9
JSON writer: avoid default stream use in `string_scalar` constructors…
vuule Nov 17, 2023
9971790
Merge pull request #14449 from rapidsai/branch-23.12
GPUtester Nov 18, 2023
2afb784
REF: Remove instances of pd.core (#14421)
mroeschke Nov 20, 2023
58387ff
Add cuDF devcontainers (#14015)
trxcllnt Nov 20, 2023
50a0413
Merge pull request #14455 from rapidsai/branch-23.12
GPUtester Nov 20, 2023
c8603c2
Merge pull request #14457 from rapidsai/branch-23.12
GPUtester Nov 20, 2023
5831beb
Remove the use of `volatile` in Parquet (#14448)
vuule Nov 20, 2023
947081f
Remove warning in dask-cudf docs (#14454)
wence- Nov 21, 2023
fcc8950
Preserve DataFrame(columns=).columns dtype during empty-like construc…
mroeschke Nov 21, 2023
cfa2d51
Expose stream parameter in public nvtext APIs (#14456)
davidwendt Nov 22, 2023
f02fde9
Correct dtype of count aggregations on empty dataframes (#14473)
wence- Nov 22, 2023
ee3fb39
Remove unsanitized null from input strings column in rank_tests.cpp (…
davidwendt Nov 22, 2023
168533a
Update README links with redirects. (#14378)
bdice Nov 22, 2023
ded5130
Introduce Comprehensive Pathological Unit Tests for Issue #14409 (#14…
aocsa Nov 24, 2023
db6745b
Expunge as_frame conversions in Column algorithms (#14491)
wence- Nov 24, 2023
c8d481e
Enable `pd.Timestamp` objects to be picklable when `cudf.pandas` is a…
shwina Nov 27, 2023
dba6934
Some doxygen improvements (#14469)
vyasr Nov 27, 2023
854f4e4
REF: Remove **kwargs from to_pandas, raise if nullable is not impleme…
mroeschke Nov 27, 2023
5e58e71
REF: Make DataFrame.from_pandas process by column (#14483)
mroeschke Nov 28, 2023
d65a2af
Avoid DataFrame conversion in `MultiIndex.from_pandas` (#14470)
mroeschke Nov 28, 2023
94ca0b1
Merge pull request #14522 from rapidsai/branch-23.12
GPUtester Nov 28, 2023
0952002
Fix default stream use in the CSV reader (#14443)
vuule Nov 28, 2023
8da6204
Split libarrow build dependencies. (#14506)
bdice Nov 28, 2023
e696941
Make DefaultHostMemoryAllocator settable (#14523)
gerashegalov Nov 29, 2023
75d5978
Refactor Parquet kernel_error (#14464)
etseidl Nov 29, 2023
4558344
Remove deprecated nvtext::load_merge_pairs_file (#14460)
davidwendt Nov 29, 2023
e15290a
Consolidate 1D pandas object handling in as_column (#14394)
mroeschke Nov 29, 2023
d528c95
Drop llvm16 from cuda118-conda devcontainer image (#14526)
charlesbluca Nov 30, 2023
ac35d19
Improve memory footprint of isin by using contains (#14478)
wence- Nov 30, 2023
c8074b5
Update to fmt 10.1.1 and spdlog 1.12.0. (#14355)
bdice Nov 30, 2023
abd2a91
Small clean up in `io::statistics` (#14542)
vuule Dec 4, 2023
39431db
Merge pull request #14563 from rapidsai/branch-23.12
GPUtester Dec 4, 2023
4054f3e
Enable doxygen XML generation and fix issues (#14477)
vyasr Dec 5, 2023
1c46d7d
Java expose parquet pass_read_limit (#14564)
revans2 Dec 5, 2023
434df44
Deprecate cudf::make_strings_column accepting typed offsets (#14461)
davidwendt Dec 5, 2023
8f7cbe6
Move non-templated inline function definitions from table_view.hpp to…
davidwendt Dec 5, 2023
a2d2ef4
Merge pull request #14570 from rapidsai/branch-23.12
GPUtester Dec 5, 2023
d97b3e0
Limit DELTA_BINARY_PACKED encoder to the same number of bits as the p…
etseidl Dec 6, 2023
ecfb939
Merge pull request #14585 from rapidsai/branch-23.12
GPUtester Dec 6, 2023
c0538f1
Use cudf_test temp_directory class for nvtext::subword_tokenize gbenc…
davidwendt Dec 6, 2023
b5f50ef
Change json gtest environment variable to compile-time definition (#1…
davidwendt Dec 6, 2023
fe612b3
Upgrade to nvCOMP 3.0.5 (#14581)
davidwendt Dec 6, 2023
b136d8b
PARQUET-2261 Size Statistics (#14000)
etseidl Dec 6, 2023
42b533f
Fix return type of prefix increment overloads (#14544)
vuule Dec 6, 2023
d8f4975
Update dependencies.yaml to new pip index (#14575)
vyasr Dec 7, 2023
f5dca59
Fixes a symbol group lookup table issue (#14561)
elstehle Dec 7, 2023
a253826
Remove null mask for zero nulls in json readers (#14451)
karthikeyann Dec 7, 2023
b02e82f
Include writer code and writerVersion in ORC files (#14458)
vuule Dec 7, 2023
6a6cba5
Remove extra total chars size calculation from cudf::concatenate (#14…
davidwendt Dec 7, 2023
6fc230a
Fix unsanitized nulls produced by `cudf::clamp` APIs (#14580)
davidwendt Dec 7, 2023
93db3b8
Use isinstance(..., cudf.CategoricalDtype) instead of is_categorical_…
mroeschke Dec 7, 2023
bb629ab
Correct invalid or missing return types (#14587)
robertmaynard Dec 8, 2023
248aa2c
Add a test for issue 12773 (#14529)
vyasr Dec 8, 2023
dee47c7
Remove WORKSPACE env var from cudf_test temp_directory class (#14588)
davidwendt Dec 8, 2023
a8f071d
Fix unsanitized nulls produced by libcudf dictionary decode (#14578)
davidwendt Dec 8, 2023
8b23436
Fix unsanitized nulls from strings segmented-reduce (#14586)
davidwendt Dec 8, 2023
597a535
Merge pull request #14604 from rapidsai/branch-23.12
GPUtester Dec 8, 2023
7b551ef
Use cuda::proclaim_return_type on device lambdas. (#14577)
bdice Dec 8, 2023
016cf1e
Use isinstance(..., cudf.IntervalDtype) instead of is_interval_dtype …
mroeschke Dec 8, 2023
8c511d1
Fix DataFrame.reindex removing column name (#14601)
mroeschke Dec 8, 2023
899e392
Fix race detected in Parquet writer (#14598)
etseidl Dec 9, 2023
759a1c8
Remove legacy benchmarks for cuDF-python (#14591)
osidekyle Dec 10, 2023
3c32e5d
Convert compression and io to string axis type in IO benchmarks (#14347)
SurajAralihalli Dec 11, 2023
fc0f181
Simplify Python CMake (#14565)
vyasr Dec 11, 2023
fcaebeb
Remove `cuda::proclaim_return_type` from nested lambda (#14607)
ttnghia Dec 11, 2023
1c6f80d
Remove unsanitized input test data from copy gtests (#14600)
davidwendt Dec 12, 2023
2318548
Make bpe_merge_pairs_impl member private (#14543)
davidwendt Dec 12, 2023
f8e891f
Add JNI for strings::code_points (#14533)
thirtiseven Dec 12, 2023
ef11061
Implement `IndexedFrame.duplicated` with `distinct_indices` + `scatte…
wence- Dec 12, 2023
7a66e00
Add cpp/doxygen/xml to .gitignore (#14613)
davidwendt Dec 12, 2023
3f4ca49
Refactor IndexedFrame.hash_values to use cudf::hashing functions, add…
bdice Dec 12, 2023
0fa80ec
Improve GroupBy JIT error handling (#13854)
brandon-b-miller Dec 12, 2023
a9dc521
Support `freq` in DatetimeIndex (#14593)
shwina Dec 12, 2023
d1ba966
Fix astype/fillna not maintaining column subclass and types (#14615)
mroeschke Dec 12, 2023
21c90d6
Remove non-empty nulls in cudf::get_json_object (#14609)
davidwendt Dec 12, 2023
303cb69
Move creation of env.yaml outside the current directory (#14476)
davidwendt Dec 12, 2023
0698438
Replace default stream for scalars and column factories usages (becau…
karthikeyann Dec 13, 2023
420dc5d
Make Parquet ColumnIndex null_counts optional (#14596)
etseidl Dec 13, 2023
a894ca0
Add (implicit) handling for torch tensors in is_scalar (#14623)
wence- Dec 13, 2023
8136a16
Fix DataFrame.reindex when column reindexing to MultiIndex/RangeIndex…
mroeschke Dec 13, 2023
cee6429
Switch to scikit-build-core (#13531)
vyasr Dec 14, 2023
899e94b
Use exceptions instead of return values to handle errors in `CompactP…
vuule Dec 14, 2023
39386c2
Use column_empty over as_column([]) (#14632)
mroeschke Dec 14, 2023
2cb8f3d
Address potential race conditions in Parquet reader (#14602)
etseidl Dec 15, 2023
f2304cf
More doxygen fixes (#14639)
vyasr Dec 15, 2023
f4fbdd0
Implement more copying APIs in pylibcudf (#14508)
vyasr Dec 15, 2023
0762fbe
Drop nvbench patch for nvml. (#14631)
bdice Dec 15, 2023
cbcfa67
Use isinstance over is_foo_dtype internally (#14638)
mroeschke Dec 15, 2023
9c16d89
Implement remaining copying APIs in pylibcudf along with required hel…
vyasr Dec 15, 2023
8dca25c
Don't constrain `numba<0.58` (#14616)
brandon-b-miller Dec 18, 2023
90cccef
Consolidate memoryview handling in as_column (#14643)
mroeschke Dec 18, 2023
3602816
Add column sanitization checks in `CUDF_TEST_EXPECT_COLUMN_*` macros …
SurajAralihalli Dec 18, 2023
bb047a2
Constrain CUDA in notebook testing to prevent CUDA 12.1 usage until w…
vyasr Dec 18, 2023
8b695e3
Simplify null count checking in column equality comparator (#13312)
vyasr Dec 19, 2023
6b134dd
Update to CCCL 2.2.0. (#14576)
bdice Dec 19, 2023
5dfafaf
Testing stream pool implementation (#14437)
shrshi Dec 19, 2023
cf13b86
Fix invalid memory access in Parquet reader (#14637)
etseidl Dec 19, 2023
57fb798
Ensure libcudf searches for our patched version of CCCL first (#14655)
robertmaynard Dec 19, 2023
96a1b00
Update CONTRIBUTING for pyproject-only builds (#14653)
vyasr Dec 20, 2023
f1ff424
Add DELTA_LENGTH_BYTE_ARRAY encoder and decoder for Parquet (#14590)
etseidl Dec 20, 2023
225040e
Include encode type in the error message when unsupported Parquet enc…
ZelboK Dec 20, 2023
49e4011
Unconditionally export the CCCL path (#14656)
vyasr Dec 20, 2023
36f56c9
Add row conversion code from spark-rapids-jni (#14664)
ttnghia Dec 21, 2023
72e6f9b
Basic validation in reader benchmarks (#14647)
vuule Dec 27, 2023
2ceb72c
Update dependencies.yaml to support CUDA 12.*. (#14644)
bdice Jan 2, 2024
2be060e
Drop Pascal GPU support. (#14630)
bdice Jan 2, 2024
af65d52
JSON quote normalization (#14545)
shrshi Jan 3, 2024
a9ca11f
Change `io::detail::orc` namespace into `io::orc::detail` (#14696)
ttnghia Jan 3, 2024
4c01e95
Fix call to deprecated factory function (#14695)
davidwendt Jan 4, 2024
fab5af2
Update to Dask's `shuffle_method` kwarg (#14708)
pentschev Jan 4, 2024
b83ab43
Skip numba test that fails on ARM (#14702)
brandon-b-miller Jan 5, 2024
9c7b05b
Potential fix for peformance regression in #14415 (#14706)
etseidl Jan 5, 2024
5eb923f
Use make_strings_children for fill() specialization logic (#14697)
davidwendt Jan 5, 2024
4de4aae
Fix strings::contains matching end of string target (#14711)
davidwendt Jan 5, 2024
0c98134
Custom error messages for IO with nonexistent files (#14662)
vuule Jan 5, 2024
6083efa
Allow Z in datetime string parsing in non pandas compat mode (#14701)
mroeschke Jan 6, 2024
fc142eb
Use offsetalator in gather_chars (#14700)
davidwendt Jan 8, 2024
c0aa8bb
Use the offsetalator in cudf::concatenate for strings (#14611)
davidwendt Jan 8, 2024
ba7550a
Write file-level statistics when writing ORC files with zero rows (#1…
vuule Jan 8, 2024
fa8db7a
Update dask-cudf wheel name (#14713)
raydouglass Jan 8, 2024
79d5070
Remove mimesis as a testing dependency (#14723)
mroeschke Jan 8, 2024
c4e5e8c
Refactor cudf.Series.__init__ (#14450)
mroeschke Jan 8, 2024
9c9de7c
Split cuda versions for notebook testing (#14722)
raydouglass Jan 9, 2024
d81ca78
Ensure DataFrame column types are preserved during serialization (#14…
mroeschke Jan 9, 2024
3a1601d
Fix to_numeric not preserving Series index and name (#14718)
mroeschke Jan 9, 2024
856c985
Split parquet test into multiple files (#14663)
etseidl Jan 9, 2024
433bdc3
Convert `FieldType` to scoped enum (#14642)
vuule Jan 9, 2024
8df33ee
Expand JIT groupby test suite (#13813)
brandon-b-miller Jan 10, 2024
6a23775
Ensure column.fillna signatures are consistent (#14724)
mroeschke Jan 10, 2024
fa37e13
Replace as_numerical with as_numerical_column/codes (#14719)
mroeschke Jan 10, 2024
3f19d04
Remove unneeded methods in Column (#14730)
mroeschke Jan 10, 2024
1078326
Write cuDF version in Parquet "created_by" metadata field (#14721)
etseidl Jan 10, 2024
516559e
Explicitly pass .dtype into is_foo_dtype functions (#14657)
mroeschke Jan 11, 2024
d26ea6d
Fix nan_as_null not being respected when passing arrow object (#14688)
mroeschke Jan 11, 2024
85acdc6
Fix constructing Series/Index from arrow array and dtype (#14686)
mroeschke Jan 11, 2024
0d87bb7
refactor CUDA versions in dependencies.yaml (#14733)
jameslamb Jan 11, 2024
e50fa00
Expose streams in Parquet reader and writer APIs (#14359)
shrshi Jan 11, 2024
9937c7f
Remove unnecessary **kwargs in function signatures (#14635)
mroeschke Jan 12, 2024
9e6400b
Describe unpickling expectations when cudf.pandas is enabled (#14693)
shwina Jan 12, 2024
3c55a6e
Fix CMake args (#14746)
vyasr Jan 12, 2024
2003ea2
Remove usages of rapids-env-update (#14748)
KyleFromNVIDIA Jan 12, 2024
c0a3cd1
Clean up base column methods (#14725)
mroeschke Jan 12, 2024
7a42b8b
Use as_column instead of arange for range like inputs (#14689)
mroeschke Jan 12, 2024
27b106f
[Java] Choose The Correct RoundingMode For Checking Decimal OutOfBoun…
razajafri Jan 12, 2024
5c78b7e
Fix logic bug introduced in #14730 (#14742)
wence- Jan 12, 2024
7ca988f
Fix ``Groupby.get_group`` (#14728)
rjzamora Jan 12, 2024
0710335
Refactoring of Buffers (last step towards unifying COW and Spilling) …
madsbk Jan 15, 2024
726a7f3
Pin pytest-cases<3.8.2 (#14756)
mroeschke Jan 16, 2024
2bead95
Revise ``shuffle`` deprecation to align with dask/dask (#14762)
rjzamora Jan 17, 2024
8f5e64d
Provide explicit pool size and avoid RMM detail APIs (#14741)
harrism Jan 17, 2024
c7acdaa
Move chars column to parent data buffer in strings column (#14202)
karthikeyann Jan 17, 2024
6abef4a
Ensure that all CUDA kernels in cudf have hidden visibility. (#14726)
robertmaynard Jan 17, 2024
56a7b95
Fix ptx file discovery in editable installs (#14767)
vyasr Jan 17, 2024
1bff508
Expose streams in ORC reader and writer APIs (#14350)
shrshi Jan 17, 2024
c811987
Defer PTX file load to runtime (#13690)
brandon-b-miller Jan 17, 2024
42e946f
Reorganize ORC reader into multiple files and perform some small fixe…
ttnghia Jan 17, 2024
49dd5bf
Generate unified Python/C++ docs (#13846)
vyasr Jan 17, 2024
9acddc0
Reduce execution time of Parquet C++ tests (#14750)
vuule Jan 17, 2024
734ca75
Implement `cudf.MultiIndex.from_arrays` (#14740)
mroeschke Jan 18, 2024
70cdeec
Use _from_data instead of _from_columns for initialzing Frame (#14755)
mroeschke Jan 18, 2024
66c3e8e
Resolve degenerate performance in `create_structs_data` (#14761)
SurajAralihalli Jan 18, 2024
c0a9510
Remove unparseable attributes from all nodes (#14780)
vyasr Jan 18, 2024
eeee795
fix benchmarks compatibility with newer pytest-cases (#14764)
jameslamb Jan 18, 2024
2c1b949
Clean up `DatetimeIndex.__init__` constructor (#14774)
mroeschke Jan 19, 2024
f785ed3
Use instance over is_foo_dtype (#14641)
mroeschke Jan 19, 2024
4317313
Fix calls to deprecated strings factory API (#14771)
davidwendt Jan 19, 2024
8fa2945
Disable parallel build (#14796)
vyasr Jan 19, 2024
e0905ac
Add `pynvjitlink` as a dependency (#14763)
brandon-b-miller Jan 19, 2024
aba34fd
Add pip install instructions to README (#13677)
shwina Jan 19, 2024
d017cf4
Clean up `TimedeltaIndex.__init__` constructor (#14775)
mroeschke Jan 19, 2024
9bb9af6
Expose streams in public filling APIs for label_bins (#14401)
ZelboK Jan 19, 2024
446da75
Move cudf::char_utf8 definition from detail to public header (#14779)
davidwendt Jan 19, 2024
51ecef3
Remove **kwargs from astype (#14765)
mroeschke Jan 19, 2024
a38fc01
Fix shared-workflows repo name (#14784)
raydouglass Jan 19, 2024
bfbaf3f
Add BaseOffset as a final proxy type to pass instancechecks for offse…
shwina Jan 19, 2024
3f7983e
Create strings-specific make_offsets_child_column for multiple offset…
davidwendt Jan 19, 2024
09b6e45
Consolidate cudf object handling in as_column (#14754)
mroeschke Jan 19, 2024
1c37c78
Some `frame.py` typing, move seldom used methods in `frame.py` (#14766)
mroeschke Jan 19, 2024
eb850fa
Add pylibcudf to the docs (#14791)
vyasr Jan 20, 2024
1994280
Enable intermediate proxies to be picklable (#14752)
shwina Jan 20, 2024
f258d04
Remove unused/single use methods (#14739)
mroeschke Jan 22, 2024
d1c0e25
Implement to_datetime(..., utc=True) (#14749)
mroeschke Jan 22, 2024
8fdc62b
JSON - Parse mixed types as string in JSON reader (#14572)
karthikeyann Jan 22, 2024
f24f0b5
Work around incompatibilities between V2 page header handling and zSt…
etseidl Jan 22, 2024
b1468a5
Add CUDF_TEST_PROGRAM_MAIN macro to tests lacking it (#14751)
etseidl Jan 22, 2024
42d8d78
Add SHA-1 and SHA-2 hash functions. (#14391)
bdice Jan 22, 2024
ef3ce4b
Fix total_byte_size in Parquet row group metadata (#14802)
etseidl Jan 23, 2024
a39897c
Fix Aggregation Type Promotion: Ensure Unsigned Input Types Result in…
SurajAralihalli Jan 23, 2024
c83b9fd
Refactor and add validation to IntervalIndex.__init__ (#14778)
mroeschke Jan 23, 2024
c949abe
Add ci check for external kernels (#14768)
robertmaynard Jan 23, 2024
67a36a9
Simplify ColumnAccessor methods; avoid unnecessary validations (#14758)
mroeschke Jan 23, 2024
f800f5a
JSON single quote normalization API (#14729)
shrshi Jan 24, 2024
5b1eef3
Parquet sub-rowgroup reading. (#14360)
nvdbaranec Jan 25, 2024
0cd58fb
Fix index difference to follow the pandas format (#14789)
amiralimi Jan 25, 2024
821f4de
Fixed an issue with output chunking computation stemming from input c…
nvdbaranec Jan 25, 2024
7cd3834
revert sum agg (#14907)
SurajAralihalli Jan 29, 2024
fc2b977
Pin pytest to <8 (#14920)
galipremsagar Jan 29, 2024
8d2b0ed
Fix the bounce buffer size in ORC writer (#14947)
vuule Feb 7, 2024
c78033b
Exclude tests from builds (#14981)
vyasr Feb 7, 2024
82f6a53
Update Changelog [skip ci]
raydouglass Feb 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 35 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# syntax=docker/dockerfile:1.5

ARG BASE
ARG PYTHON_PACKAGE_MANAGER=conda

FROM ${BASE} as pip-base

RUN apt update -y \
&& DEBIAN_FRONTEND=noninteractive apt install -y \
librdkafka-dev \
&& rm -rf /tmp/* /var/tmp/* /var/cache/apt/* /var/lib/apt/lists/*;

ENV DEFAULT_VIRTUAL_ENV=rapids

FROM ${BASE} as conda-base

ENV DEFAULT_CONDA_ENV=rapids

FROM ${PYTHON_PACKAGE_MANAGER}-base

ARG CUDA
ENV CUDAARCHS="RAPIDS"
ENV CUDA_VERSION="${CUDA_VERSION:-${CUDA}}"

ARG PYTHON_PACKAGE_MANAGER
ENV PYTHON_PACKAGE_MANAGER="${PYTHON_PACKAGE_MANAGER}"

ENV PYTHONSAFEPATH="1"
ENV PYTHONUNBUFFERED="1"
ENV PYTHONDONTWRITEBYTECODE="1"

ENV SCCACHE_REGION="us-east-2"
ENV SCCACHE_BUCKET="rapids-sccache-devs"
ENV VAULT_HOST="https://vault.ops.k8s.rapids.ai"
ENV HISTFILE="/home/coder/.cache/._bash_history"
35 changes: 35 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# cuDF Development Containers

This directory contains [devcontainer configurations](https://containers.dev/implementors/json_reference/) for using VSCode to [develop in a container](https://code.visualstudio.com/docs/devcontainers/containers) via the `Remote Containers` [extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) or [GitHub Codespaces](https://github.com/codespaces).

This container is a turnkey development environment for building and testing the cuDF C++ and Python libraries.

## Table of Contents

* [Prerequisites](#prerequisites)
* [Host bind mounts](#host-bind-mounts)
* [Launch a Dev Container](#launch-a-dev-container)

## Prerequisites

* [VSCode](https://code.visualstudio.com/download)
* [VSCode Remote Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)

## Host bind mounts

By default, the following directories are bind-mounted into the devcontainer:

* `${repo}:/home/coder/cudf`
* `${repo}/../.aws:/home/coder/.aws`
* `${repo}/../.local:/home/coder/.local`
* `${repo}/../.cache:/home/coder/.cache`
* `${repo}/../.conda:/home/coder/.conda`
* `${repo}/../.config:/home/coder/.config`

This ensures caches, configurations, dependencies, and your commits are persisted on the host across container runs.

## Launch a Dev Container

To launch a devcontainer from VSCode, open the cuDF repo and select the "Reopen in Container" button in the bottom right:<br/><img src="https://user-images.githubusercontent.com/178183/221771999-97ab29d5-e718-4e5f-b32f-2cdd51bba25c.png"/>

Alternatively, open the VSCode command palette (typically `cmd/ctrl + shift + P`) and run the "Rebuild and Reopen in Container" command.
37 changes: 37 additions & 0 deletions .devcontainer/cuda11.8-conda/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"build": {
"context": "${localWorkspaceFolder}/.devcontainer",
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
"args": {
"CUDA": "11.8",
"PYTHON_PACKAGE_MANAGER": "conda",
"BASE": "rapidsai/devcontainers:24.02-cpp-cuda11.8-mambaforge-ubuntu22.04"
}
},
"hostRequirements": {"gpu": "optional"},
"features": {
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils:24.2": {}
},
"overrideFeatureInstallOrder": [
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda11.8-envs}"],
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; . rapids-post-attach-command; fi"],
"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/cudf,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/../.aws,target=/home/coder/.aws,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.cache,target=/home/coder/.cache,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.config,target=/home/coder/.config,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.conda/pkgs,target=/home/coder/.conda/pkgs,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.conda/${localWorkspaceFolderBasename}-cuda11.8-envs,target=/home/coder/.conda/envs,type=bind,consistency=consistent"
],
"customizations": {
"vscode": {
"extensions": [
"ms-python.flake8",
"nvidia.nsight-vscode-edition"
]
}
}
}
36 changes: 36 additions & 0 deletions .devcontainer/cuda11.8-pip/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"build": {
"context": "${localWorkspaceFolder}/.devcontainer",
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
"args": {
"CUDA": "11.8",
"PYTHON_PACKAGE_MANAGER": "pip",
"BASE": "rapidsai/devcontainers:24.02-cpp-llvm16-cuda11.8-ubuntu22.04"
}
},
"hostRequirements": {"gpu": "optional"},
"features": {
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils:24.2": {}
},
"overrideFeatureInstallOrder": [
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda11.8-venvs}"],
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; . rapids-post-attach-command; fi"],
"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/cudf,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/../.aws,target=/home/coder/.aws,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.cache,target=/home/coder/.cache,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.config,target=/home/coder/.config,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.local/share/${localWorkspaceFolderBasename}-cuda11.8-venvs,target=/home/coder/.local/share/venvs,type=bind,consistency=consistent"
],
"customizations": {
"vscode": {
"extensions": [
"ms-python.flake8",
"nvidia.nsight-vscode-edition"
]
}
}
}
37 changes: 37 additions & 0 deletions .devcontainer/cuda12.0-conda/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"build": {
"context": "${localWorkspaceFolder}/.devcontainer",
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
"args": {
"CUDA": "12.0",
"PYTHON_PACKAGE_MANAGER": "conda",
"BASE": "rapidsai/devcontainers:24.02-cpp-mambaforge-ubuntu22.04"
}
},
"hostRequirements": {"gpu": "optional"},
"features": {
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils:24.2": {}
},
"overrideFeatureInstallOrder": [
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config,conda/pkgs,conda/${localWorkspaceFolderBasename}-cuda12.0-envs}"],
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; . rapids-post-attach-command; fi"],
"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/cudf,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/../.aws,target=/home/coder/.aws,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.cache,target=/home/coder/.cache,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.config,target=/home/coder/.config,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.conda/pkgs,target=/home/coder/.conda/pkgs,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.conda/${localWorkspaceFolderBasename}-cuda12.0-envs,target=/home/coder/.conda/envs,type=bind,consistency=consistent"
],
"customizations": {
"vscode": {
"extensions": [
"ms-python.flake8",
"nvidia.nsight-vscode-edition"
]
}
}
}
36 changes: 36 additions & 0 deletions .devcontainer/cuda12.0-pip/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"build": {
"context": "${localWorkspaceFolder}/.devcontainer",
"dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile",
"args": {
"CUDA": "12.0",
"PYTHON_PACKAGE_MANAGER": "pip",
"BASE": "rapidsai/devcontainers:24.02-cpp-llvm16-cuda12.0-ubuntu22.04"
}
},
"hostRequirements": {"gpu": "optional"},
"features": {
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils:24.2": {}
},
"overrideFeatureInstallOrder": [
"ghcr.io/rapidsai/devcontainers/features/rapids-build-utils"
],
"initializeCommand": ["/bin/bash", "-c", "mkdir -m 0755 -p ${localWorkspaceFolder}/../.{aws,cache,config/pip,local/share/${localWorkspaceFolderBasename}-cuda12.0-venvs}"],
"postAttachCommand": ["/bin/bash", "-c", "if [ ${CODESPACES:-false} = 'true' ]; then . devcontainer-utils-post-attach-command; . rapids-post-attach-command; fi"],
"workspaceFolder": "/home/coder",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/coder/cudf,type=bind,consistency=consistent",
"mounts": [
"source=${localWorkspaceFolder}/../.aws,target=/home/coder/.aws,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.cache,target=/home/coder/.cache,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.config,target=/home/coder/.config,type=bind,consistency=consistent",
"source=${localWorkspaceFolder}/../.local/share/${localWorkspaceFolderBasename}-cuda12.0-venvs,target=/home/coder/.local/share/venvs,type=bind,consistency=consistent"
],
"customizations": {
"vscode": {
"extensions": [
"ms-python.flake8",
"nvidia.nsight-vscode-edition"
]
}
}
}
16 changes: 8 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ concurrency:
jobs:
cpp-build:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.12
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@branch-24.02
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand All @@ -37,7 +37,7 @@ jobs:
python-build:
needs: [cpp-build]
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-23.12
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-24.02
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand All @@ -46,7 +46,7 @@ jobs:
upload-conda:
needs: [cpp-build, python-build]
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@branch-23.12
uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@branch-24.02
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand All @@ -57,7 +57,7 @@ jobs:
if: github.ref_type == 'branch'
needs: python-build
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-23.12
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-24.02
with:
arch: "amd64"
branch: ${{ inputs.branch }}
Expand All @@ -69,7 +69,7 @@ jobs:
sha: ${{ inputs.sha }}
wheel-build-cudf:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-23.12
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.02
with:
build_type: ${{ inputs.build_type || 'branch' }}
build-2_28-wheels: "true"
Expand All @@ -80,7 +80,7 @@ jobs:
wheel-publish-cudf:
needs: wheel-build-cudf
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-23.12
uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-24.02
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand All @@ -90,7 +90,7 @@ jobs:
wheel-build-dask-cudf:
needs: wheel-publish-cudf
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-23.12
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-24.02
with:
matrix_filter: map(select(.ARCH == "amd64" and .PY_VER == "3.10" and (.CUDA_VER == "11.8.0" or .CUDA_VER == "12.0.1")))
build_type: ${{ inputs.build_type || 'branch' }}
Expand All @@ -101,7 +101,7 @@ jobs:
wheel-publish-dask-cudf:
needs: wheel-build-dask-cudf
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-23.12
uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-24.02
with:
build_type: ${{ inputs.build_type || 'branch' }}
branch: ${{ inputs.branch }}
Expand Down
Loading
Loading