trunk/7d96b234ccaec3ee31deffa704c2f488cb571010: [Dynamo] Support builtin fns on lazy constants (#191145)
- PyTorch: 1630 events in the last 90 days
- PyTorch: 1611th Release in the last 90 days
- Previous: earlier the same day · trunk/5eb6d3d36b2dd13cdd7b94a6b8a30ea3f315f036: [dynamo] Add ByteArrayVariable for bytearray support in Dynamo (#192205)
What happened
Related Issue Part of #187590 Stacked on #191144 ; will rebase once it lands. Why Builtin calls like len(s) or str(n) on lazy constants guard on values How Adds len , str , bool , min , max to the lazy constant op tables Resolves the reconstruction module ( builtins vs operator ) from the cached callable Excludes int / float casts: they raise value-dependently (e.g. int("abc") ) Authored with an AI assistant (Claude…
Summary assembled by rule from the sources below