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

Bump to nvcomp 3.0.6. #15128

Merged
merged 3 commits into from
Feb 27, 2024
Merged
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 conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ dependencies:
- numpy>=1.21,<1.25
- numpydoc
- nvcc_linux-64=11.8
- nvcomp==3.0.5
- nvcomp==3.0.6
- nvtx>=0.2.1
- packaging
- pandas>=1.3,<1.6.0dev0
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-120_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ dependencies:
- numba>=0.57
- numpy>=1.21,<1.25
- numpydoc
- nvcomp==3.0.5
- nvcomp==3.0.6
- nvtx>=0.2.1
- packaging
- pandas>=1.3,<1.6.0dev0
Expand Down
2 changes: 1 addition & 1 deletion conda/recipes/libcudf/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spdlog_version:
- ">=1.12.0,<1.13"

nvcomp_version:
- "=3.0.5"
- "=3.0.6"

zlib_version:
- ">=1.2.13"
Expand Down
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ dependencies:
- libkvikio==24.2.*
- librdkafka>=1.9.0,<1.10.0a0
# Align nvcomp version with rapids-cmake
- nvcomp==3.0.5
- nvcomp==3.0.6
- spdlog>=1.12.0,<1.13
build_wheels:
common:
Expand Down
Binary file not shown.
11 changes: 11 additions & 0 deletions python/cudf/cudf/tests/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -3040,3 +3040,14 @@ def test_parquet_reader_multiindex():
def test_parquet_reader_engine_error():
with pytest.raises(ValueError):
cudf.read_parquet(BytesIO(), engine="abc")


def test_parquet_reader_zstd_huff_tables(datadir):
# Ensure that this zstd-compressed file does not overrun buffers. The
# problem was fixed in nvcomp 3.0.6.
# See https://github.com/rapidsai/cudf/issues/15096
fname = datadir / "zstd_huff_tables_bug.parquet"

expected = pa.parquet.read_table(fname).to_pandas()
actual = cudf.read_parquet(fname)
assert_eq(actual, expected)
Loading