Skip to content

Instantly share code, notes, and snippets.

@jamesr66a
Created February 23, 2022 23:46
Show Gist options
  • Save jamesr66a/926f797c403fb7d8a0548431fa74289d to your computer and use it in GitHub Desktop.
Save jamesr66a/926f797c403fb7d8a0548431fa74289d to your computer and use it in GitHub Desktop.
submod_2 UserRRef(RRefId = GloballyUniqueId(created_on=0, local_id=30), ForkId = GloballyUniqueId(created_on=0, local_id=31))
(46501) ^^^^ Scenario 1 (created_on=0, local_id=30)
(46501) Instantiating OwnerRRef GloballyUniqueId(created_on=0, local_id=30) with future 0x7f6020007e80
(46501) Deserializing PyRRef parent: 0 rref ID: GloballyUniqueId(created_on=0, local_id=30) fork ID: GloballyUniqueId(created_on=0, local_id=33)
(46501) ^^^^ Scenario 2 (created_on=0, local_id=30)
(46501) Deserializing PyRRef parent: 0 rref ID: GloballyUniqueId(created_on=0, local_id=30) fork ID: GloballyUniqueId(created_on=0, local_id=38)
getitem_12 (46501) ../torch/csrc/distributed/rpc/rref_context.cpp:769 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=2)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:474 GloballyUniqueId(created_on=0, local_id=30)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:769 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=8)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:474 GloballyUniqueId(created_on=0, local_id=30)
(46501) ^^^^ Scenario 2 (created_on=0, local_id=30)
(46501) Deserializing PyRRef parent: 0 rref ID: GloballyUniqueId(created_on=0, local_id=30) fork ID: GloballyUniqueId(created_on=0, local_id=48)
(46501) ^^^^ Scenario 2 (created_on=0, local_id=30)
(46501) Deserializing PyRRef parent: 2 rref ID: GloballyUniqueId(created_on=0, local_id=30) fork ID: GloballyUniqueId(created_on=2, local_id=2)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:814 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=2)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:769 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=12)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:474 GloballyUniqueId(created_on=0, local_id=30)
(46501) ^^^^ Scenario 2 (created_on=0, local_id=30)
(46501) Deserializing PyRRef parent: 2 rref ID: GloballyUniqueId(created_on=0, local_id=30) fork ID: GloballyUniqueId(created_on=2, local_id=12)(46501) Deserializing PyRRef parent: 2 rref ID: GloballyUniqueId(created_on=0, local_id=12) fork ID: GloballyUniqueId(created_on=2, local_id=15)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:814 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=12)
(46501) ^^^^ Scenario 2 (created_on=0, local_id=30)
(46501) Deserializing PyRRef parent: 2 rref ID: GloballyUniqueId(created_on=0, local_id=30) fork ID: GloballyUniqueId(created_on=2, local_id=8)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:814 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=8)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:836 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=8)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:769 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=22)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:474 GloballyUniqueId(created_on=0, local_id=30)
(46501) Waiting on OwnerRRef GloballyUniqueId(created_on=0, local_id=30) with future 0x7f6020007e80
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:769 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=23)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:474 GloballyUniqueId(created_on=0, local_id=30)
(46501) ^^^^ Scenario 2 (created_on=0, local_id=30)
(46501) Deserializing PyRRef parent: 2 rref ID: GloballyUniqueId(created_on=0, local_id=30) fork ID: GloballyUniqueId(created_on=2, local_id=22)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:814 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=22)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:769 GloballyUniqueId(created_on=2, local_id=29) GloballyUniqueId(created_on=2, local_id=30)
(46501) ^^^^ Scenario 2 (created_on=0, local_id=30)
(46501) Deserializing PyRRef parent: 2 rref ID: GloballyUniqueId(created_on=0, local_id=30) fork ID: GloballyUniqueId(created_on=2, local_id=23)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:814 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=23)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:836 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=23)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:769 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=32)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:474 GloballyUniqueId(created_on=0, local_id=30)
(46501) Waiting on OwnerRRef GloballyUniqueId(created_on=0, local_id=30) with future 0x7f6020007e80
(46501) Deserializing PyRRef parent: 2 rref ID: GloballyUniqueId(created_on=2, local_id=29) fork ID: GloballyUniqueId(created_on=2, local_id=30)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:814 GloballyUniqueId(created_on=2, local_id=29) GloballyUniqueId(created_on=2, local_id=30)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:836 GloballyUniqueId(created_on=2, local_id=29) GloballyUniqueId(created_on=2, local_id=30)
(46501) ^^^^ Scenario 2 (created_on=0, local_id=30)
(46501) Deserializing PyRRef parent: 2 rref ID: GloballyUniqueId(created_on=0, local_id=30) fork ID: GloballyUniqueId(created_on=2, local_id=32)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:814 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=32)
(46501) ../torch/csrc/distributed/rpc/rref_context.cpp:836 GloballyUniqueId(created_on=0, local_id=30) GloballyUniqueId(created_on=2, local_id=32)
(46501) Waiting on OwnerRRef GloballyUniqueId(created_on=0, local_id=30) with future 0x7f6020007e80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment