trunk/e3ac368928e3675e83f61a1de3b0d2fa9345a7cf: [Inductor] Fix view loaders without an active graph (#199608)
- PyTorch 近 90 天出现 1842 次
- PyTorch 近 90 天第 1818 次发版
- 上一次:同一天稍早 · trunk/807cb27635424128600b9b0944b43f0ca7734b3c
发生了什么
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…
摘要按规则整理自下方来源原文