Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to include a plugin when creating driver (#740)
`vmfbRunner` now takes an optional `extra_plugin` argument to load an executable plugin while the driver is getting created. This option might be used, for example, when loading a vmfb that has an external dependency on a native shared library. The implementation of this new feature takes advantage of the pre-existing `iree.runtime.flags` feature and a new IREE python API function. Normally, drivers are managed in a cache. However, setting a flag to specify the plugin has no effect on existing drivers. The API now has a function for creating a driver independent of the cache, to guarantee that any flags are sure to take effect. This PR also includes a fix for the problem of the CI using old cached wheels for iree, as recommended by @monorimet. --------- Signed-off-by: Dave Liddell <[email protected]> Signed-off-by: daveliddell <[email protected]>
- Loading branch information