forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#sdy bump version due to JAX MacOS breakage round 2.
PiperOrigin-RevId: 700665963
- Loading branch information
1 parent
79586ba
commit 8cf9702
Showing
4 changed files
with
4 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +0,0 @@ | ||
diff --git a/shardy/dialect/sdy/transforms/propagation/debugging/source_sharding.cc b/shardy/dialect/sdy/transforms/propagation/debugging/source_sharding.cc | ||
index e1ff855..361b1a6 100644 | ||
--- a/shardy/dialect/sdy/transforms/propagation/debugging/source_sharding.cc | ||
+++ b/shardy/dialect/sdy/transforms/propagation/debugging/source_sharding.cc | ||
@@ -144,7 +144,7 @@ void saveShardingOriginsOnModule(ModuleOp moduleOp, | ||
DictionaryAttr::get(context, entries)); | ||
} | ||
TypeSwitch<Operation*, void>(owningOp) | ||
- .Case<func::FuncOp>([&](func::FuncOp funcOp) { | ||
+ .Case<func::FuncOp>([&, value = value](func::FuncOp funcOp) { | ||
funcOp.setArgAttr(cast<BlockArgument>(value).getArgNumber(), | ||
kOriginShardingAttr, | ||
DictionaryAttr::get(context, entries)); | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +0,0 @@ | ||
diff --git a/shardy/dialect/sdy/transforms/propagation/debugging/source_sharding.cc b/shardy/dialect/sdy/transforms/propagation/debugging/source_sharding.cc | ||
index e1ff855..361b1a6 100644 | ||
--- a/shardy/dialect/sdy/transforms/propagation/debugging/source_sharding.cc | ||
+++ b/shardy/dialect/sdy/transforms/propagation/debugging/source_sharding.cc | ||
@@ -144,7 +144,7 @@ void saveShardingOriginsOnModule(ModuleOp moduleOp, | ||
DictionaryAttr::get(context, entries)); | ||
} | ||
TypeSwitch<Operation*, void>(owningOp) | ||
- .Case<func::FuncOp>([&](func::FuncOp funcOp) { | ||
+ .Case<func::FuncOp>([&, value = value](func::FuncOp funcOp) { | ||
funcOp.setArgAttr(cast<BlockArgument>(value).getArgNumber(), | ||
kOriginShardingAttr, | ||
DictionaryAttr::get(context, entries)); | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters