Skip to content

fix: use torch.topk instead of calling top_k int parameter as a function in sample_from_logits#232

Merged
shiyu-coder merged 1 commit intoshiyu-coder:masterfrom
kuishou68:fix/issue-231-sample-from-logits-topk-bug
Apr 13, 2026
Merged

fix: use torch.topk instead of calling top_k int parameter as a function in sample_from_logits#232
shiyu-coder merged 1 commit intoshiyu-coder:masterfrom
kuishou68:fix/issue-231-sample-from-logits-topk-bug

Commits

Commits on Apr 9, 2026