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

How to trigger torchao unit tests? #1315

Open
goldhuang opened this issue Nov 19, 2024 · 3 comments
Open

How to trigger torchao unit tests? #1315

goldhuang opened this issue Nov 19, 2024 · 3 comments

Comments

@goldhuang
Copy link

We plan to run unit tests when we switch to different torch versions and triton versions.
How should we leverage with torchao's unit tests to make sure new torch version and triton versions are working?
Thanks!

@jerryzh168
Copy link
Contributor

depends on what test you want to run, but you can start with python test/integration/test_integration.py

@goldhuang
Copy link
Author

We want to test both the accuracy and functionality. It's better to run all the existing tests in this repo.
Should I just run tests under test folder one by one? It's not mentioned in readme file. So I want to check with you guys how you run the unit tests locally to be confident on new commits.

@jerryzh168
Copy link
Contributor

I see, maybe you can use pytest:

pytest test --verbose -s

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

No branches or pull requests

2 participants