pytorch
92a2b214 - Make translation validation more user friendly (#120880)

Commit
1 year ago
Make translation validation more user friendly (#120880) Two main changes: - Don't rethrow the exception when we fail in TV, just throw the entire thing and trust the user will inspect logs / backtrace to see we failed in TV - Don't add an event to the TV logs until we've confirmed that the event actually runs without erroring. This prevents us from putting events that e.g., fail because the guard on data dependent size, and the failing in TV. Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/120880 Approved by: https://github.com/lezcano, https://github.com/ysiraichi
Author
Committer
Parents
Loading