Skip to content

Conversation

@BenjaminBossan
Copy link
Member

PR #2341 added more rigorous checks for AdaLoRA and adjusted the tests to take that into account. However, one GPU test was missed. This test is now updated too, fixing the failing nightly CI (I ran it locally on GPU to verify).

On top of that, I adjusted some numbers on the tests so that each AdaLoRA phase runs for 2 steps, leading to 6 steps total. This means that tests run a little bit longer but I think it's acceptable for better test coverage.

PR huggingface#2341 added more rigorous checks for AdaLoRA and adjusted the tests
to take that into account. However, one GPU test was missed. This test
is now updated too, fixing the failing nightly CI (I ran it locally on
GPU to verify).

On top of that, I adjusted some numbers on the tests so that each
AdaLoRA phase runs for 2 steps, leading to 6 steps total. This means
that tests run a little bit longer but I think it's acceptable for
better test coverage.
@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
Collaborator

@githubnemo githubnemo left a comment

Choose a reason for hiding this comment

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

Ah thanks for catching that. Good idea testing init and final steps as well. LGTM

@BenjaminBossan BenjaminBossan merged commit a8e94b6 into huggingface:main Jan 27, 2025
14 checks passed
@BenjaminBossan BenjaminBossan deleted the fix-failing-adalora-gpu-test branch January 27, 2025 15:16
Guy-Bilitski pushed a commit to Guy-Bilitski/peft that referenced this pull request May 13, 2025
PR huggingface#2341 added more rigorous checks for AdaLoRA and adjusted the tests
to take that into account. However, one GPU test was missed. This test
is now updated too, fixing the failing nightly CI (I ran it locally on
GPU to verify).

On top of that, I adjusted some numbers on the tests so that each
AdaLoRA phase runs for 2 steps, leading to 6 steps total. This means
that tests run a little bit longer but I think it's acceptable for
better test coverage.
cyyever pushed a commit to cyyever/peft that referenced this pull request Sep 4, 2025
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