Skip to content

🐛 [Bug] Compilation process stuck at EliminateExceptions pass #1408

Closed
@bowang007

Description

@bowang007

Bug Description

For some models which throw exceptions, the compilation process stuck at torch::jit::EliminateExceptions(). After inspection, it turns out that torch::jit::EliminateExceptions() might contradict with torch::jit::EliminateCommonSubexpression pass.

This can be fixed if we change the passing orders.

To Reproduce

This error can be reproduced using the model mentioned here: #1282

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions