-
Notifications
You must be signed in to change notification settings - Fork 278
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
add API coverage test #1394
add API coverage test #1394
Conversation
c2b48a6
to
6c002f5
Compare
@FindHao Can you update the PR body to the command of running the new userbenchmark and its example outputs? |
@xuzhao9 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Done. |
ping @xuzhao9 |
@FindHao has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This PR adds the userbenchmark for PyTorch API coverage test
Command to run for a specific model:
If you want to test all models, the
--model
should not be specified.The testing results are stored in
.userbenchmark/api-coverage/logs/
. Each run will generate two log files, logs-${timestamp}.json and logs-${timestamp}.json-api_coverage.csv. The latter one is like the following format.All Used and missed APIs will be listed in the csv file.