Skip to content

Commit 8182fce

Browse files
Revert "Add cpp stack traces to our own reruns (#119408)"
This reverts commit fbe6f62. Reverted #119408 on behalf of https://github.com/malfet due to Looks like it introduced intermittent crashes see https://github.com/pytorch/pytorch/actions/runs/7823402867/job/21344456540 for example, testing the theory ([comment](#119408 (comment)))
1 parent 8da2f81 commit 8182fce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/run_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,9 +614,6 @@ def print_to_file(s):
614614
else:
615615
sc_command = f"--sc={stepcurrent_key}"
616616
print_to_file("Retrying...")
617-
# Print full c++ stack traces during retries
618-
env = env or {}
619-
env["TORCH_SHOW_CPP_STACKTRACES"] = "1"
620617
print_items = [] # do not continue printing them, massive waste of space
621618

622619
consistent_failures = [x[1:-1] for x in num_failures.keys() if num_failures[x] >= 3]

0 commit comments

Comments
 (0)