[Model Runner V2] FP32 gumbel sampling. (#41775)

Signed-off-by: PatchouliTaisa <patchychen@tencent.com>
Co-authored-by: PatchouliTaisa <patchychen@tencent.com>
This commit is contained in:
PatchyTIS
2026-05-15 09:20:08 -07:00
committed by GitHub
co-authored by PatchouliTaisa
parent 46a95815d3
commit 0162596603
8 changed files with 50 additions and 7 deletions
+1
View File
@@ -218,6 +218,7 @@ class GPUModelRunner(LoRAModelRunnerMixin):
req_states=self.req_states,
logprobs_mode=self.model_config.logprobs_mode,
num_speculative_tokens=self.num_speculative_steps + 1,
use_fp64_gumbel=self.model_config.use_fp64_gumbel,
)
if self.speculative_config is not None:
self.rejection_sampler = RejectionSampler(