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

[WIP] Faster generation with CUDA graphs #65

Merged
merged 7 commits into from
Aug 28, 2024
Merged

Conversation

tsengalb99
Copy link
Contributor

@tsengalb99 tsengalb99 commented Jul 21, 2024

This PR adds CUDA graph support for HuggingFace generate. It requires transformers==4.40.1. This PR allows us to finally get the advertised QuIP# speeds with out of the box HF.

The main generate script example_generate.py is from https://github.com/chu-tianxiang/QuIP-for-all.

@tsengalb99 tsengalb99 mentioned this pull request Jul 22, 2024
@tsengalb99 tsengalb99 merged commit 4594823 into main Aug 28, 2024
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.

1 participant