trunk/e3ac368928e3675e83f61a1de3b0d2fa9345a7cf: [Inductor] Fix view loaders without an active graph (#199608)
- PyTorch: 1839 events in the last 90 days
- PyTorch: 1815th Release in the last 90 days
- Previous: earlier the same day · trunk/807cb27635424128600b9b0944b43f0ca7734b3c
What happened
PR #199402 introduced an unconditional access to V.graph.constants in ReinterpretView.make_loader. Helion evaluates these loaders without an active Inductor graph, causing AttributeError: 'NullHandler' object has no attribute 'constants'. Only perform constant lookup when ConstantBuffer.override_device is set. This preserves device-copy remapping while allowing ordinary view loads without a graph. Add regression cov…
Summary assembled by rule from the sources below