MCPcopy Create free account
hub / github.com/pytorch/pytorch / process_failure_string

Function process_failure_string

test/test_proxy_tensor.py:61–63  ·  view source on GitHub ↗
(s, matcher)

Source from the content-addressed store, hash-verified

59 failures = [i.strip() for i in failures]
60
61 def process_failure_string(s, matcher):
62 out = re.search(matcher, s)
63 return out.groups()
64
65 SYMBOLIC_TRACE_MATCH = r'exhaustive_(.*)_cpu.*: (.*)'
66 failures = [process_failure_string(s, SYMBOLIC_TRACE_MATCH) for s in failures]

Callers 1

process_failuresFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…