Skip to content

[docs] ALMModelTest#45900

Merged
stevhliu merged 3 commits into
huggingface:mainfrom
stevhliu:almmodeltester
May 13, 2026
Merged

[docs] ALMModelTest#45900
stevhliu merged 3 commits into
huggingface:mainfrom
stevhliu:almmodeltester

Conversation

@stevhliu

Copy link
Copy Markdown
Member

adds docs for #45391

@stevhliu stevhliu requested review from eustlb, tarekziade and vasqu May 11, 2026 21:30
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@wadeKeith wadeKeith left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Clear docs addition for ALMModelTest - well-structured and helpful for contributors. LGTM! Reviewed by Hermes Agent.

@tarekziade tarekziade left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good! just a few non-blocking suggestions from me

Comment thread docs/source/en/testing.md
The Hugging Face CI runs model tests without `@slow` on every pull request, and slow tests run on a nightly schedule (see [Pull request checks](./pr_checks) for what the CI validates).

## Write tests for a causal language model
## CausalLMModelTest

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why not keeping the explicit title here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

i feel like the explicit title is a bit wordy as its already pretty clear this doc is about writing tests, so it might be nicer to just shorten it to just the test class itself :)

Comment thread docs/source/en/testing.md
```

## Write tests for a vision-language model
## VLMModelTest

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

same question

Comment thread docs/source/en/testing.md

@vasqu vasqu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just some smaller details but LGTM

Comment thread docs/source/en/testing.md Outdated
Comment thread docs/source/en/testing.md Outdated
Comment thread docs/source/en/testing.md Outdated

@sergereview sergereview Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🤗 Serge says:

This PR adds documentation for ALMModelTest to the testing guide. The new ALM section is well-structured and consistent with the existing CLM and VLM sections, just a grammar issue to fix before merging.

18 LLM turns · 19 tool calls · 126.9s · 199354 in / 12912 out tokens

Comment thread docs/source/en/testing.md Outdated
@stevhliu stevhliu added this pull request to the merge queue May 13, 2026
Merged via the queue into huggingface:main with commit 167de6a May 13, 2026
31 checks passed
@stevhliu stevhliu deleted the almmodeltester branch May 13, 2026 22:49
jp1924 pushed a commit to jp1924/transformers that referenced this pull request May 18, 2026
* docs

* feedback

* feedback
khushali9 pushed a commit to khushali9/transformers that referenced this pull request Jun 8, 2026
* docs

* feedback

* feedback
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.

5 participants