viable/strict/1788583795: Cover what the 1-D sort fast paths have to get right (#196000)
- PyTorch 近 90 天出现 549 次
- PyTorch 近 90 天第 543 次发版
- 上一次:同一天稍早 · ciflow/torchtitan/195999
发生了什么
test_sort_1d_parallel only checked integral, ascending sort against a non-decreasing assertion - it never touched NaN placement, -0.0/0.0 equality, descending order, or the stable=True it already passed but never verified. Extends it over floating dtypes too, parametrized on descending/stable, with NaN (both signs), both zeros, and the infinities seeded into the input; checks NaN placement, monotonicity of the rest,…
摘要按规则整理自下方来源原文