oraluben commented on issue #365: URL: https://github.com/apache/tvm-ffi/issues/365#issuecomment-3691912654
I think we could promote `getDLDataTypeForDLPackv1` from internal utils to a public API. @DarkSharpness has implemented a JIT mechanism in sglang that could request kernel with specific type template: https://github.com/sgl-project/sglang/blob/7b7e357f6112ac8f496f5a58b49c4e94632250ae/python/sglang/jit_kernel/hicache.py#L19-L33 With such helper, we could instantiate the kernel with exactly the type we used, and reduce kernel size & compilation time than compilation all variants. (maybe even to improve performance for passing types as template, not argument) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
