Repository navigation
[serge] Fix 6 integration tests for model mluke failing with other (other (6)) - #48385
sergereview[bot] wants to merge 1 commit into
Conversation
|
[For maintainers] Suggested jobs to run (before merge) run-slow: mluke |
CI recapDashboard: View test results in Grafana |
|
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. |
MLuke tokenizer integration test failures — findingsWe investigated the long-running failures of the following three tests:
Timeline
Root cause 1 —
|
|
Closing as stale: all 6 mluke failures cleared on main on 2026-10-08 and the tests pass in the 2026-10-10 nightly. Part of a clean-up of the serge PR queue: https://huggingface.co/spaces/huggingface/serge-pr-queue-review |
Original CI failure
6 integration tests for modelmlukefailing withother(other (6))tests/models/mluke/test_tokenization_mluke.py::MLukeTokenizerIntegrationTests::test_entity_span_classification_no_padding_or_truncation[multi-gpu] (other, seen 7/7)CI traceback —
tests/models/mluke/test_tokenization_mluke.py::MLukeTokenizerIntegrationTests::test_entity_span_classification_no_padding_or_truncationWhere to watch it:
Relates to #48384
The MLuke integration tests fail because:
<s>/</s>instead of<ent>/<ent2>. The hub config can place other tokens (e.g.<s>,</s>) at the front ofextra_special_tokens, soextra_special_tokens_ids[0/1]no longer point to the entity markers.▁to punctuation that follows an entity boundary (e.g.Japan .instead ofJapan.).The patch:
<ent>and<ent2>to the front ofextra_special_tokensso the hard-coded indices are reliable.▁prefixes on trailing punctuation._convert_token_to_id/_convert_id_to_tokenso added tokens (like<ent>) are not shifted byfairseq_offset.No
modular_*.pyexists for mluke, sotokenization_mluke.pyis edited directly.✅ Verified on GPU
serge ran the targeted
@slowtest(s) on a GPU runner and opened this PR only after they passed with this patch. Each targeted test was run 5× on both the pre-patch and patched trees to rule out flakiness — the result held on every run.This change was produced automatically by serge from a CI failure report. The patch was generated by an LLM and applied by serge; review before merging.
serge
v0.1.0· model:moonshotai/Kimi-K2.7-Code· 51 LLM turns · 51 tool calls · 261.8s · 2196431 in / 50080 out tokens