(self)
| 704 | llama_cpp.llama_sampler_chain_add(self.sampler, sampler) |
| 705 | |
| 706 | def add_softmax(self): |
| 707 | warnings.warn( |
| 708 | "add_softmax is deprecated; llama_sampler_init_dist now samples directly from logits", |
| 709 | DeprecationWarning, |
| 710 | stacklevel=2, |
| 711 | ) |
| 712 | |
| 713 | def add_top_k(self, k: int): |
| 714 | sampler = llama_cpp.llama_sampler_init_top_k(k) |
nothing calls this directly
no outgoing calls
no test coverage detected