[BUG] Reserve GPU memory for empty list-column offsets in cudf-polars
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start with empty_table_chunk in python/cudf_polars/cudf_polars/streaming/actor_graph/utils.py, then make_empty_column in python/cudf_polars/cudf_polars/utils/dtypes.py, which allocates the zero offset buffer for list columns. The caller is the cursor branch in asof_join.py around lines 693-706. Done when those offset allocations run under a streaming GPU memory reservation, the zero-row typed table is unchanged, and an as-of join with an empty right side returns left rows in order with typed null list payloads.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
The shared cudf-polars empty_table_chunk helper builds a typed zero-row table without acquiring a GPU memory reservation. For each list column, make_empty_column creates a device buffer containing one 32-bit zero offset. The construction recurses through nested types, so list children can also allocate offsets. When callers invoke the helper directly, these allocations bypass the streaming memory reservation. Empty-table helper · Offset construction
Steps/Code to reproduce bug
On the streaming as-of join path in #25518, use a nonempty left input and an empty right input with a typed list payload. When the cursor reaches the end of the right input with neither a current window nor a retained row, it calls empty_table_chunk directly to construct the right table. Cursor branch
Expected behavior
Cover offset-buffer construction in the shared helper path with a streaming GPU memory reservation. Preserve the typed zero-row table and verify that the as-of join retains left rows in order and returns nulls of the declared list type for the unmatched right payload.
Environment overview
Source inspection of cudf-polars on PR head bac0e18ea9b53d99c882ead482ef3a4ef04af2d7. No GPU run or memory-pressure failure was measured.
Additional context
The helper predates #25518. This tracks the shared allocation behavior, with the as-of join as one caller. PR discussion
Prepared with AI assistance. Responsible human: Matt711.
Validation: Traced the allocation and streaming as-of join path in the clean checkout at bac0e18ea9b53d99c882ead482ef3a4ef04af2d7. Confirmed the shared helper exists on the PR base and checked the public PR discussion. Targeted GitHub searches found no dedicated issue or fix. Validation was source-only.
AI-assisted; responsible human: @Matt711.
Source discussion: https://github.com/NVIDIA/cudf/pull/25518
- Lingua principale
- C++
- Stelle
- 9.8k
- Fork
- 1.2k
- Merge medio
- 3g 7h
- PR unite (30g)
- 329
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NVIDIA/cudf
-
cudf.pandas Python
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 61/100
I maintainer di solito rispondono entro 1 giorno
-
[FEA] cudf-polars: `str.slice` rejects a column or expression as the offsetForse di nuovo libera @AVS0703 l’ha presa 21 giorni fa e non c’è nessuna pull request aperta. Apertacudf-polars feature request good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
NVIDIA/cudf#24982 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[FEA] cudf-polars: support `min_horizontal` and `max_horizontal` on StringForse già presa @lance-lii l’ha presa 21 giorni fa. Apertacudf-polars feature request good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
NVIDIA/cudf#24981 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
improvement libcudf
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NVIDIA/cudf#24930 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 95/100
Tracktion/tracktion_engine#505 ·
I maintainer di solito rispondono entro 1 giorno
-
Merge discards entry history (and the other side’s version) when “Max. history items” is unlimitedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
keepassxreboot/keepassxc#14157 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
tenstorrent/tt-metal#67322 ·
I maintainer di solito rispondono entro 1 giorno
-
`SIGFPE` reading `JSON` from a `Wide` part when `max_prefixes_deserialization_thread_pool_size` is 0Apertacomp-json-datatype v25.8-affected v26.10-affected v26.11-affected v26.8-affected v26.9-affected
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ClickHouse/ClickHouse#134554 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
jesdga95/basalt#747 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno