Skip to content

Commit 85e7dfb

Browse files
committed
Update on "[dtensor] ufmt test/distributed/_tensor"
[ghstack-poisoned]
2 parents a570e34 + 658177a commit 85e7dfb

File tree

1 file changed

+1
-1
lines changed
  • torch/distributed/_tensor

1 file changed

+1
-1
lines changed

torch/distributed/_tensor/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class DTensor(torch.Tensor): # pyre-ignore[13]: pyre is bad at __new__
134134
# class attribute that handles operator placements propagation
135135
# rules, keyed by aten op name, value is propagation func
136136
_op_to_rules: Dict[
137-
str, Callable[[op_dispatch.OpSchema], op_dispatch.OutputSharding]
137+
str, Callable[["op_dispatch.OpSchema"], "op_dispatch.OutputSharding"]
138138
] = {}
139139

140140
# class attribute that handles custom registered ops, all handled

0 commit comments

Comments
 (0)