← Back to events
ActiveAIRelease

trunk/294cb4cba0aaefd82a37854b7f470dc5c7b878cd: Support optional Tensor list schemas (#187012)

What happened

torch.library.infer_schema derives supported parameter annotations from a small table of base types and generated list/optional variants. Tensor enabled Tensor[] and Tensor?[] but explicitly disabled Tensor[]?, so annotations such as Optional[list[torch.Tensor]] were rejected even though the dispatcher schema language supports optional Tensor lists. The generator also did not compose the optional-element and optiona…

Summary assembled by rule from the sources below

Why it's spreading

Sources