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
Move Flow ops that are depended by CodeGen/Stream to TensorExt dialect #20249
During the set_encoding elimination prototype, I observed that we might want to move out some flow ops to TensorExt dialect. The operations are
IREE::Flow::DispatchWorkloadOrdinalOp
IREE::Flow::DispatchTensorLoadOp
IREE::Flow::DispatchTensorStoreOp
IREE::Flow::DispatchWorkgroupCountFromSliceOp
Furthermore, we also need to move IREE::Flow::DispatchTensorType type to TensorExt dialect. They are the root cause of the Stream->Flow dependency in my MaterializeEncodings prototype pass.
@benvanik is it aligned with what you have in mind? Do I miss other operations or types or attributes?
Putting an update here: @jtuyls and I found that the MaterializeEncodingIntoPaddingPass collapsing work has circular dep issue because of the DispatchTensorType. I proposed to add the encoding interface methods using external model mechanism, because we'll need it for propagation anyway. However, @jtuyls volunteered to take a stab at moving DispatchTensorType to TensorExt dialect.
Activity
benvanik commentedon Mar 14, 2025
Sounds like a great start!
hanhanW commentedon Mar 14, 2025
Cool, nice! cc @MaheshRavishankar
hanhanW commentedon Apr 14, 2025
Putting an update here: @jtuyls and I found that the MaterializeEncodingIntoPaddingPass collapsing work has circular dep issue because of the
DispatchTensorType. I proposed to add the encoding interface methods using external model mechanism, because we'll need it for propagation anyway. However, @jtuyls volunteered to take a stab at movingDispatchTensorTypeto TensorExt dialect.Migrate Flow dependencies in Stream/Codegen to TensorExt (#20564)
Migrate Flow dependencies in Stream/Codegen to TensorExt (iree-org#20564
Migrate Flow dependencies in Stream/Codegen to TensorExt (#20564)