ciflow/trunk/195079: [dynamo] Decode minifier subprocess output leniently in isolate_fails
- PyTorch: 164 events in the last 90 days
- PyTorch: 162th Release in the last 90 days
- Previous: earlier the same day · trunk/bb08ec571beb9b96a9112234ae6d7974ff609c1d
What happened
#190696 fixed the non-UTF-8 decode in the minifier test harness (test_minifier_common), but the production minifier still decoded the crashing repro subprocess's stdout/stderr with strict UTF-8 in after_aot.py's isolate_fails(). On ROCm the GPU-runtime-error repro emits non-UTF-8 bytes (a HIP abort), so isolate_fails() raised UnicodeDecodeError before repro.py was written, and MinifierIsolateTests. test_after_aot_gp…
Summary assembled by rule from the sources below