[Platform] Custom ops support for LMhead and LogitsProcessor (#23564)

Signed-off-by: zzhx1 <zzh_201018@outlook.com>
This commit is contained in:
zzhxxx
2025-09-10 21:26:31 +08:00
committed by GitHub
parent 2eb9986a2d
commit 736569da8d
2 changed files with 4 additions and 2 deletions

View File

@@ -429,6 +429,7 @@ class VocabParallelEmbedding(CustomOp):
return s
@CustomOp.register("parallel_lm_head")
class ParallelLMHead(VocabParallelEmbedding):
"""Parallelized LM head.