Pascal
43fe9c6428
llama: fix k-pool scatter data race on shared sequences ( #29994 )
...
* llama: re-pool each shared k-pool rep once
With shared cells every pool is re-pooled, and since the pooled keys
are always scattered, the pools a seq_cp shares between sequences
wrote the same rep row from several scatter entries, a data race on
the CPU backend. Mark each rep once: the sharing sequences read the
same row through pool_cells.
* llama: assert whole-sequence seq_cp in the hybrid idx memory
The recurrent state is always copied whole whatever the range, and a
k-pool cell shared by a partial copy could carry two pool groupings
with a single pooled row. Every caller copies whole sequences, so
reject partial ranges instead of supporting them.
* llama: drop the k-pool cache_safe mode
With whole-sequence seq_cp, sequences sharing cells share their pools
too, so the pooled row of a shared rep is valid for all of them. Mark
each rep once in every ubatch instead of re-pooling everything while
cells are shared, which removes the sharing scan and the stale-all
workarounds in seq_rm, state_read and state_drop. seq_cp now only
stales the destination.
2026-10-06 07:41:57 +02:00
..
2026-09-18 15:20:03 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-09-03 08:53:08 +02:00
2026-09-24 08:57:31 +02:00
2026-09-03 08:53:08 +02:00
2026-09-10 16:09:35 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-10-05 14:02:40 +02:00
2026-08-10 11:58:32 +02:00
2026-06-05 11:09:36 +03:00
2026-10-05 01:35:49 +02:00
2026-09-18 15:20:03 +02:00
2026-10-05 01:35:49 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-10-05 01:35:49 +02:00
2026-09-07 00:47:05 +08:00
2026-10-05 01:35:49 +02:00
2026-10-05 01:35:49 +02:00
2026-09-03 08:53:08 +02:00
2026-07-08 18:18:09 +08:00
2026-10-05 01:35:49 +02:00
2026-09-03 08:53:08 +02:00
2026-09-03 08:53:08 +02:00
2026-06-05 11:09:36 +03:00
2026-09-15 12:33:26 +03:00
2026-05-16 11:09:27 +02:00
2026-09-03 08:53:08 +02:00
2026-06-05 11:09:36 +03:00
2026-09-18 15:20:03 +02:00
2026-09-18 15:20:03 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-09-18 15:20:03 +02:00
2026-10-05 01:35:49 +02:00
2026-10-05 01:35:49 +02:00
2026-09-14 14:05:37 +03:00
2026-10-05 01:35:49 +02:00
2026-10-05 01:35:49 +02:00
2026-06-05 11:09:36 +03:00
2026-10-05 01:35:49 +02:00
2026-09-01 13:55:45 +02:00
2026-10-06 07:41:57 +02:00
2026-10-05 01:35:49 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-09-10 09:49:56 +03:00
2026-09-10 09:49:56 +03:00
2026-09-03 08:53:08 +02:00
2026-10-05 01:35:49 +02:00
2026-09-10 09:49:56 +03:00
2026-09-03 08:53:08 +02:00
2026-09-03 08:53:08 +02:00
2026-09-27 10:16:23 +03:00
2026-05-04 12:36:59 +02:00
2026-09-03 08:53:08 +02:00
2026-09-22 15:04:52 +02:00
2026-09-03 08:53:08 +02:00
2026-09-04 14:31:36 +02:00
2026-06-05 11:09:36 +03:00
2026-09-07 00:47:05 +08:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-09-10 16:09:35 +03:00
2026-09-08 11:31:48 +08:00
2026-09-07 00:47:05 +08:00
2026-09-18 15:20:03 +02:00
2026-09-03 08:53:08 +02:00
2026-09-03 08:53:08 +02:00
2026-09-03 08:53:08 +02:00
2026-09-07 00:47:05 +08:00
2026-09-18 15:20:03 +02:00
2026-05-04 12:36:59 +02:00
2026-06-12 10:21:06 +03:00
2026-06-05 11:09:36 +03:00
2026-06-26 08:50:54 +03:00
2026-09-20 07:58:14 +03:00
2026-06-05 11:09:36 +03:00
2026-09-14 14:04:05 +03:00
2026-09-18 15:20:03 +02:00
2026-09-30 17:04:35 +03:00
2026-08-21 18:54:29 +02:00
2026-06-05 11:09:36 +03:00
2026-09-11 12:41:54 +03:00
2026-09-07 00:47:05 +08:00
2026-09-21 13:57:36 +03:00
2026-06-05 11:09:36 +03:00
2026-05-04 12:36:59 +02:00
2026-10-03 02:50:48 +02:00
2026-10-02 11:56:04 +02:00
2026-06-05 11:09:36 +03:00
2026-09-18 15:20:03 +02:00
2026-08-27 07:55:31 +03:00
2026-10-05 01:35:49 +02:00
2026-09-17 13:52:36 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-09-10 16:09:35 +03:00
2026-09-10 16:09:35 +03:00
2026-09-18 15:20:03 +02:00
2026-06-05 11:09:36 +03:00
2026-09-07 00:47:05 +08:00
2026-09-18 15:20:03 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-05-16 11:09:27 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-09-11 12:41:54 +03:00
2026-09-18 15:20:03 +02:00
2026-06-05 11:09:36 +03:00
2026-08-21 18:54:29 +02:00
2026-08-11 14:18:30 +02:00
2026-06-05 11:09:36 +03:00
2026-09-03 08:53:08 +02:00
2026-05-16 11:09:27 +02:00
2026-06-12 10:21:06 +03:00
2026-09-03 08:53:08 +02:00
2026-10-05 01:35:49 +02:00
2026-08-04 17:26:15 +02:00
2026-09-11 12:41:54 +03:00
2026-09-03 08:53:08 +02:00
2026-10-06 07:41:57 +02:00
2026-10-05 01:35:49 +02:00
2026-10-05 01:35:49 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-09-03 08:53:08 +02:00
2026-02-16 14:35:04 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-02-16 14:35:04 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-09-18 15:20:03 +02:00
2026-06-05 11:09:36 +03:00
2026-09-06 17:43:58 +02:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-06-05 11:09:36 +03:00
2026-09-14 14:05:37 +03:00
2026-09-15 12:33:26 +03:00
2026-05-04 12:36:59 +02:00
2026-06-05 11:09:36 +03:00
2026-05-16 11:09:27 +02:00
2026-06-05 11:09:36 +03:00