MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / llama_sampler_xtc_reset

Function llama_sampler_xtc_reset

smallthinker/src/llama-sampling.cpp:1179–1183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1177}
1178
1179static void llama_sampler_xtc_reset(struct llama_sampler * smpl) {
1180 auto * ctx = (llama_sampler_xtc *) smpl->ctx;
1181 ctx->seed_cur = get_rng_seed(ctx->seed);
1182 ctx->rng.seed(ctx->seed_cur);
1183}
1184
1185static struct llama_sampler_i llama_sampler_xtc_i = {
1186 /* .name = */ llama_sampler_xtc_name,

Callers

nothing calls this directly

Calls 1

get_rng_seedFunction · 0.85

Tested by

no test coverage detected