Skip to content

Mark CI test_training_vlm_and_liger as xfail#5202

Merged
albertvillanova merged 3 commits intohuggingface:mainfrom
albertvillanova:fix-5201
Mar 2, 2026
Merged

Mark CI test_training_vlm_and_liger as xfail#5202
albertvillanova merged 3 commits intohuggingface:mainfrom
albertvillanova:fix-5201

Conversation

@albertvillanova
Copy link
Member

Mark test_training_vlm_and_liger as xfail.

Fix #5201.

This PR upsdates test suite for GRPOTrainer by adding a conditional xfail marker for a specific model test. This marker helps to handle an upstream issue with the Liger Kernel integration for future transformers versions, ensuring the test suite remains stable when the issue is present.

Testing improvements:

  • Added an xfail marker to the "trl-internal-testing/tiny-Qwen2_5_VLForConditionalGeneration" test case in tests/test_grpo_trainer.py, which conditionally fails the test when using Liger Kernel version >= 0.8.0 and transformers version > 5.2.0, referencing the upstream issue.

@albertvillanova albertvillanova changed the title Mark test_training_vlm_and_liger as xfail Mark CI test_training_vlm_and_liger as xfail Mar 2, 2026
@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.

@albertvillanova albertvillanova merged commit 0bf875c into huggingface:main Mar 2, 2026
10 of 11 checks passed
albertvillanova added a commit that referenced this pull request Mar 2, 2026
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.

CI fails with dev dependencies: ValueError: The following model_kwargs are not used by the model: ['mm_token_type_ids']

3 participants