Removes all tokens that do not belong to the specified sequence
(mem: llama_memory_t, seq_id: Union[llama_seq_id, int], /)
| 2358 | # llama_seq_id seq_id); |
| 2359 | @ctypes_function("llama_memory_seq_keep", [llama_memory_t_ctypes, llama_seq_id], None) |
| 2360 | def llama_memory_seq_keep(mem: llama_memory_t, seq_id: Union[llama_seq_id, int], /): |
| 2361 | """Removes all tokens that do not belong to the specified sequence""" |
| 2362 | ... |
| 2363 | |
| 2364 | |
| 2365 | # // Adds relative position "delta" to all tokens that belong to the specified sequence and have positions in [p0, p1) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…