Repository navigation
[pull] main from huggingface:main - #9
Merged
Merged
Conversation
* 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]>
update dev
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )