[1/n jit_kernel restruct] unify cache usage and clean up naming in ngram_embedding (#20244)

This commit is contained in:
Xiaoyu Zhang
2026-03-10 15:53:43 +08:00
committed by GitHub
parent 7cf0551014
commit c812504b92
4 changed files with 14 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ if TYPE_CHECKING:
@cache_once
def _jit_add_constant_module(constant: int) -> Module:
args = make_cpp_args(constant) # pass all the template argument
args = make_cpp_args(constant)
return load_jit(
"add_constant",
*args,