Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some group norm input varation failed #555

Open
swimdi opened this issue Dec 4, 2024 · 0 comments
Open

Some group norm input varation failed #555

swimdi opened this issue Dec 4, 2024 · 0 comments
Assignees

Comments

@swimdi
Copy link
Collaborator

swimdi commented Dec 4, 2024

These input varations of group_norm are failed

"input_shape, num_groups",
# These two cases appeared in stable diffusion v2 and accuracy failed
pytest.param((1, 1280, 8, 8), 32, marks=pytest.mark.xfail(reason="")),
pytest.param((1, 2560, 8, 8), 32, marks=pytest.mark.xfail(reason="")),
# These four cases appeared in retinanet_resnet50_fpn_v2 and RuntimeError
pytest.param((1, 256, 50, 68), 32, marks=pytest.mark.xfail(reason="")),
pytest.param((1, 256, 25, 34), 32, marks=pytest.mark.xfail(reason="")),
pytest.param((1, 256, 13, 17), 32, marks=pytest.mark.xfail(reason="")),
pytest.param((1, 256, 7, 9), 32, marks=pytest.mark.xfail(reason="")),

You can reproduce by

  1. remove aten_native_group_norm_default_blocklist
  2. pytest tests/lowering/normalization/test_group_norm.py --runxfail

Btw, if the input_tensor layout set TtnnTileLayout then this two case accuracy failed

"input_shape, num_groups",
[(1, 320, 32, 32), 32]
[(2, 320, 64, 64), 32]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants