You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Track resource update regions and elide/minimize unneeded fills. #6972
compiler/dialectsRelating to the IREE compiler dialects (flow, hal, vm)performance ⚡Performance/optimization related work across the compiler and runtime
ESRGAN uses a producer[] -> insert[] pattern and results in a lot of fills. Relates to #7729.
In these cases we have enough information to track that the entire tensor is overwritten and that the splat can be dropped.
Note to self: benvanik-concurrent-copies has a WIP implementation of a general write elision pass that does the tracking to find these chains of in-place operations on adjacent ranges. It should really be written as a data-flow analysis, though, and is going to need a rewrite. This would allow us to track divergent execution paths that fill the same regions and track across function calls.
compiler/dialectsRelating to the IREE compiler dialects (flow, hal, vm)performance ⚡Performance/optimization related work across the compiler and runtime
Activity
benvanik commentedon Nov 9, 2022
ESRGAN uses a producer[] -> insert[] pattern and results in a lot of fills. Relates to #7729.
In these cases we have enough information to track that the entire tensor is overwritten and that the splat can be dropped.
Translate flow.tensor.empty to stream.tensor.empty.
benvanik commentedon Nov 11, 2022
Note to self: benvanik-concurrent-copies has a WIP implementation of a general write elision pass that does the tracking to find these chains of in-place operations on adjacent ranges. It should really be written as a data-flow analysis, though, and is going to need a rewrite. This would allow us to track divergent execution paths that fill the same regions and track across function calls.
Translate flow.tensor.empty to stream.tensor.empty.
Translate flow.tensor.empty to stream.tensor.empty.
Translate flow.tensor.empty to stream.tensor.empty. (#11131)
Reworking `stream.async.dispatch` to allow for in-place allocation/co…