
Georgi GerganovandJohannes Gäßler
e92d53b29e
sampling : optimize samplers by reusing bucket sort (#15665)
* sampling : optimize sorting using bucket sort in more places
ggml-ci
* sampling : do not sort in dist sampler
ggml-ci
* sampling : avoid heap allocations for sort buffers
ggml-ci
* common : add option to sort sampling candidates by probability
ggml-ci
* sampling : revert the change for preserving sort buffers
* sampling : use std::copy instead of memcpy
* sampling : clarify purpose of partial sort helpers
ggml-ci
* cont : remove wrong comment [no ci]
* common : update comment
Co-authored-by: Johannes Gäßler <[email protected]>
---------
Co-authored-by: Johannes Gäßler <[email protected]>
2025-08-31 20:41:02 +03:00
..
2025-08-14 12:03:57 +02:00
2025-05-02 20:27:13 +02:00
2025-05-20 12:03:17 +02:00
2025-01-12 11:32:42 +02:00
2025-08-26 23:36:05 -07:00
2025-07-03 07:48:32 +03:00
2025-05-29 12:17:16 +03:00
2025-08-23 15:21:52 +02:00
2025-08-29 14:53:41 +02:00
2025-04-24 16:00:10 +03:00
2025-06-01 18:08:05 +02:00
2025-05-30 16:25:45 +03:00
2025-04-24 16:00:10 +03:00
2025-04-24 16:00:10 +03:00
2025-05-25 01:48:08 +01:00
2025-05-30 16:25:45 +03:00
2025-04-24 16:00:10 +03:00
2025-06-30 10:17:18 +02:00
2025-01-06 10:55:18 +02:00
2025-05-04 23:43:42 +02:00
2025-08-26 22:14:38 +02:00
2025-03-10 14:07:15 +02:00
2025-04-30 10:44:07 +02:00
2025-05-14 19:50:57 +01:00
2025-08-31 20:41:02 +03:00
2025-07-30 15:12:02 +03:00
2025-01-12 11:32:42 +02:00
2025-06-30 10:17:18 +02:00
2025-04-24 16:00:10 +03:00
2025-04-24 16:00:10 +03:00
2025-01-12 11:32:42 +02:00
2025-06-30 10:17:18 +02:00