-
Notifications
You must be signed in to change notification settings - Fork 89
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
Fix some bugs in upload benchmark scripts #6429
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
@@ -172,7 +172,8 @@ def upload_to_dynamodb( | |||
""" | |||
Copied from upload stats script | |||
""" | |||
info(f"Writing {len(docs)} documents to DynamoDB {dynamodb_table}") | |||
msg = f"Writing {len(docs)} documents to DynamoDB {dynamodb_table}" |
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.
This comes from https://google.github.io/styleguide/pyguide.html#3101-logging, I'm lazy and just move the message to a variable to silent the warning.
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! thx for fixing it!
While working on #6425, I discover several bugs in the upload scripts:
Testing
https://github.com/pytorch/test-infra/actions/runs/13909203687/job/38919334944#step:5:125 looks correct now