[FEA] Size balanced k-means predict batches using the selected 1-NN backend
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 28/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- cpp
调研方向
Start in cpp/src/cluster/detail/kmeans_balanced.cuh, where predict picks the 1-NN backend and calc_minibatch_size sizes the outer row batch before that choice is made. Check how the fused and unfused backends differ in scratch requirements, then make the batch sizing depend on the backend that will actually run. Done when the 2.495M-row assignment case in #2948 needs one fused launch and the existing balanced k-means tests still pass.
由索引模型根据 Issue 内容生成。
描述
Balanced k-means predict sizes its outer row batch before selecting the 1-NN backend. calc_minibatch_size budgets for the unfused distance tile even when the fused backend runs.
On B200, the first full assignment in #2948 (2.495M FP32 rows, 1,536 dimensions, 8,192 centroids) issued 153 fused 1-NN launches. A prototype using the fused scratch requirement processed the same input in one launch with about 48 MiB of scratch, saving about 6.6 ms in that assignment.
- 主要语言
- Cuda
- 星标
- 902
- 派生
- 267
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 57
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/cuvs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
[BUG] CAGRA multi-CTA and multi-kernel search over-allocate the hashmap they use可能已有人在做 @mc8max 于 12 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
[BUG] cuVS Bench Faiss CAGRA b_ratio reads the wrong JSON key可能已有人在做 @arcusbuilds 于 55 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
doc
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Upgrade faiss to v1.16.0可能已有人在做 @aamijar 于 8 天前认领。 未关闭faiss improvement
难度 1/5 1 小时以内 新手友好度 86/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
supersonic-lumina/ENM156#50 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
tenstorrent/tt-metal#67322 ·
维护者通常 1 天内回复
-
`mm_fp4(backend="cute-dsl")` on SM107 gives wrong output: `alpha` is rounded to the output dtype before the FP32 epilogue可能已有人在做 @shotsan 今天认领。 未关闭needs-triage
难度 2/5 1-3 小时 新手友好度 62/100
flashinfer-ai/flashinfer#10041 ·
维护者通常 1 天内回复
-
[BUG] Stats API always returns model-level stats, ignoring target_stat_levels and stat filters可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭untriaged
难度 2/5 1-3 小时 新手友好度 72/100
opensearch-project/ml-commons#5293 · 1 条评论 ·
维护者通常 1 天内回复
-
[BUG] sapo_loss_fn gives a NaN gradient when a masked token's log ratio overflows exp可能已有人在做 @shashank11yadav 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
areal-project/AReaL#2007 ·
维护者通常 1 天内回复