[Bug] [Relay]PyTorch] Can't properly convert torch.nn.ParameterList #16150
Labels
needs-triage
PRs or issues that need to be investigated by maintainers to find the right assignees to address it
type: bug
It seems there's a bug in PyTorch frontend.
Environment
Ubuntu 22.04.
No CUDA.
PyTorch 2.0.0.
Steps to reproduce
The below code worked fine with TVM 1043136, but failed with TVM e9cf04e.
I did some debugging and found that there seems to be a bug in the change of the
convert_params
function.Changing this
into this in the
convert_params
worked fine but not sure if it's the right way to fix it.Also, changing ParameterList to Python list works fine.
The output looks like the below.
Triage
Please refer to the list of label tags here to find the relevant tags and add them below in a bullet format (example below).
cc @shingjan @chunit-quic @masahi @vvchernov @jikechao
The text was updated successfully, but these errors were encountered: