Skip to content

[CI][benchmarks] Option to run all liger tests #3917

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Egor-Krivov
Copy link
Contributor

@Egor-Krivov Egor-Krivov commented Apr 14, 2025

Add option to runn all tests from Liger-Kernels, including marked for skipping. Useful to check all cases.

For #3237

@Egor-Krivov Egor-Krivov marked this pull request as ready for review April 14, 2025 11:07
@Egor-Krivov Egor-Krivov enabled auto-merge (squash) April 14, 2025 11:07
@Egor-Krivov Egor-Krivov requested a review from vlad-penkin April 14, 2025 11:08
@Egor-Krivov Egor-Krivov requested a review from alexbaden April 14, 2025 11:09
Copy link
Contributor

@vlad-penkin vlad-penkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my two comments

@@ -89,11 +93,21 @@ jobs:
- name: Run Liger-Kernel tests
if: ${{ steps.install.outcome == 'success' && !cancelled() }}
run: |
pip install transformers pandas pytest
pip install transformers pandas pytest pillow
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove this line, direct pytest call below and do a proper integration with test-triton.sh like it is done here:

-e 's/,\s*pytest\.mark\.skipif(device="xpu", reason="skip for XPU")//g' \
-e 's/pytest\.mark\.skipif(device="xpu", reason="skip for XPU"),\s*//g' \
{} +
fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use the same unskip approach as we do for Triton UT's:

@etiotto
Copy link
Contributor

etiotto commented Apr 28, 2025

@Egor-Krivov ping. Can you address the review comments at your earlies convenience pls?

@Egor-Krivov
Copy link
Contributor Author

@Egor-Krivov ping. Can you address the review comments at your earlies convenience pls?

Sure. I'm out of office right now and will only be able to get back to this issue on the 6th of May.

@whitneywhtsang whitneywhtsang marked this pull request as draft April 29, 2025 20:47
auto-merge was automatically disabled April 29, 2025 20:47

Pull request was converted to draft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants