-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
[CI Perf]Prune Tests in kernel/mamba #26538
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
Conversation
yewentao256
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work!
Generally, please do not affect the functionality like removing test dtype.
Some redundant test could be removed like [128, 256, 512, 1024, 2048, 4096]) to [128, 1024, 4096]) is good.
| return (out if activation is None else F.silu(out)).to(dtype=dtype_in) | ||
|
|
||
|
|
||
| @pytest.mark.parametrize("itype", [torch.bfloat16, torch.float]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test for float is needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack.
| @pytest.mark.parametrize("has_bias", [False, True]) | ||
| @pytest.mark.parametrize("seqlen", [1]) | ||
| @pytest.mark.parametrize("width", [4]) | ||
| @pytest.mark.parametrize("dim", [2048, 2048 + 16, 4096]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test for arbitrary shape is needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack
9c1f440 to
c7ef4e7
Compare
Signed-off-by: kfhfar <[email protected]> Signed-off-by: Fardin Hoque <[email protected]> Removing bfloat16 as added accidentally Signed-off-by: Fardin Hoque <[email protected]>
c7ef4e7 to
288ea5a
Compare
yewentao256
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work! Just a few thoughts
Signed-off-by: Wentao Ye <[email protected]>
Signed-off-by: Wentao Ye <[email protected]>
yewentao256
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for the work!
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]> Signed-off-by: 1994 <[email protected]>
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]> Signed-off-by: Dhruvil Bhatt <[email protected]>
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]> Signed-off-by: bbartels <[email protected]>
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]>
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]>
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]> Signed-off-by: 0xrushi <[email protected]>
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]> Signed-off-by: 0xrushi <[email protected]>
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]>
Signed-off-by: Fardin Hoque <[email protected]> Signed-off-by: Wentao Ye <[email protected]> Co-authored-by: Wentao Ye <[email protected]>
Purpose
This is part of #22041 and CI sprint. This is for pruning the Kernel mamba tests. Used #22936, #22939 for reference.
Test Plan
pytest tests/kernels/mambaTest Result
Still to complete
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.