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

CI Make torch compile tests run on GPU #1808

Merged

Conversation

BenjaminBossan
Copy link
Member

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.

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.
@HuggingFaceDocBuilderDev

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.

Copy link
Contributor

@younesbelkada younesbelkada left a 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

Comment on lines 23 to 26
strategy:
fail-fast: false
matrix:
docker-image-name: ["huggingface/peft-gpu-bnb-latest:latest"]
Copy link
Contributor

@younesbelkada younesbelkada May 29, 2024

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"

Copy link
Contributor

@younesbelkada younesbelkada left a 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>
@BenjaminBossan
Copy link
Member Author

@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.

Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

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

Thanks again !

@BenjaminBossan BenjaminBossan merged commit 8cd2cb6 into huggingface:main May 30, 2024
14 checks passed
@BenjaminBossan BenjaminBossan deleted the ci-torch-compile-tests-gpu branch May 30, 2024 10:37
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