Skip to content

fix(hrm_text): Add XPU Expectations for tests#46214

Merged
vasqu merged 4 commits into
huggingface:mainfrom
kaixuanliu:fix-model-tests-hrm_text-20260525
May 27, 2026
Merged

fix(hrm_text): Add XPU Expectations for tests#46214
vasqu merged 4 commits into
huggingface:mainfrom
kaixuanliu:fix-model-tests-hrm_text-20260525

Conversation

@kaixuanliu
Copy link
Copy Markdown
Contributor

@ydshieh pls help review, thx!

Fixed 3 test(s):
- tests/models/hrm_text/test_modeling_hrm_text.py::HrmTextModelTest::test_flash_attn_2_fp32_ln
- tests/models/hrm_text/test_modeling_hrm_text.py::HrmTextIntegrationTest::test_forward_logits
- tests/models/hrm_text/test_modeling_hrm_text.py::HrmTextIntegrationTest::test_greedy_generation
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Copy link
Copy Markdown
Contributor

@vasqu vasqu left a comment

Choose a reason for hiding this comment

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

LGTM, any reason we have it in draft?

@kaixuanliu
Copy link
Copy Markdown
Contributor Author

Well, we found there is some minor difference between (xpu,3) and (xpu,5). We still need some time to double check if there is underlying bug on xpu side. And we need to discuss to decide if we should maintain 2 device or just (xpu,5).

Signed-off-by: kaixuan1992 <kaixuan.liu92@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: hrm_text

@kaixuanliu kaixuanliu marked this pull request as ready for review May 27, 2026 02:38
@kaixuanliu
Copy link
Copy Markdown
Contributor Author

It's OK now, pls help review, @vasqu @ydshieh , thx!

Copy link
Copy Markdown
Contributor

@vasqu vasqu left a comment

Choose a reason for hiding this comment

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

Thanks 🫡

@vasqu vasqu enabled auto-merge May 27, 2026 12:27
@vasqu vasqu added this pull request to the merge queue May 27, 2026
@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.

Merged via the queue into huggingface:main with commit a6cd3b4 May 27, 2026
24 checks passed
@kaixuanliu kaixuanliu deleted the fix-model-tests-hrm_text-20260525 branch May 28, 2026 03:27
yuchenxie4645 pushed a commit to yuchenxie4645/transformers that referenced this pull request May 28, 2026
* fix(hrm_text): auto-fix failing tests

Fixed 3 test(s):
- tests/models/hrm_text/test_modeling_hrm_text.py::HrmTextModelTest::test_flash_attn_2_fp32_ln
- tests/models/hrm_text/test_modeling_hrm_text.py::HrmTextIntegrationTest::test_forward_logits
- tests/models/hrm_text/test_modeling_hrm_text.py::HrmTextIntegrationTest::test_greedy_generation

* update

Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>

* update value for BMG

Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>

* update

Signed-off-by: kaixuan1992 <kaixuan.liu92@gmail.com>

---------

Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: kaixuan1992 <kaixuan.liu92@gmail.com>
Co-authored-by: kaixuan1992 <kaixuan.liu92@gmail.com>
kashif pushed a commit to kashif/transformers that referenced this pull request Jun 1, 2026
* fix(hrm_text): auto-fix failing tests

Fixed 3 test(s):
- tests/models/hrm_text/test_modeling_hrm_text.py::HrmTextModelTest::test_flash_attn_2_fp32_ln
- tests/models/hrm_text/test_modeling_hrm_text.py::HrmTextIntegrationTest::test_forward_logits
- tests/models/hrm_text/test_modeling_hrm_text.py::HrmTextIntegrationTest::test_greedy_generation

* update

Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>

* update value for BMG

Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>

* update

Signed-off-by: kaixuan1992 <kaixuan.liu92@gmail.com>

---------

Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: kaixuan1992 <kaixuan.liu92@gmail.com>
Co-authored-by: kaixuan1992 <kaixuan.liu92@gmail.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.

3 participants