You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accept torch's fake stand-in for a DeviceMesh in the fx splitter
Newer torch puts a DeviceMesh into the graph as a FakeScriptObject
rather than the mesh itself. Three places in the splitter rejected it:
make_input_proxy raised, so every node taking a mesh became a split
reason, and the placeholder round-trip raised outright.
Treat it as the opaque value it is. It is its own metadata, and the
object it wraps is what the ops and the proxy check want, so hand that
over when an input is needed.
0 commit comments