← 返回事件
持续讨论AI发版

trunk/e3ac368928e3675e83f61a1de3b0d2fa9345a7cf: [Inductor] Fix view loaders without an active graph (#199608)

发生了什么

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…

摘要按规则整理自下方来源原文

为什么在扩散

来源