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 gemma tests #31794

Merged
merged 5 commits into from
Jul 5, 2024
Merged

Fix gemma tests #31794

merged 5 commits into from
Jul 5, 2024

Conversation

ydshieh
Copy link
Collaborator

@ydshieh ydshieh commented Jul 4, 2024

What does this PR do?

  • skip 3 gemma-7b tests: it's just OOM (even run each single one test)
  • fix wrong checkpoint google/gemma-2-9b used in test_model_2b_fp16 (it also gives OOM)
  • update expected output in test_model_2b_eager and test_model_7b_4bit. See comment in the change

Comment on lines +610 to +611
"Hello I am doing a project on the 1990s and I need to know what the most popular music",
"Hi today I am going to share with you a very easy and simple recipe of <strong><em>Khichdi",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is in def test_model_2b_eager(self): which is always failing (previously token issue and assertion failed after a fix for it)

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

@@ -815,7 +824,7 @@ def test_model_7b_4bit(self):
EXPECTED_TEXTS = {
7: [
"Hello I am doing a project for my school and I am trying to make a program that will take a number and then",
"""Hi today I am going to talk about the new update for the game called "The new update" and I""",
"Hi today I am going to talk about the best way to get rid of acne. miniaturing is a very",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

test_model_7b_4bit starts to fail since April 24. I still get failures when I checkout to commits before that date. Likely some changes in the bnb. Let's just update.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

(well, it probably fails even in earlier date as we switch slack report channels a few month back and I only check one channel that is currently used)

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

Great, thanks Yih-Dar!

@ydshieh ydshieh merged commit eef0507 into main Jul 5, 2024
21 of 23 checks passed
@ydshieh ydshieh deleted the skip_7b_gemma branch July 5, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants