| 2484 | } |
| 2485 | |
| 2486 | static struct llama_sampler * llama_sampler_infill_clone(const struct llama_sampler * smpl) { |
| 2487 | const auto * ctx = (const llama_sampler_infill *) smpl->ctx; |
| 2488 | return llama_sampler_init_infill(ctx->vocab); |
| 2489 | } |
| 2490 | |
| 2491 | static void llama_sampler_infill_free(struct llama_sampler * smpl) { |
| 2492 | delete (llama_sampler_infill *) smpl->ctx; |
nothing calls this directly
no test coverage detected