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

FIX TEST: Higher tolerance for AdaLoRA in test #1897

Conversation

BenjaminBossan
Copy link
Member

The test is flaky on CI, so this PR increases the tolerance to hopefully fix the flakines. I cannot reproduce the error locally (neither on GPU nor CPU), so I'm not 100% sure if this tolerance is enough to make the test reliable.

The test is flaky on CI, so this PR increases the tolerance to hopefully
fix the flakines. I cannot reproduce the error locally (neither on GPU
nor CPU), so I'm not 100% sure if this tolerance is enough to make the
test reliable.
@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
Member

@SunMarc SunMarc left a comment

Choose a reason for hiding this comment

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

SGTM ! If this persists, maybe we can think about adding the is_flaky decorator, just like in transformers.

@BenjaminBossan BenjaminBossan merged commit 62122b5 into huggingface:main Jul 1, 2024
14 checks passed
@BenjaminBossan BenjaminBossan deleted the fix-adalora-test-higher-tolerance branch July 1, 2024 13:42
@BenjaminBossan
Copy link
Member Author

If this persists, maybe we can think about adding the is_flaky decorator, just like in transformers.

Let's hope this fixes it. Using this decorator could be a last resort if we don't find a better way.

BenjaminBossan added a commit to BenjaminBossan/peft that referenced this pull request Jul 1, 2024
See huggingface#1897 for more context. The test is still flaky, increasing
tolerance further.
BenjaminBossan added a commit that referenced this pull request Jul 2, 2024
See #1897 for more context. The test is still flaky, increasing
tolerance further.
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