We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a570e34 + 658177a commit 85e7dfbCopy full SHA for 85e7dfb
torch/distributed/_tensor/api.py
@@ -134,7 +134,7 @@ class DTensor(torch.Tensor): # pyre-ignore[13]: pyre is bad at __new__
134
# class attribute that handles operator placements propagation
135
# rules, keyed by aten op name, value is propagation func
136
_op_to_rules: Dict[
137
- str, Callable[[op_dispatch.OpSchema], op_dispatch.OutputSharding]
+ str, Callable[["op_dispatch.OpSchema"], "op_dispatch.OutputSharding"]
138
] = {}
139
140
# class attribute that handles custom registered ops, all handled
0 commit comments