🐛 [Bug] Issue with remove_ops
lowering pass in FX/Dynamo
#2036
Labels
bug
Something isn't working
component: dynamo
Issues relating to the `torch.compile` or `torch._dynamo.export` paths
component: fx
No Activity
Bug Description
When compiling the following model with
is_aten=True
in either FX or Dynamo, the following error is encountered.Model
Error:
To Reproduce
Steps to reproduce the behavior:
Run the following script:
Expected behavior
The model should compile in both paths.
Environment
torch==2.1.0.dev20230608+cu118
Additional context
For more context see: #1708 (comment). An attempted solution was implemented in that PR, which addressed the issue in
remove_ops
, which causes the insertion of the invalidview
op.The text was updated successfully, but these errors were encountered: