Use Quent bindings in cudf-polars
Author: TomAugspurgerCreated Jun 23, 2026Updated Sep 23, 2026
LabelsPythonimprovementcudf-polars
https://github.com/rapidsai/quent/pull/140 added autogenerated python bindings for Quent's types. In https://github.com/rapidsai/cudf/pull/22337, we're essentially reproducing these out by hand.
This issue is to track work on how cudf-polars can use the bindings autogenerated by quent, letting us remove much of the code from cudf_polars/quent/_types.py.
Migration
Our migration will, at least initially, have 3 parts / pull requests
- Add (but don't yet use) a
model.yamldefining our custom schema along with acudf-polars-quest-bridgeRust library for generating the instrumentation library (including Python bindings) from the schema definition. (https://github.com/NVIDIA/cudf/pull/24271) - Add (but don't yet use) a
cudf-polars-quent-analyzerlibrary that sits between traces generated by cudf-polars with this instrumentation and the Quent UI. This is a (decently large) Rust library implementing various traits defined by the Quent UI. - Migrate cudf-polars to use the new Quent bindings
Eventually, we'll also figure out how to build and distribute the bindings, so that users don't need a Rust toolchain to build the instrumentation library and python bindings. But at least initially, we should be able to manually build the bindings.
Source: rapidsai/cudf