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
{{ message }}
Repository navigation
[Bug][Relax] Inconsistent IRs will be got when Load IRs with R.nn.pad operator #17483
changed the title [-][Bug][Relax] The `script()` API output wrong IRs with R.nn.pad operator[/-][+][Bug][Relax] Inconsistent IRs will be got when Load IRs with R.nn.pad operator[/+]on Oct 22, 2024
Activity
[-][Bug][Relax] The `script()` API output wrong IRs with R.nn.pad operator[/-][+][Bug][Relax] Inconsistent IRs will be got when Load IRs with R.nn.pad operator[/+]yongwww commentedon Oct 24, 2024
looks the nn.pad is not roundtrip-able with tvmscript, the ordering the parameters in parser is different from that in printer.
jikechao commentedon Oct 26, 2024
@yongwww Agree! Should we provide a PR to fix the
nn.padto a roundtrip-able operator?BTW,
R.nn.attentionhas a similar issue: #17486yongwww commentedon Oct 26, 2024
@jikechao I'd appreciate it if you could submit a PR to fix this. No worries if you're busy, please let me know and I'll take care of it.
jikechao commentedon Oct 27, 2024
@yongwww I am not very familiar with the relevant source code, it would be better to assign it to other colleagues. Thanks!
yongwww commentedon Feb 17, 2025
@jikechao the issue should be fixed now after #17657 was landed, thanks for raising the issue, and thanks @parsifal-47 for the great patch!