You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The graph has a conv node in pytorch and a TensorRT node. The conv node has weight and bias lifted as placeholders. Hence we are seeing this runtime error of mismatch in the number of inputs.
If we unlift these parameters (i.e conv_weight and conv_bias are registered as get_attr nodes), there's a different error GraphModule does not contain attribute conv_weight
Reason:
This is because - syntax error occurs in _create_graph_module_for_export and hence the resulting gm does not have these attributes.
Bug Description
Error message:
conv_weight
andconv_bias
are registered asget_attr
nodes), there's a different errorGraphModule does not contain attribute conv_weight
Reason:
This is because - syntax error occurs in _create_graph_module_for_export and hence the resulting
gm
does not have these attributes.To Reproduce
Install the nightly version of Torch-TRT
Run the following script to reproduce the error
Expected behavior
Environment
conda
,pip
,libtorch
, source):Additional context
The text was updated successfully, but these errors were encountered: