tlopex opened a new pull request, #19728:
URL: https://github.com/apache/tvm/pull/19728

   Previously `_generate_triton_kernel` overwrote the user-provided kwargs with 
the constexpr dict before calling triton.compiler.compile, so options such as 
num_warps passed to T.call_kernel were silently dropped. Pass constexprs to 
ASTSource and forward the user kwargs as compile options.
   
   The pre-3.3 compatibility branches are removed in favor of an explicit 
minimum-version check: they were never exercised in CI (which does not install 
Triton), and Triton >= 3.3 has shipped with PyTorch since 2.7.
   
   The integration test now matches the actual lowering, where constexpr 
parameters (BLOCK_SIZE) appear as runtime kernel arguments in call_packed, and 
passes num_warps=8 expecting a thread extent of 256 to cover the option 
forwarding.


-- 
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]

Reply via email to