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

TST: Skip test on multi-GPU as DataParallel fails #2234

Conversation

BenjaminBossan
Copy link
Member

This test fails in multi-GPU setting because transformers.Trainer switches to DataParallel. As this is not a commonly used parallelization strategy, it should be okay to just skip this. The test will still be run on single GPU and CPU.

https://github.com/huggingface/peft/actions/runs/12002085686/job/33453519249#step:6:45046

Unfortunately, once this test fails, all subsequent tests also fail with

RuntimeError: CUDA error: device-side assert triggered

so it's important to fix this test fast, as it may mask other failures on multi-GPU.

This test fails in multi-GPU setting because transformers.Trainer
switches to DataParallel. As this is not a commonly used parallelization
strategy, it should be okay to just skip this.
@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.

@BenjaminBossan BenjaminBossan merged commit d13d7a4 into huggingface:main Nov 26, 2024
14 checks passed
@BenjaminBossan BenjaminBossan deleted the tst-skip-test-that-fails-with-dataparallel branch November 26, 2024 15:40
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