-
Notifications
You must be signed in to change notification settings - Fork 200
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
Eval harness #1131
Eval harness #1131
Conversation
01350d7
to
89609d8
Compare
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, but with comments ;)
Regenerate |
model=wrapped_model, | ||
model_args=None, | ||
tasks=list(args.zero_shot_tasks), | ||
device='cuda:0', |
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.
Should this be auto
for accelerate?
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.
Looks like it only support torch devices. Even with accelerate, the execution device is always GPU 0, and that's where the data should go. Accelerate will take care of everything else under the hood.
5974b23
to
52dcfe0
Compare
Reason for this PR
Changes Made in this PR
Testing Summary
Risk Highlight
Checklist
dev
branch.