Skip to content

[pull] main from huggingface:main - #9

Merged
pull[bot] merged 8 commits into
ZikrieHR:mainfrom
huggingface:main
Sep 9, 2026
Merged

pull[bot] merged 8 commits into
ZikrieHR:mainfrom
huggingface:main

Conversation

@pull

@pull pull Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

wenhuach21 and others added 8 commits September 9, 2026 10:47
* support 5/6/7 bits in AutoRound

* update doc

* refine

Signed-off-by: Wenhua Cheng <[email protected]>

* refine

Signed-off-by: Wenhua Cheng <[email protected]>

* add alg_combination

Signed-off-by: Wenhua Cheng <[email protected]>

---------

Signed-off-by: Wenhua Cheng <[email protected]>
Co-authored-by: Marc Sun <[email protected]>
…48646)

All 6 integration tests were failing due to model output drift. Updated
expected strings for the cuda device across all test cases, including
a curly apostrophe (U+2019) fix and corrected nested/batch radar text.

Co-authored-by: ydshieh <[email protected]>
* add and fix

* wait what, why would they even override if it is same as qwen?!

* LOL why would we cat if rope is interleaved

* fix last

* axial but needs a fix

* maybe last fix?

* fix for the test, also this is more "standard"

* skip

* lost partial rotary factor

* just noticed - kinda weird rope but oke

* that still doesn't mul each value, gotta iterate

* nit

* keep float32 for rope, this should still be equivalent i hope

* really didnt want it, but num precision matters more than i thought
* fix incorrect hub tokenizer class

* test

* test
* [CI] Deduplicate Nvidia/AMD CI comments and add headers

- Rename comment headers: "CI Results" → "CI Results (Nvidia)" in
  self-comment-ci.yml; AMD already used "CI Results (AMD)"
- Add "## Nvidia CI" / "## AMD CI" headers to reply_to_comment posts
  and say "on Nvidia" / "on AMD" explicitly
- Before posting any reply_to_comment, delete all existing
  "## Nvidia CI" and "## AMD CI" comments so re-triggering run-slow
  keeps only one acknowledgment comment on the PR

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* [CI] Each workflow only deletes its own CI comments

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* [CI] Also deduplicate CI Results (AMD) report comments

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: ydshieh <[email protected]>
…ate golden values (#48638)

- Pin nougat_pdf.png to revision ec57bf8c (file was removed from dataset
  repo HEAD, causing 404 errors since 2025-06-20)
- Update expected logit slice and generation scores for fast image processor
- Update expected generated text (fast processor produces slightly different
  pixel values, changing the generation output)
- Replace self.assertTrue(torch.allclose) with torch.testing.assert_close

Co-authored-by: ydshieh <[email protected]>
…ecode bug (#48650)

* [fix] Fix GlmOcr integration tests: wrong token IDs and image token decode bug

Two distinct issues were causing all 6 integration tests to fail from day one:

1. Wrong expected input_ids: the test was written with Qwen2.5-style token IDs
   (151K range) but zai-org/GLM-OCR uses a GLM-4 tokenizer (59K vocab).
   Updated to the actual IDs produced by the processor.

2. Image tokens leaking into decoded output: `batch_decode(output, ...)` decodes
   the full sequence including the input prompt, which contains hundreds of
   `<|image|>` tokens (ID 59280). These tokens are in `all_special_tokens` but
   their `added_tokens_decoder` entry has `special=False` in the Rust backend,
   so `skip_special_tokens=True` does not filter them. Fixed by decoding only
   the newly generated tokens: `output[:, inputs.input_ids.shape[1]:]`.

All 6 tests verified passing on a single-GPU runner.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* [style] Fix slice spacing in GlmOcr integration tests (ruff)

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: ydshieh <[email protected]>
@pull pull Bot locked and limited conversation to collaborators Sep 9, 2026
@pull pull Bot added the ⤵️ pull label Sep 9, 2026
@pull
pull Bot merged commit 4815a0a into ZikrieHR:main Sep 9, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants