You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for arbitrary segment sizes to DeviceBatchedTopK #9253
The goal of this issue is to establish the functionality for cub::DeviceBatchedTopK that works for segment sizes of arbitrary segment sizes. This issue can be closed when the following feature matrix is covered:
Scope
supported segment sizes: arbitrary segment sizes of up to billions of items
support for arbitrary k values
supported output requirements:
non-deterministic
unsorted, sorted (unstable)
Focus / details
Supported types: f32, bf16 (at least)
It should return both values and their corresponding indices.
It should support a wide range of N, K, and batch sizes. jax.lax.top_k has no respriction on it
Activity
cub::DeviceSegmentedTopK#8363max_total_num_itemstoDeviceBatchedTopK#9279DeviceBatchedTopK#9806DeviceBatchedTopKalgorithm composition, fusion, compilation, and dispatching heuristic #9807DeviceBatchedTopK#9806DeviceBatchedTopK#10512