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

Add benchmarks #506

Merged
merged 3 commits into from
Jul 12, 2022
Merged

Add benchmarks #506

merged 3 commits into from
Jul 12, 2022

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented Jul 11, 2022

This PR adds a benchmark script to the repository showing the speed of the big model inference using Accelerate on several big models. The goal is to compare it to other libraries to show the strengths and weaknesses of each.

I have just run the benchmark on my machine for now. Sharing this script will make it easier to tests other kinds of setups!

@sgugger sgugger requested review from muellerzr and LysandreJik July 11, 2022 19:49
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Copy link
Collaborator

@muellerzr muellerzr left a comment

Choose a reason for hiding this comment

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

Looks great! Just left a few notes

benchmarks/README.md Outdated Show resolved Hide resolved
benchmarks/README.md Show resolved Hide resolved
sgugger and others added 2 commits July 12, 2022 09:09
Co-authored-by: Zachary Mueller <muellerzr@gmail.com>
@sgugger sgugger merged commit ea0d536 into main Jul 12, 2022
@sgugger sgugger deleted the benchmarks branch July 12, 2022 19:16
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

Successfully merging this pull request may close these issues.

3 participants