MCPcopy Create free account
hub / github.com/antirez/ds4 / sample_argmax

Function sample_argmax

ds4.c:22557–22568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22555 return;
22556 }
22557 }
22558 job->ids_ok = true;
22559 const ds4_gpu_stream_expert_table table =
22560 graph_stream_expert_table_make(job->model,
22561 job->layer,
22562 job->il,
22563 job->gate_expert_bytes,
22564 job->down_expert_bytes);
22565 if (ds4_gpu_stream_expert_cache_begin_selected_load(
22566 &table,
22567 job->selected_ids,
22568 DS4_N_EXPERT_USED) == 0) {
22569 return;
22570 }
22571

Callers 7

sample_full_vocabFunction · 0.85
sample_top_p_min_pFunction · 0.85
generate_raw_swa_cpuFunction · 0.85
ds4_session_argmaxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected