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.
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.
This test fails in multi-GPU setting because
transformers.Trainer
switches toDataParallel
. 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
so it's important to fix this test fast, as it may mask other failures on multi-GPU.