Skip to content

Commit

Permalink
Support mhlo.sharding attr inside backend_config of ragged_all_to…
Browse files Browse the repository at this point in the history
…_all

PiperOrigin-RevId: 719422910
  • Loading branch information
ghpvnist authored and Google-ML-Automation committed Jan 24, 2025
1 parent 14ba309 commit 6557723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xla/hlo/translate/mhlo_to_hlo/mlir_hlo_to_hlo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2275,7 +2275,7 @@ LogicalResult ExportXlaOp(CustomCallOp op, OpLoweringContext ctx) {
auto name = attr.getName();
return name == kCallTargetName || name == kBackendConfig ||
name == kApiVersion || name == kCalledComputations ||
name == kHasSideEffect;
name == kHasSideEffect || name == kMhloSharding;
};
for (const auto& attr : op->getAttrs()) {
if (!isSupportedAttrName(attr))
Expand Down

0 comments on commit 6557723

Please sign in to comment.