Skip to content

Commit ebcd292

Browse files
Add TPUUpdateEmbeddingEnqueueOpInputsPass to MLIR bridge pipeline.
PiperOrigin-RevId: 321358813 Change-Id: I4778190d67b6eccf4bc3acd6c9888ef078221f2d
1 parent 0951baf commit ebcd292

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • tensorflow/compiler/mlir/tensorflow/transforms

‎tensorflow/compiler/mlir/tensorflow/transforms/bridge.cc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ void CreateTPUBridgePipeline(OpPassManager &pm) {
8787
// changed constants out of tf_device.Launch.
8888
func_pm.addPass(TFDevice::CreateDecomposeResourceOpsPass());
8989
func_pm.addPass(CreateTPUHostComputationExpansionPass());
90+
pm.addNestedPass<FuncOp>(CreateTPUUpdateEmbeddingEnqueueOpInputsPass());
9091
pm.addPass(CreateTPUExtractHeadTailOutsideCompilationPass());
9192
// Run another shape inference pass because resource decomposition might have
9293
// created new partial types.

0 commit comments

Comments
 (0)