During serialization, the executor dispatch PR only serializes executors that are KernelExecutor. Previously, all FusionExecutors were serialized.
During deserialization, iterate over all executors in FusionKernelRuntime. If it is a KernelExecutor, use the group_id for the SegmentedGroup to find the corresponding serialized KernelExecutors buffer. Then, use the buffer to deserialize the KernelExecutor. For HostIrExecutor and ExprEvalExecutor compile normally.
During serialization, the executor dispatch PR only serializes executors that are
KernelExecutor
. Previously, allFusionExecutors
were serialized.During deserialization, iterate over all executors in
FusionKernelRuntime
. If it is aKernelExecutor
, use thegroup_id
for theSegmentedGroup
to find the corresponding serializedKernelExecutors
buffer. Then, use the buffer to deserialize theKernelExecutor
. ForHostIrExecutor
andExprEvalExecutor
compile normally.