Enable emulate_precision_casts for mobilenetv2_100. (#187364)
Summary:
Fixes `mobilenetv2_100 --training --amp` inductor `fail_accuracy` on MI350X (near-zero BatchNorm grads, e.g. `blocks.5.2.bn1.bias.grad`). Same class as #185676 (vit), but the **fp16** case that PR left untested — passes under bf16/fp32, fails only fp16; `emulate_precision_casts=1` fixes it (verified 2x).
Also fixes the stale "(fp16 untested)" comment and extends the toggle test.
X-link: https://github.com/pytorch/pytorch/pull/187364
Approved by: https://github.com/jeffdaily, https://github.com/eellison
Reviewed By: georgehong
Differential Revision: D109485601
fbshipit-source-id: dff14a5a29ab9a2fa44b7bda1add45deb3718bfa
Author
generatedunixname499836121