pytorch
26beda8e - [BE] unsupported backward failing on single sample (#59455)

Commit
3 years ago
[BE] unsupported backward failing on single sample (#59455) Summary: Echo on https://github.com/pytorch/pytorch/pull/58260#discussion_r637467625 similar to `test_unsupported_dtype` which only check exception raised on the first sample. we should do similar things for unsupported_backward as well. The goal for both test is to remind developer to 1. add a new dtype to the support list if they are fulling runnable without failure (over all samples) 2. replace the skip mechanism which will indefinitely ignore tests without warning Pull Request resolved: https://github.com/pytorch/pytorch/pull/59455 Test Plan: CI. Reviewed By: mruberry Differential Revision: D28927169 Pulled By: walterddr fbshipit-source-id: 2993649fc17a925fa331e27c8ccdd9b24dd22c20
Author
Rong Rong (AI Infra)
Parents
Loading