Files
tinygrad/test
53d6f1e1bb Add bitonic cat sort (#9422)
* poc

* repeated values fail, sigh

* is this being timed out?

* fix up down names

* bitonic v2, does this run?

* bitonic v3, faster

* bitonic v3.1, faster

* bitonic v3.1.1, same speed unlucky

* support dim and indices

* bitonic v3.2, simpler code, TODO repeated indices

* bruv gimme green for once cmon

* cat (stack) implementation, slow but maybe one day when cat is fast meow

* revert to v3.2

* bitonic v4, who let the cats out edition

* clean up variable names

* figured out repeated indices :D

* ruff check --fix

* use sort for topk

* add Tensor.sort everywhere

* fix docs and add some types

* slightly better variable names

* am I doing torch inplace correctly?

* delegate sort to values_stable

* add a contig, faster first sort

* maybe don't test_inplace

---------

Co-authored-by: chenyu <[email protected]>
2025-03-17 12:01:23 -04:00
..
2025-03-09 20:01:42 -04:00
2025-02-20 18:03:09 -05:00
2025-03-05 22:30:38 +03:00
2025-02-20 18:03:09 -05:00
2024-12-06 15:48:16 +01:00
2020-12-15 23:44:08 -08:00
2024-11-11 20:18:04 +08:00
2025-02-18 15:26:58 +08:00
2025-02-17 14:47:54 +01:00
2024-07-12 20:43:36 -07:00
2025-02-20 18:03:09 -05:00
2025-02-18 15:26:58 +08:00
2025-02-26 10:21:14 -05:00
2025-02-20 18:03:09 -05:00
2025-01-26 17:59:15 +09:00
2025-02-26 10:21:14 -05:00
2025-03-02 16:27:22 +03:00
2025-02-20 18:03:09 -05:00
2025-02-20 18:03:09 -05:00
2025-01-29 13:53:23 -05:00
2025-03-10 16:05:30 -04:00
2023-12-07 17:07:05 -08:00
2025-02-13 15:42:34 -05:00
2025-03-17 12:01:23 -04:00
2025-02-23 19:23:14 +01:00
2025-02-20 18:03:09 -05:00
2025-03-10 16:05:30 -04:00
2025-01-20 09:40:36 -08:00
2024-10-12 18:20:44 +08:00
2025-02-10 12:45:11 +01:00
2025-03-11 23:03:15 -04:00
2025-02-20 18:03:09 -05:00
2025-02-20 18:03:09 -05:00
2025-02-20 18:03:09 -05:00