Skip to content

Conversation

@vkuzo
Copy link
Contributor

@vkuzo vkuzo commented Jun 12, 2024

Summary:
Running buck test @//mode/dev-nosan fbcode//pytorch/ao/test:torchao_tests used
to work but stopped working sometime in the past ~months due to test
discovery being broken. This diff fixes test discovery and adds a blocklist
to all of the broken tests, so we can at least run the passing tests easily.

Note that for now we have some tests using pytest which is handled in a custom
way. In a future PR it would be great to make torchao use a single testing
framework.

Reviewed By: jerryzh168

Differential Revision: D58422127

Summary:
Running `buck test @//mode/dev-nosan fbcode//pytorch/ao/test:torchao_tests` used
to work but stopped working sometime in the past ~months due to test
discovery being broken. This diff fixes test discovery and adds a blocklist
to all of the broken tests, so we can at least run the passing tests easily.

Note that for now we have some tests using `pytest` which is handled in a custom
way. In a future PR it would be great to make torchao use a single testing
framework.

Reviewed By: jerryzh168

Differential Revision: D58422127
@pytorch-bot
Copy link

pytorch-bot bot commented Jun 12, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/351

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 954be83 with merge base eae864c (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 12, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D58422127

Copy link
Member

@msaroufim msaroufim left a comment

Choose a reason for hiding this comment

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

ok! Kinda concerning how many tests are broken internally though

cc @jerryzh168 @jcaip @HDCharles

@vkuzo
Copy link
Contributor Author

vkuzo commented Jun 12, 2024

ok! Kinda concerning how many tests are broken internally though

this PR enables the tests to at least be discovered and tracked in fbcode, future work can fix individual tests in separate PRs

@msaroufim
Copy link
Member

Oh yes was not implying you fix the failures right now, @vkuzo please feel free to merge this whenever you're ready

@facebook-github-bot facebook-github-bot merged commit 0bde6d5 into pytorch:main Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants