← Back to events
ActiveAIRelease

trunk/18d8d0974472b71069c8a6d50f1262915e63cd20: [dynamo] Preserve torch.full tensor scalar dtype inference (#199433)

Photo: PyTorch Releases

What happened

Fixes #198486 Supersedes #198489 . That PR was closed while the issue awaited maintainer direction. A PT2 collaborator has since invited this PR in #198486 . This resubmission contains the same reviewed and tested change. Summary Preserve eager torch.full dtype inference when fill_value is a dynamic Tensor scalar. Infer from the scalar's Python number category when dtype is omitted or explicitly None . Preserve an e…

Summary assembled by rule from the sources below

Why it's spreading

Sources