pytorch
55f0ed6d - [inductor] Fix an issue causing "Could not generate fp64 outputs" (#92036)

Commit
1 year ago
[inductor] Fix an issue causing "Could not generate fp64 outputs" (#92036) Summary: Fix a fp64 version of model failed-to-run issue when convert_element_type appears in the model. The failure can cause some numerical difference recognized as accuracy error since the fp64 baseline result is not available, and thus distracts Minifier from finding a real culprit for accuracy error. See the discussion in https://github.com/pytorch/torchdynamo/issues/1812 Pull Request resolved: https://github.com/pytorch/pytorch/pull/92036 Approved by: https://github.com/ngimel
Author
Committer
Parents
Loading