← Back to events
ActiveAIRelease

viable/strict/1791064141: [inductor] Import _generalized_scatter in fx_utils (#196946)

Photo: PyTorch Releases

What happened

Fixes #185684 Root cause any_user_may_alias in _is_fake_tensor_same references torch._inductor.fx_passes.reinplace._generalized_scatter by full attribute path, but fx_utils.py never imports that submodule. Its only fx_passes import is from torch._inductor.fx_passes.control_dependencies import control_deps . That import binds torch._inductor.fx_passes , but fx_passes/__init__.py is empty, so reinplace itself is never…

Summary assembled by rule from the sources below

Why it's spreading

Sources