Skip to content

🐛 [Bug] Expected to find type Dict(str, Tensor) for value but get nothing #981

@bowang007

Description

@bowang007

Bug Description

seems like we are missing the type Dict in shape analysis when we parse the input types.

reported error:

terminate called after throwing an instance of 'torch_tensorrt::Error'
  what():  [Error thrown at core/partitioning/shape_analysis.cpp:90] Expected to find type Dict(str, Tensor) for value encoder_outputs.1 but get nothing. 

Expected behavior

Can be fixed quickly once we support the Dict type parsing in shape analysis.

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