iree-org / iree

A retargetable MLIR-based machine learning compiler and runtime toolkit.
http://iree.dev/
Apache License 2.0
2.47k stars 548 forks source link

Allow flags to be set with greater flexibility, plus flags bug fixes #17653

Closed daveliddell closed 1 week ago

daveliddell commented 1 week ago

Same as #17659 on the main branch.

Changes to the python binding to allow iree.runtime.flags.parse_flags to take effect at times other than before the first time a driver is created. Also includes fixes for bugs exposed during the development of this feature.

daveliddell commented 1 week ago

Will restart this PR as a merge from main