Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions autoparallel/propagation_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,7 @@ def native_layer_norm_backward_rule(mesh, op_schema):
def convert_element_type_rule(mesh, op_schema):
from torch.distributed.tensor._ops._tensor_ops import default_strategy

# TODO: API has changed in latest main
out_strat = default_strategy(mesh, op_schema)
out_strat = default_strategy(op_schema)
return out_strat


Expand Down