pytorch
176ef97f - [inductor] Fix bug where a node gets erased twice (#100848)

Comment changes are shownComment changes are hidden
Commit
1 year ago
[inductor] Fix bug where a node gets erased twice (#100848) Fixes #100806 The underlying bug is if you erase an FX node twice, everything runs without error, but `len(graph.nodes)` reports the incorrect value. Pull Request resolved: https://github.com/pytorch/pytorch/pull/100848 Approved by: https://github.com/ngimel, https://github.com/Skylion007
Author
Committer
Parents
  • test/inductor
    • File
      test_cuda_repro.py
  • torch
    • _inductor
      • File
        pattern_matcher.py
    • fx
      • File
        graph.py