Commit e328124
authored
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]>1 parent 815c857 commit e328124
File tree
2 files changed
+15
-2
lines changed- .github/workflows
- models/turbine_models
2 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
10 | 22 | | |
11 | 23 | | |
12 | 24 | | |
| |||
0 commit comments