Repository navigation
Conversation
|
Re-recorded the Fresh measurements with Evalution 0.0.17 on an RTX 4090 (SM 8.9, torch 2.15.0+cu132, transformers 5.23.0), bf16, all 1209 rows, eval batch 32,
Fast and slow differ by 7%, more than the unchanged 4% floor, so each mode keeps its own measured value ( Verification: |
Overlap with #6442 in the two Llama-3.2 protocol filesThis PR fixes the same stale assertion that #6442 fixes, in the same two files:
Both add a Why I think #6442's form should winThe root cause is that the compiler wraps a selector with a assert len(cfg.dynamic) == 1
assert next(iter(cfg.dynamic)).startswith("-:")
# layer 1 and 32 excluded, layer 0 and 33 notAn audit verified the two forms are semantically identical for this pattern (123 module names, layers 0-39 × 3 projections + Practical consequenceI merged all 22 open session PRs into one tree to check for combination-caused failures ( So: merging #6442 first makes this PR's protocol change redundant — you could drop those 2 files from it (the cohere_compass baseline re-record, which is the PR's other and more valuable half, is unaffected). Merging this one first means #6442 needs a rebase. Nothing here blocks the baseline work — flagging it so the two do not collide during a merge wave. |
3d358f8 to
d22f0e8
Compare
- llama3.2 bitsandbytes: pin fast-layer prefix and assert 4-bit buffers - cohere_compass: monkeypatch load_model_config; replay must keep None rotary - base: honor rope_parameters[layer_type] = None in layer-type replay - unlimited_ocr: read the legacy processor_config.json; add unit regression - locateanything/minicpm_o: let the port own the processor - ovis 1.6: pin FP16 for the Marlin kernel - dream: gate the remote-only tokenizer on the documented bypass Rebased onto 47aa824. The llama3.2 gptq/gguf protocol hunks were dropped: #6442 (9fb990d) already fixes the same stale `cfg.dynamic` assertion in both files by asserting the exclusion contract, so main's version is kept. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The stored 0.4723 was unreachable on this checkpoint: the native (unquantized) bf16 model scores 0.3259 on the same harness, so the value was stale rather than a quantization regression. Re-record both measurement configurations from the current harness: slow mode (28/28 layers quantized) scores 0.2018 and fast mode (first 4/28 layers, the CI configuration) scores 0.1886. They differ by 7%, more than the unchanged 4% floor, so each mode keeps its own measured value. Native batch 8, fast batch 8 and repeated fast runs reproduce the same scores, so the metric is stable and the floor is unchanged.
d22f0e8 to
ca7eff8
Compare
Review (head
|
| fix | state on origin/main 47aa824 | evidence | kept? |
|---|---|---|---|
test_llama3_2_gptq_protocol.py, test_llama3_2_gguf_protocol.py (compiled dynamic key) |
already fixed | #6442 (9fb990d) replaced the same cfg.dynamic == {...} assertion in both files with the behavioural form (one -: rule; dynamic_get excludes layers 1 and 32 and leaves layers 0 and 33). The rebase conflicted only on these two files; I took main's version, which leaves this PR's COMPILED_LAYER0_ONLY_NEGATIVE_MATCH unused. The PR's own 2026-11-29 comment recommends the same. |
dropped |
test_jamba.py |
already fixed | #6307 is MERGED (0efbfac). tests/models/test_jamba.py:11 has pytest.importorskip("mamba_ssm", ...). This PR never carried the change. |
n/a |
base.py layer-type replay with rope_parameters[type] = None (Cohere Compass) |
still needed | Main base.py _build_layer_type_replay_kwargs still rebuilds rotary for every non-base type. The PR's regression run against main's package gives KeyError: 'full_attention' (transformers modeling_rope_utils.py:123). The E2E node on main fails at 38.8 s with KeyError: 'full_attention'. The checkpoint North-Micro-Vision-Instruct/config.json declares rope_parameters.full_attention = None. None of #6398, #6437, #6446-#6454, #6460, #6464 or #6469-#6472 touched this code. The hunk applied cleanly at the same functions (now base.py:5676 and :5896). |
kept |
test_cohere_compass.py auto.AutoConfig monkeypatch |
still needed | On main, test_cohere_compass_model_type_selects_definition fails with AttributeError: module 'gptqmodel.models.auto' has no attribute 'AutoConfig'. auto.check_and_get_model_definition calls load_model_config (auto.py:735), the name already patched by tests/test_local_model_paths.py. |
kept |
test_cohere_compass.py gsm8k baselines |
still needed | Main still stores 0.4723. See Tests for the rebased E2E result. | kept |
ports/unlimited_ocr/__init__.py legacy processor_config.json |
still needed | No main commit touched the port. On main, the PR's unit regression and the E2E node both fail with OSError: Can't load image processor ... preprocessor_config.json (/monster/data/model/Unlimited-OCR has only processor_config.json). #6464 changed only definitions/unlimited_ocr.py hooks. |
kept (see non-blocking 1) |
test_locateanything.py LOAD_PROCESSOR = False |
still needed | Main E2E: 1 failed, 1 passed in 249.80s. The failure is ValueError: The repository /tmp/tmp... contains custom code ... pass trust_remote_code=True, raised by the harness AutoProcessor. #6386, #6412 and #6457 did not change model_test.py:1917/:1931. |
kept (see non-blocking 2) |
test_minicpm_o_4_5.py LOAD_PROCESSOR = False |
still needed | Main E2E: 1 failed in 224.07s, ValueError: Unrecognized processing class in /tmp/tmp..., from the same harness call. |
kept (see non-blocking 2) |
test_ovis_1_6_llama.py TORCH_DTYPE = torch.float16 |
still red on main, but the PR misdiagnoses the cause | Main E2E: 1 failed in 594.78s, RuntimeError: gpt_marlin_gemm_fp16 only supports float16. See blocking 1. |
kept, needs rework |
test_llama3_2_bitsandbytes.py |
still needed | Main E2E: 1 failed in 75.26s. layers[0].self_attn.q_proj is a dense Linear because the fast-mode default is "last" (model_test.py:597). The test also asserts the 8-bit weight_scb on a 4-bit config; main's bitsandbytes.py:42-48 keeps weight_scb only on the 8-bit path. |
kept |
test_dream.py remote-tokenizer gate |
still needed | Main: 1 failed in 3.80s, RemoteCodeSecurityError: dream checkpoints ship a customized tokenizer ... requires both trust_remote_code=True and GPTQ_BYPASS_SAFETY_CHECKS=1. This is by design: definitions/dream.py declares remote_tokenizer_model_types=("dream",). |
kept (see non-blocking 3) |
Blocking
- The ovis fp16 pin hides fp32 activations reaching Marlin, and its comment states the wrong cause (
tests/models/test_ovis_1_6_llama.py:19-21).- The comment says the Marlin kernel "for this checkpoint only serves FP16 activations; the native checkpoint is BF16". That is not how Marlin selects its op.
gptqmodel/utils/marlin.py:439-440,1326-1327picksgptq_marlin_gemm_bf16whena.dtype == bfloat16and the fp16 op for anything else. A bf16 activation would therefore have run the bf16 op. - I re-ran the main E2E with a diagnostic-only pytest plugin that wraps
gptqmodel.utils.marlin.gptq_marlin_gemmand prints the input dtype on failure. It printedDTYPE_PROBE marlin input a.dtype=torch.float32 shape=(1018, 3072), while the loader loggedAuto dtype (native bfloat16)for both the native and the quantized load. - So during
OvisQModel.generateprefill (definitions/ovis.py:163→ports/ovis/modeling_ovis.py:311→ llamaq_proj), fp32 hidden states reach a Marlin module inside a model that loaded as bf16. Under the kernel forward-dtype contract (contracts/kernel/forward-dtype.md), that is a product defect. - Pinning
TORCH_DTYPE = torch.float16makes the test green but stops covering the bf16 path the checkpoint loads in by default. I did not find where the fp32 comes from.merge_multimodalcasts visual embeds toget_wte().weightdtype and text embeddings come fromF.embeddingon that weight. Candidates are an fp32embed_tokensor norm weight after the quantized reload; this is unverified. - Recommendation: drop the pin from this PR, or keep it only with a corrected comment that links a filed issue. File the fp32-activation bug with the probe reproduction above.
- The comment says the Marlin kernel "for this checkpoint only serves FP16 activations; the native checkpoint is BF16". That is not how Marlin selects its op.
Non-blocking
- Unlimited-OCR legacy-config reader: the code is redundant and its test cannot fail (
gptqmodel/models/ports/unlimited_ocr/__init__.py:39-62,tests/models/test_unlimited_ocr.py:39-88).- Every value the reader takes from the released
processor_config.jsonalready equals the native class default.candidate_resolutions [[1024,1024]]matchessize = {"height": 1024, "width": 1024}.image_mean/image_std[0.5]*3matchIMAGENET_STANDARD_MEAN/_STD, which are[0.5, 0.5, 0.5].normalize: truematchesdo_normalize = True(ports/native/unlimited_ocr/image_processing_unlimited_ocr.py:146-151). - The unit fixture uses those same default values. A mutant that ignores the file (
UnlimitedOcrImageProcessor()) still passes the new test: I ran it and got1 passed in 7.47s. - Either build
UnlimitedOcrImageProcessor()from its declared defaults whenpreprocessor_config.jsonis absent (about 20 fewer lines, no JSON parsing), or keep the reader and give the fixture non-default values so the test actually checks it. - The branch only runs for local directories (
Path(path).is_dir()). A Hub id still raises the sameOSError.
- Every value the reader takes from the released
- Three per-test
LOAD_PROCESSOR = Falseflags work around one harness bug (test_unlimited_ocr.py:99,test_locateanything.py:50,test_minicpm_o_4_5.py:17).tests/models/model_test.py:1917and:1931callAutoProcessor.from_pretrained(path, trust_remote_code=...)on the quantized temp checkpoint. That bypasses the processor the definition already loaded (BaseQModel.processor, from_resolve_processor/LocalModelLoader.load_processor,base.py~5163-5205).- All three failures on main come from that call. The minicpm_o quantized reload logged no "ships no processor metadata" warning, so the metadata is present and only the class discovery fails.
- Using
q_model.processor(falling back toAutoProcessoronly when it isNone) would fix all three at the owner. It would also let the harness drop theis_ovis_modelspecial case atmodel_test.py:1820and these three flags, in line with the debloat direction.
- The Dream gate re-parses the bypass env var more strictly than the product (
tests/models/test_dream.py:12).- The gate checks
os.environ.get("GPTQ_BYPASS_SAFETY_CHECKS") == "1". The product'sgptqmodel._torch_safety.safety_checks_bypassed()accepts{"1","true","yes","on","y"}(_torch_safety.py:43,127-130). - So
GPTQ_BYPASS_SAFETY_CHECKS=trueskips the test even though the loader would accept it. Use the helper. - Setting
TRUST_REMOTE_CODE = Trueunconditionally is harmless: the class is skipped unless the bypass is set, and the product still demands both flags.
- The gate checks
- The
base.pychange is generic and driven by data (it readstext_config.rope_parameters[layer_type] is None, with no model_type check), and the apply side only changes behaviour for aNoneentry. It looks correct to me. The new regressiontest_cohere_compass_full_attention_replay_keeps_none_position_embeddingsfails on main for the intended reason (KeyError: 'full_attention') and checks both the build side and the apply side. - The PR body is stale after the drop: its section 2, the "9 fixed" count, and the classification row still list the protocol files. It also cites
/tmp/modelsgpu2/*logs that are not durable. It should be refreshed to match the rebased content.
Conflict resolution
- Base: the old base was 89dbcf9, 158 commits behind main. The branch history uses rebase plus force-push.
- First pass: I rebased onto 8d52eb9 and pushed
d22f0e85e. Onlytests/models/test_llama3_2_gptq_protocol.pyandtests/models/test_llama3_2_gguf_protocol.pyconflicted, against test(protocol): assert the exclusion contract, not the emitted dynamic key #6442 (9fb990d), which changed the same assertion. I resolved both by taking origin/main's version, so this PR no longer touches those files. - Auto-merged files:
tests/models/test_cohere_compass.py(main's refactor(definitions): declare calibration side modules instead of per-model hook pairs #6464 hook-test update, plus the PR's monkeypatch and baselines in a different region) andtests/test_layer_type_replay.py(main's fix(loader): reject tokenizer-less checkpoints and repair pad token (#6361) #6386 fixture change, plus the PR's appended regression) merged without conflict.base.pyapplied cleanly at the same functions. - Second pass: main moved again (docs(skills): drop the dated regression logs; PR and commit history are the log #6468, refactor(definitions): declare the vision-input cast instead of per-model move_input_capture_example overrides #6469, refactor(models): declare non-canonical AWQ folds as data #6470, refactor(models): one export-shell module selector for the quantized loader and get_model_with_quantize #6472). These touch
base.pyonly around lines 1700-4600, far from the replay code. I rebased again with no conflicts and updated the first commit's message to record the drop and the base sha. - New head:
ca7eff8e176b5424509970c47f23186aac6286d4onsweep/models-gpu2, on top of 47aa824.gh pr view 6337 --json mergeablereturnsMERGEABLE(mergeStateStatus: UNSTABLE, CI pending). - PR now touches 10 files:
base.py,ports/unlimited_ocr/__init__.py,tests/test_layer_type_replay.py, and seventests/models/*.pyfiles.
Tests
- Setup: GPU index 4 (RTX 4090),
CUDA_DEVICE_ORDER=PCI_BUS_ID,python -P, clone first onPYTHONPATH, run fromtests/. - Trees: "main" is 8d52eb9. "branch" is
d22f0e85e, whose PR-touched content is identical toca7eff8e1. On the final headca7eff8e1(base 47aa824) I re-ran the fast set and the format check. - Checkpoints: every checkpoint is present under
/monster/data/model/(Llama-3.2-1B-Instruct, North-Micro-Vision-Instruct, Unlimited-OCR, LocateAnything-3B, MiniCPM-o-4_5, Ovis1.6-Llama3.2-3B, Dream-v0-Instruct-7B).
| node | main | branch |
|---|---|---|
tests/test_layer_type_replay.py + models/test_unlimited_ocr.py (non-E2E) + models/test_cohere_compass.py (non-E2E) |
1 failed (test_cohere_compass_model_type_selects_definition, AttributeError auto.AutoConfig), 36 passed. The two new nodes do not exist on main; run from the PR's file against main's package they fail with KeyError: 'full_attention' and OSError ... preprocessor_config.json. |
39 passed |
same set + models/test_dream.py on final head ca7eff8e1 |
n/a | 39 passed, 1 skipped (dream, bypass reason) in 24.16s |
models/test_unlimited_ocr.py (full) |
1 failed, 1 passed in 5.52s (OSError) | 3 passed in 322.25s |
models/test_locateanything.py |
1 failed, 1 passed in 249.80s (custom-code ValueError) | 2 passed in 158.66s |
models/test_ovis_1_6_llama.py |
1 failed in 594.78s (gpt_marlin_gemm_fp16 only supports float16; probe run: fp32 input) |
1 passed in 231.27s (with fp16 pin) |
models/test_llama3_2_bitsandbytes.py |
1 failed in 75.26s (isinstance on layer 0) |
1 passed in 61.02s |
models/test_minicpm_o_4_5.py |
1 failed in 224.07s (Unrecognized processing class) | 1 passed in 126.85s |
models/test_dream.py |
1 failed in 3.80s (RemoteCodeSecurityError) | 1 skipped in 3.49s (bypass not set) |
models/test_cohere_compass.py::TestCohereCompass::test_cohere_compass |
1 failed in 38.76s (KeyError: 'full_attention') |
1 passed in 522.49s (fast mode, quantized eval: gsm8k_platinum_cot acc,num 0.188586 vs stored 0.188586, 100.00%; arc_challenge acc 119.21%, acc_norm 120.87%) |
mutation: unlimited-OCR reader replaced by UnlimitedOcrImageProcessor() |
n/a | new unit test still 1 passed (non-blocking 1) |
bash format/check.sh (temporary no-op pip shim, since removed) |
All checks passed | All checks passed (d22f0e85e and ca7eff8e1) |
- Protocol files: I did not re-run them. Main's versions are unchanged by this PR; test(protocol): assert the exclusion contract, not the emitted dynamic key #6442 records green GPU runs for all four GPTQ/GGUF nodes.
- Not run:
GPTQ_BYPASS_SAFETY_CHECKSpath oftest_dream.py(not set in this environment). - Red on main independent of this PR: none beyond the nodes this PR fixes.
🤖 Generated with Claude Code
Summary
Second GPU sweep of
tests/models/, covering the files the first pass could not reach. One idle RTX 4090 per lane (CUDA_VISIBLE_DEVICES=0and=1, two lanes), each file with a hard 240 s timeout anddevice="cuda:0"in-process. Nodevice_map="auto"override was passed by the runner./monster/data/model/(/tmp/modelsgpu_queue.json). The 37 files already run by the first pass were excluded.TOO-LARGE). No file was a pure eval-only harness; the eval-heavy ones were run and recorded as timeouts.test_jamba.py, not repeated), 2 unfixed product bugs (test_pangu_alpha.py,test_apertus1p5.py)./tmp/modelsgpu2/<file>.log; raw outcomes/tmp/modelsgpu2/results.tsv; final table/tmp/modelsgpu2/results_final.tsv.The 59 other
tests/models/test_*.pyfiles do not reference a readable checkpoint under/monster/data/model/and were outside the first pass's 160-file candidate set.Outcome inventory (61 run)
test_apertus.pytest_apertus1p5.pymodel.vision_tokenizer.encoder...resnetstays on the meta device during calibration (Tensor on device meta is not on the expected device cuda:0), then offload reports unrecoverable meta modules. Not fixed.test_baichuan.pytest_cohere.pytest_cohere2.pytest_cohere_compass.pyrope_parameters["full_attention"] = Nonemade replay rebuild a rotary table that does not exist (KeyError); also staleauto.AutoConfigmonkeypatch. Red 2 failed / 7 passed; green: stale node 1 passed, new unit regression 1 passed; the E2E node now quantizes and evaluates but exceeds 900 s (native+quantized gsm8k at batch 8).test_deci.pytest_deepseek_ocr2.pytest_deepseek_vl_v2.pytest_dream.pyDreamTokenizeronly as checkpoint Python. Added a precise skip unlessGPTQ_BYPASS_SAFETY_CHECKS=1andTRUST_REMOTE_CODE=True; with the bypass it proceeds into arc eval but exceeds 240 s (7B, batch 1). Red 1 failed; green 1 skipped.test_falcon_mamba.pytest_gemma3_4b_it.pytest_gemma3n.pytest_gemma4_variants.pytest_glm.pytest_granite_4_0_h_1b.pytest_granitemoe.pytest_granitemoe_swa.pytest_instella.pytest_internlm.pytest_jamba.pymamba_ssmmissing; identical fix is already in draft PR #6307 (pytest.importorskip). Not repeated here.test_llama3_2.pytest_llama3_2_bitsandbytes.pyweight_scbbuffer. Pin first layers and assert the 4-bit packed buffers. Red 1 failed (isinstance); green 1 passed.test_llama3_2_dynamic_skip_layer_replay.pytest_llama3_2_exllamav3.pytest_llama3_2_gguf.pytest_llama3_2_gguf_protocol.pydynamicwraps the negative selector in(?:...)because dynamic rules are start-anchored. Red 2 failed; green 1 passed per node (python 238.6 s, yaml 211.9 s). The full file runs both nodes and exceeds 240 s.test_llama3_2_gptq_cuda.pygptq_cuda_e2e/gptq_cuda_eval_only).test_llama3_2_gptq_protocol.pydynamicwrapper as the GGUF protocol test. Red 2 failed; green 1 passed per node (python 229.3 s, yaml 227.5 s). The full file runs both nodes and exceeds 240 s.test_llama3_2_gsq.pyGPTQMODEL_RUN_LLAMA3_2_GSQ_E2E=1.test_llama3_2_qqq.pytest_locateanything.pyAutoProcessorrejected the checkpoint custom code withtrust_remote_code=False; the port owns the processor. Red 1 failed / 1 passed; green 2 passed.test_longllama.pytest_mage_vl.pytest_mimo.pytest_minicpm.pytest_minicpm_o_4_5.pyAutoProcessorcannot discover a processor in the quantized temp checkpoint; the definition owns a local processor. Red 1 failed; green 1 passed.test_minicpmv_4_5.pytest_ministral3.pytest_mistral3.pytest_mpt.pytest_nanbeige42.pytest_olmo_hybrid.pytest_olmoe.pytest_ovis2.pytest_ovis_1_6_llama.pyTORCH_DTYPE = torch.float16. Red 1 failed (gpt_marlin_gemm_fp16 only supports float16); green 1 passed.test_pangu_alpha.pytest_phi_3.pytest_phi_4.pytest_qwen2_5_omni.pyaudioread>=3.1.0is missing (self-skip).test_qwen2_5_vl.pytest_qwen3.pytest_qwen3_5_text_only.pytest_qwen_drive.pytest_spark2_5.pytest_stablelm.pytest_starcode2.pytest_telechat2.pytest_unlimited_ocr.pyprocessor_config.json; the image processor loader and harnessAutoProcessorcould not load it. Read the legacy settings in the port and let the model own the processor. Red 1 failed / 1 passed; green 2 passed.test_voxtral.pytest_xverse.pyTOO-LARGE (62):
test_glm4v.py— checkpoint 20.59 GB > 20 GB (/monster/data/model/GLM-4.1V-9B-Thinking)test_mllama.py— checkpoint 21.34 GB > 20 GB (/monster/data/model/Llama-3.2-11B-Vision-Instruct)test_gptj.py— checkpoint 24.21 GB > 20 GB (/monster/data/model/gpt-j-6b)test_chatglm.py— checkpoint 24.97 GB > 20 GB (/monster/data/model/chatglm3-6b)test_qwen2_moe_quant.py— checkpoint 28.63 GB > 20 GB (/monster/data/model/Qwen1.5-MoE-A2.7B)test_falcon.py— checkpoint 28.87 GB > 20 GB (/monster/data/model/falcon-7b-instruct)test_zamba.py— checkpoint 29.17 GB > 20 GB (/monster/data/model/Zamba-7B-v1)test_mistral.py— checkpoint 29.49 GB > 20 GB (/monster/data/model/Mistral-7B-Instruct-v0.2)test_exaone.py— checkpoint 31.27 GB > 20 GB (/monster/data/model/EXAONE-3.0-7.8B-Instruct)test_deepseekv2_lite.py— checkpoint 31.41 GB > 20 GB (/monster/data/model/DeepSeek-Coder-V2-Lite-Instruct)test_ling.py— checkpoint 32.51 GB > 20 GB (/monster/data/model/Ling-mini-2.0)test_gemma.py— checkpoint 36.97 GB > 20 GB (/monster/data/model/gemma-2-9b)test_gpt_oss.py— checkpoint 41.83 GB > 20 GB (/monster/data/model/gpt-oss-20b-BF16)test_llama3_3_fp4_auto_decoder.py— checkpoint 42.71 GB > 20 GB (/monster/data/model/Llama-3.3-70B-Instruct-FP4)test_diffusion_gemma.py— checkpoint 51.65 GB > 20 GB (/monster/data/model/diffusiongemma-26B-A4B-it)test_qwen4_exp.py— checkpoint 55.14 GB > 20 GB (/monster/data/model/Whittle-Next-27B-A3B)test_qwen3_5.py— checkpoint 55.56 GB > 20 GB (/monster/data/model/Qwen3.5-27B)test_qwen3_5_moe_text_only.py— checkpoint 56.48 GB > 20 GB (/monster/data/model/Qwen3.6-28B-REAP)test_ernie4_5_moe_vl.py— checkpoint 58.82 GB > 20 GB (/monster/data/model/ERNIE-4.5-VL-28B-A3B-PT)test_brumby.py— checkpoint 59.08 GB > 20 GB (/monster/data/model/Brumby-14B-Base)test_muse_glimmer.py— checkpoint 59.55 GB > 20 GB (/monster/data/model/Muse-Glimmer-30B)test_hy_v3.py— checkpoint 60.13 GB > 20 GB (/monster/data/model/Hy-MT2-30B-A3B)test_cohere2_moe.py— checkpoint 60.97 GB > 20 GB (/monster/data/model/North-Mini-Code-1.0)test_qwen3_moe.py— checkpoint 61.07 GB > 20 GB (/monster/data/model/Qwen3-30B-A3B)test_qwen3_vl_moe.py— checkpoint 62.14 GB > 20 GB (/monster/data/model/Qwen3-VL-30B-A3B-Instruct)test_xing4_0.py— checkpoint 62.43 GB > 20 GB (/monster/data/model/Xing4.0-29B-A4B)test_glm4_moe_lite.py— checkpoint 62.44 GB > 20 GB (/monster/data/model/GLM-4.7-Flash)test_ovis2_6_moe.py— checkpoint 62.77 GB > 20 GB (/monster/data/model/Ovis2.6-30B-A3B)test_nemotron_omni_support.py— checkpoint 66.03 GB > 20 GB (/monster/data/model/Nemotron-3-Nano-Omni-30B-A3B-Reasoning-BF16)test_agnes.py— checkpoint 66.18 GB > 20 GB (/monster/data/model/Agnes-3.0-Flash)test_laguna.py— checkpoint 66.89 GB > 20 GB (/monster/data/model/Laguna-XS.2)test_exaone4_5.py— checkpoint 68.70 GB > 20 GB (/monster/data/model/EXAONE-4.5-33B)test_qwen3_omni.py— checkpoint 70.52 GB > 20 GB (/monster/data/model/Qwen3-Omni-30B-A3B-Instruct)test_qwen3_5_moe.py— checkpoint 71.90 GB > 20 GB (/monster/data/model/Qwen3.5-35B-A3B)test_seed_oss.py— checkpoint 72.30 GB > 20 GB (/monster/data/model/Seed-OSS-36B-Instruct)test_intern_s2_preview.py— checkpoint 73.23 GB > 20 GB (/monster/data/model/Intern-S2-Preview)test_gptneox.py— checkpoint 82.59 GB > 20 GB (/monster/data/model/gpt-neox-20b)test_phi_3_moe.py— checkpoint 83.75 GB > 20 GB (/monster/data/model/Phi-3.5-MoE-instruct)test_mixtral.py— checkpoint 93.41 GB > 20 GB (/monster/data/model/Mixtral-8x7B-Instruct-v0.1)test_marin.py— checkpoint 130.08 GB > 20 GB (/monster/data/model/marin-32b-base)test_nemotron_h_puzzle.py— checkpoint 156.60 GB > 20 GB (/monster/data/model/NVIDIA-Nemotron-Labs-3-Puzzle-75B-A9B-BF16)test_ovis2_6_next.py— checkpoint 161.06 GB > 20 GB (/monster/data/model/Ovis2.6-80B-A3B)test_qwen3_next.py— checkpoint 162.66 GB > 20 GB (/monster/data/model/Qwen3-Next-80B-A3B-Instruct)test_solar_open.py— checkpoint 205.31 GB > 20 GB (/monster/data/model/Solar-Open-100B)test_glm4v_moe_text_only.py— checkpoint 212.46 GB > 20 GB (/monster/data/model/GLM-4.5V-text-only)test_ling_2_6_flash_support.py— checkpoint 214.99 GB > 20 GB (/monster/data/model/Ling-2.6-flash)test_glm4v_moe.py— checkpoint 215.42 GB > 20 GB (/monster/data/model/GLM-4.5V)test_llama4_text_only.py— checkpoint 215.54 GB > 20 GB (/monster/data/model/Llama-4-Scout-17B-16E-Instruct-text-only)test_llama4.py— checkpoint 217.28 GB > 20 GB (/monster/data/model/Llama-4-Scout-17B-16E-Instruct)test_dots_one.py— checkpoint 285.55 GB > 20 GB (/monster/data/model/dots.llm1.inst)test_glm5_next.py— checkpoint 330.94 GB > 20 GB (/monster/data/model/GLM-5.3-Flash-REAP50-BF16)test_minimax_m2.py— checkpoint 457.48 GB > 20 GB (/monster/data/model/MiniMax-M2-bf16)test_solar_open2.py— checkpoint 500.58 GB > 20 GB (/monster/data/model/Solar-Open2-250B)test_nemotron_ultra.py— checkpoint 506.80 GB > 20 GB (/monster/data/model/Llama-3_1-Nemotron-Ultra-253B-v1)test_deepseek_v4.py— checkpoint 581.91 GB > 20 GB (/monster/data/model/DeepSeek-V4-Flash-BF16)test_kimi_k25_support.py— checkpoint 595.18 GB > 20 GB (/monster/data/model/Kimi-K2.5)test_mimo_v2.py— checkpoint 621.52 GB > 20 GB (/monster/data/model/MiMo-V2.5-Base-BF16)test_glm4_moe.py— checkpoint 713.58 GB > 20 GB (/monster/data/model/GLM-4.6)test_glm5_1_fp8_auto_decoder.py— checkpoint 756.18 GB > 20 GB (/monster/data/model/GLM-5.1-FP8)test_minimax_m3.py— checkpoint 854.18 GB > 20 GB (/monster/data/model/MiniMax-M3)test_glm_moe_dsa.py— checkpoint 1001.66 GB > 20 GB (/monster/data/model/GLM-5.2-504B-BF16)test_deepseek_v32.py— checkpoint 1370.72 GB > 20 GB (/monster/data/model/DeepSeek-V3.2-BF16)Failure classification
test_llama3_2_bitsandbytes.py,test_llama3_2_gptq_protocol.py,test_llama3_2_gguf_protocol.py,test_locateanything.py,test_ovis_1_6_llama.py,test_minicpm_o_4_5.pytest_cohere_compass.py,test_unlimited_ocr.pytest_dream.pytest_jamba.pytest_pangu_alpha.py,test_apertus1p5.pytest_llama3_2_gptq_cuda.py,test_llama3_2_gsq.py,test_qwen2_5_omni.pyFixes (red → green)
1.
test_llama3_2_bitsandbytes.py: stale fast-mode layer and 4-bit buffer assumptionsFast mode quantizes the last two layers by default, but the test inspects
layers[0], so it saw a denseLinear. After pinning the first layers, it still expected the 8-bitweight_scbbuffer on a 4-bit config.1 failed in 34.32s(isinstance(Linear, BitsAndBytesLinear)); after the layer fix,1 failed in 32.94s(missing weight_scb).MODEL_COMPAT_FAST_LAYER_POSITION = "first"and assert the 4-bitweight/weight_absmax/weight_quant_map/weight_quant_statelayout.1 passed in 40.50s.2.
test_llama3_2_gptq_protocol.pyandtest_llama3_2_gguf_protocol.py: stale compileddynamicpatterncompile_plan_to_quantize_configwraps a protocol negative selector as.*(?:<selector>)becausedynamicrules are evaluated withpcre.match(start-anchored) while the selector usespcre.search. The tests compared against the raw selector.2 failed in 3.16s; gguf2 failed in 3.25s(both nodes).COMPILED_LAYER0_ONLY_NEGATIVE_MATCH = f".*(?:{LAYER0_ONLY_NEGATIVE_MATCH})".1 passed in 229.26s, gptq yaml1 passed in 227.53s; gguf python1 passed in 238.61s, gguf yaml1 passed in 211.86s. The full files run both nodes and exceed the 240 s file cap.3.
test_cohere_compass.py+gptqmodel/models/base.py:rope_parameters[layer_type] = NoneCohere Compass declares
rope_parameters["full_attention"] = None; the model passesposition_embeddings=Noneto those layers. The generic layer-type replay rebuild called the sliding rotary table withlayer_type="full_attention"and raisedKeyError. The same test also monkeypatched the removedauto.AutoConfig.2 failed, 7 passed in 57.09s(AttributeError: auto.AutoConfigandKeyError: 'full_attention').auto.load_model_config; skip rebuilding rotary for a layer type whoserope_parametersentry isNone; clear the base type's captured tuple when replaying that type.1 passed; new regressiontest_cohere_compass_full_attention_replay_keeps_none_position_embeddingsis red→green:1 failed in 3.00s(KeyError: 'full_attention') →1 passed in 3.03s. The E2E node no longer raises and reaches eval, but exceeds 900 s because it evaluates native + quantized gsm8k at batch 8.4.
test_unlimited_ocr.py+gptqmodel/models/ports/unlimited_ocr/__init__.py: legacyprocessor_config.jsonThe released checkpoint ships
processor_config.jsonbut nopreprocessor_config.json, so both the Transformers image-processor loader and the harnessAutoProcessorfailed.1 failed, 1 passed in 5.28s(OSError: Can't load image processor ... preprocessor_config.json).UnlimitedOcrImageProcessorfrom the legacycandidate_resolutions/image_mean/image_std/normalizesettings; letUnlimitedOCRQModelown the processor (LOAD_PROCESSOR = False); add a unit regression.1 failed in 3.46s(OSError) → green1 passed; full file2 passed in 171.02s.5.
test_locateanything.py: harnessAutoProcessorvs checkpoint custom codeThe checkpoint carries custom
processing_*.pycode. The harness calledAutoProcessorwithtrust_remote_code=Falseand failed, although the definition owns the processor.1 failed, 1 passed in 148.79s(ValueError: contains custom code ... pass trust_remote_code=True).LOAD_PROCESSOR = Falseso the port loads its own processor.2 passed in 92.23s.6.
test_ovis_1_6_llama.py: BF16 activations into the FP16 Marlin kernelAUTOselectedMarlinLinear; the checkpoint loaded as BF16, but the selected kernel only serves FP16. The test did not pin a compute dtype.1 failed in 155.68s(RuntimeError: gpt_marlin_gemm_fp16 only supports float16).TORCH_DTYPE = torch.float16.1 passed in 101.25s.7.
test_dream.py: remote-only tokenizer gateDream ships
DreamTokenizeronly as checkpoint Python. The test ran withTRUST_REMOTE_CODE=Falseand no safety bypass.1 failed in 3.35s(RemoteCodeSecurityError).pytest.mark.skipifunlessGPTQ_BYPASS_SAFETY_CHECKS=1, andTRUST_REMOTE_CODE=Truefor the enabled path.1 skipped in 3.14swith the exact bypass reason. WithGPTQ_BYPASS_SAFETY_CHECKS=1the test proceeds into arc eval and exceeds 240 s (7B, batch 1), confirming the gate is not hiding an immediate failure.8.
test_minicpm_o_4_5.py: harnessAutoProcessoron the quantized temp checkpointMiniCPMOQModelowns a local processor, but the harness triedAutoProcessoron the temp checkpoint and found no processing class.1 failed in 175.4s(ValueError: Unrecognized processing class ...).LOAD_PROCESSOR = False.1 passed in 203.40s.9.
test_jamba.py: already fixed by #63071 failed in 3.83s(mamba-ssmmissing). The identicalpytest.importorskip("mamba_ssm")fix is in draft PR #6307; it is not repeated here.Unfixed product bugs
test_pangu_alpha.py: accuracy below the accepted floorarc_challenge:acc_norm = 0.18003412969283278vs expected0.1945(92.56%, below the 95% floor). The assertion was not weakened and no baseline was refreshed. Root cause not established.test_apertus1p5.py: vision tokenizer left onmetamodel.vision_tokenizer.encoder.stages.0.layers.0.resnet.*stays on the meta device during calibration; the forward raisesRuntimeError: Tensor on device meta is not on the expected device cuda:0!, and offload then reports unrecoverable meta modules. Root cause not established.Verification
ruffpasses on all changed files. Fast checks in the final tree:test_layer_type_replay.py(29 passed, including the new Cohere regression),test_unlimited_ocr.pyunit nodes (2 passed),test_cohere_compass.pynon-E2E nodes (2 passed),test_dream.py(1 skipped).Not verified
tests/models/test_*.pyfiles without a readable/monster/data/model/checkpoint were outside the candidate set.