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

Paligemma - fix slow tests, add bf16 and f16 slow tests #30851

Merged
merged 10 commits into from
May 22, 2024
Merged

Conversation

molbap
Copy link
Contributor

@molbap molbap commented May 16, 2024

What does this PR do?

As per PR title.
cc @ydshieh

@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

@ydshieh ydshieh left a comment

Choose a reason for hiding this comment

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

Thanks @molbap . Some nits.

Let's try the run-slow feature to make sure everything is passing on CI runner.

@molbap
Copy link
Contributor Author

molbap commented May 17, 2024

OOO but the models are gated @ydshieh , the CI bot needs access for testing, not sure how to do it! (the run-slow works apart from that 💯 )

@younesbelkada
Copy link
Contributor

@molbap for that you can use require_read_token context manager:

:D !

@molbap
Copy link
Contributor Author

molbap commented May 22, 2024

cc @ydshieh should be good to go!

Copy link
Collaborator

@ydshieh ydshieh left a comment

Choose a reason for hiding this comment

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

Thank you @molbap ! LGTM.

I am not sure I understand the to replace what is used part in this comment

Let' s make sure we test the preprocessing to replace what is used

(what is what and what is used here).

I mean it might be good to be more precise - but maybe I lack some context

@molbap
Copy link
Contributor Author

molbap commented May 22, 2024

Apparently it comes from Llava code - I have no idea what this comment means! maybe @younesbelkada ?

@ydshieh
Copy link
Collaborator

ydshieh commented May 22, 2024

In this case, we can merge, and once @younesbelkada has answered, we can update the comments in another PR (if needed)

Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

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

Thanks !
About your question, honestly I don't know, I think we can safely ignore it

@ydshieh
Copy link
Collaborator

ydshieh commented May 22, 2024

If that comment is that confusing, let's just remove it in another PR (both here and in LLava testing file). WDTY?

@molbap molbap merged commit 250ae9f into main May 22, 2024
22 checks passed
@molbap molbap deleted the fix_paligemma_tests branch May 22, 2024 14:20
itazap pushed a commit that referenced this pull request May 24, 2024
* fix slow tests, add bf16 and f16 slow tests

* few fixes

* [run-slow]paligemma

* add gate decorator

* [run-slow]paligemma

* add missing gating

* [run-slow]paligemma

* [run-slow]paligemma
itazap pushed a commit that referenced this pull request May 30, 2024
* fix slow tests, add bf16 and f16 slow tests

* few fixes

* [run-slow]paligemma

* add gate decorator

* [run-slow]paligemma

* add missing gating

* [run-slow]paligemma

* [run-slow]paligemma
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.

None yet

5 participants