8000 Update on "[NJT] Inline through torch.nested.nested_tensor_from_jagge… · pytorch/pytorch@53d8ecf · GitHub
[go: up one dir, main page]

Skip to content

Commit 53d8ecf

Browse files
committed
Update on "[NJT] Inline through torch.nested.nested_tensor_from_jagged instead of graph break"
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang [ghstack-poisoned]
2 parents 34b2b1e + 7e56a4a commit 53d8ecf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/profiler/test_profiler.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ def test_execution_trace_no_capture(self):
650650
found_root_node = True
651651
assert found_root_node
652652

653+
@skipIfTorchDynamo("https://github.com/pytorch/pytorch/issues/124500")
653654
def test_execution_trace_nested_tensor(self):
654655
fp = tempfile.NamedTemporaryFile("w+t", suffix=".et.json", delete=False)
655656
fp.close()
@@ -664,9 +665,6 @@ def fn(nt):
664665
for i in range(3):
665666
values = torch.rand((8 + i, 4 + i))
666667
offsets = torch.tensor([0, 2, 4, 6, 8 + i])
667-
# Need to explicitly graph break due to:
668-
# https://github.com/pytorch/pytorch/issues/124500
669-
torch._dynamo.graph_break()
670668
nt = torch.nested.nested_tensor_from_jagged(values, offsets)
671669
fn(nt)
672670

0 commit comments

Comments
 (0)
0