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
iree.composite_buffer type to reduce malloc storm during lowering #3354
compiler/dialectsRelating to the IREE compiler dialects (flow, hal, vm)ew 🤮That shouldn't be that way and needs cleanupperformance ⚡Performance/optimization related work across the compiler and runtime
Finding that after the flow level of large constants that remain after optimization are copied a few times due to storage uniquer misses. Especially during the final stages of transformation where buffers are stitched together (constant storage packing, etc). For really big constants it's better to extern those, but for the mid-size ones (or when targeting certain deployments) it'd be nice not to be churning through GBs of memory :/
Having a custom attribute type that stores a list of (offset, length, elements_attr) tuples would let us reuse the uniqued storage for the larger elements attribute up until final serialization (where we are streaming to an output and not just malloc+memcpying).
Something like #iree.composite_buffer<[#iree.span<0, 1024, dense<...>...>, ...]> with a CompositeBufferAttr::writeTo(...stream...) method.
compiler/dialectsRelating to the IREE compiler dialects (flow, hal, vm)ew 🤮That shouldn't be that way and needs cleanupperformance ⚡Performance/optimization related work across the compiler and runtime
Activity
Adding #util.composite attribute.
Adding #util.composite attribute.
Adding #util.composite attribute.
Adding #util.composite attribute.
Adding #util.composite attribute.
Adding #util.composite attribute. (#6854)