Skip to content

Fix aya_vision test#38674

Merged
ydshieh merged 13 commits intomainfrom
fix_aya_vision
Jun 9, 2025
Merged

Fix aya_vision test#38674
ydshieh merged 13 commits intomainfrom
fix_aya_vision

Conversation

@ydshieh
Copy link
Copy Markdown
Collaborator

@ydshieh ydshieh commented Jun 8, 2025

What does this PR do?

The processor tests and integration tests are never run due to an issue of @require_read_token.

After a fix #38093, I should had update the expected values for integration test but not done at that moment - now it is done.

For processor tests, we no longer need @require_read_token as the repository is changed to hf-internal-testing/namespace-CohereForAI-repo_name_aya-vision-8b (not including the model weights).
- currently, require_read_token has an issue with @staticmethod - I need to fix it.

All tests pass on T4/A10 torch 2.6/2.7

@ydshieh ydshieh requested a review from yonigozlan June 9, 2025 09:17
Copy link
Copy Markdown
Member

@yonigozlan yonigozlan left a comment

Choose a reason for hiding this comment

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

Great! Again big fan of Expectations 😍

@ydshieh ydshieh merged commit e55983e into main Jun 9, 2025
15 of 16 checks passed
@ydshieh ydshieh deleted the fix_aya_vision branch June 9, 2025 20:18
yanamis pushed a commit to yanamis/transformers that referenced this pull request Jun 9, 2025
* fix 1: load_in_4bit=True,

* fix 2: decorateor

* fixfix 2: breakpoint

* fixfix 3: update

* fixfix 4: fast

* fixfix 5: cond

* fixfix 5: cond

* fixfix 6: cuda 8

* ruff

* breakpoint

* dtype

* a10

* a10

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
stevhliu pushed a commit that referenced this pull request Jun 9, 2025
* Standardize ByT5 model card format

* Apply review feedback from @stevhliu

* Fix Notes formatting and wording

* Fix `aya_vision` test (#38674)

* fix 1: load_in_4bit=True,

* fix 2: decorateor

* fixfix 2: breakpoint

* fixfix 3: update

* fixfix 4: fast

* fixfix 5: cond

* fixfix 5: cond

* fixfix 6: cuda 8

* ruff

* breakpoint

* dtype

* a10

* a10

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>

* Fix autodoc formatting for ByT5Tokenizer

---------

Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
bvantuan pushed a commit to bvantuan/transformers that referenced this pull request Jun 12, 2025
* fix 1: load_in_4bit=True,

* fix 2: decorateor

* fixfix 2: breakpoint

* fixfix 3: update

* fixfix 4: fast

* fixfix 5: cond

* fixfix 5: cond

* fixfix 6: cuda 8

* ruff

* breakpoint

* dtype

* a10

* a10

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
bvantuan pushed a commit to bvantuan/transformers that referenced this pull request Jun 12, 2025
* Standardize ByT5 model card format

* Apply review feedback from @stevhliu

* Fix Notes formatting and wording

* Fix `aya_vision` test (huggingface#38674)

* fix 1: load_in_4bit=True,

* fix 2: decorateor

* fixfix 2: breakpoint

* fixfix 3: update

* fixfix 4: fast

* fixfix 5: cond

* fixfix 5: cond

* fixfix 6: cuda 8

* ruff

* breakpoint

* dtype

* a10

* a10

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>

* Fix autodoc formatting for ByT5Tokenizer

---------

Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
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.

2 participants