-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
CI Make torch compile tests run on GPU #1808
CI Make torch compile tests run on GPU #1808
Conversation
Many of these tests require a GPU to run, so use custom runners. Code was mostly copied from existing workflows, I hope that this works.
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
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.
Thanks ! Note we do have access to A10 GPUs in case you want to run them on more recent hardware
strategy: | ||
fail-fast: false | ||
matrix: | ||
docker-image-name: ["huggingface/peft-gpu-bnb-latest:latest"] |
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.
nit: we don't really need matrix here since we're testing it only on "huggingface/peft-gpu-bnb-latest:latest"
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.
Left also small nits to make the workflow file clearer
Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
@younesbelkada Thanks for the review. I kept the test matrix with a single entry to make it easier to extend in the future but as is, it's indeed not needed, so it's removed now. |
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.
Thanks again !
Many of these tests require a GPU to run, so use custom runners.
Code was mostly copied from existing workflows, I hope that this works.