(
sampler: llama_cpp.llama_sampler_p,
cur_p: llama_cpp.llama_token_data_array_p,
)
| 646 | self.apply_func = apply_func |
| 647 | |
| 648 | def apply_wrapper( |
| 649 | sampler: llama_cpp.llama_sampler_p, |
| 650 | cur_p: llama_cpp.llama_token_data_array_p, |
| 651 | ): |
| 652 | self.apply_func(cur_p) |
| 653 | |
| 654 | def free_wrapper(sampler: llama_cpp.llama_sampler_p): |
| 655 | pass |
nothing calls this directly
no test coverage detected