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

Function llama_sampler_init_temp

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

Source from the content-addressed store, hash-verified

991};
992
993struct llama_sampler * llama_sampler_init_temp(float temp) {
994 return llama_sampler_init(
995 /* .iface = */ &llama_sampler_temp_i,
996 /* .ctx = */ new llama_sampler_temp {
997 /*.temp = */ temp,
998 }
999 );
1000}
1001
1002// temp-ext
1003

Callers 6

initialize_samplerMethod · 0.85
llama_sampler_temp_cloneFunction · 0.85
test_tempFunction · 0.85
common_sampler_initFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

llama_sampler_initFunction · 0.85

Tested by 1

test_tempFunction · 0.68