[Mlir-commits] [mlir] [mlir:python] Avoid calls to get_op_result_or_results in generated value wrappers (PR #114491)

Peter Hawkins llvmlistbot at llvm.org
Thu Oct 31 17:04:50 PDT 2024


hawkinsp wrote:

> Sweet!
> 
> > This saves almost 1s in a JAX-based LLM benchmark building a mixture of upstream dialects and StableHLO.
> 
> The 1s was over how much? (seconds seems arbitrary without a denominator somehow?)

It was about 1% of the Python time in this particular benchmark.

https://github.com/llvm/llvm-project/pull/114491


More information about the Mlir-commits mailing list