Repository navigation
Add support for new autogptq quant_config.checkpoint_format - #332
Merged
Merged
Conversation
Qubitium
marked this pull request as ready for review
March 28, 2024 14:46
timethink
pushed a commit
to timethink/sglang
that referenced
this pull request
Mar 9, 2025
vschandramourya
pushed a commit
to vschandramourya/sglang
that referenced
this pull request
Feb 3, 2026
* test simply casting q, k, v. Cuda graph not supported yet * added SGLANG_TRTLLM_MLA_FP8_PREFILL to toggle on and off fp8 prefill * changed naming to force_fp8_prefill * changed naming to enable_fp8_prefill * move get_bool_env_var to init * test private trtllm_mla backend with env vars to toggle fp8 prefill * make trtllm_mla_fp8_prefill a private server arg * add enable_trtllm_mla_fp8_prefill as an attribute of ServerArgs * refactored private trtllm_mla to fall back to public impl for non fp8 prefill code paths * added ut for fp8 attn prefill and fixed comment * set enable_fp8_prefill in model runner instead of grabbing from global server args * debugging assertion error * in private model runner, import public TRTLLMMLABackend for checking * getting weird bug, replacing enable_fp8_prefill setter method for private TRTLLMMLABackend * use trtllm_mla backend for unit tests (except hybrid fa4) * use get_global_server_args to set fp8_prefill for private TRTLLMMLABackend to avoid complication with hybrid backends * added check to ServerArgs to make sure trtllm_mla prefill is being used when enable_trtllm_mla_fp8_prefill is set * fix github summary description for fp8 attention prefill * rollback to old phoenix ut to see if they run
liuxianglong17
pushed a commit
to shun8686/sglang
that referenced
this pull request
Apr 11, 2026
Modify the verification method for the rednote-hilab/dots.ocr model
efschu
added a commit
to efschu/htsglang
that referenced
this pull request
Jul 31, 2026
…allback CompressedTensorsW4A4Fp4Dequant routed by the sgl-project#316 geometry verdict on the UNSHARDED width — packed on disk, materialised once in process_weights_after_loading per logical shard with its own global scale, loud warning per layer; dequantize_nvfp4 pinned byte-for-byte against an independent reference incl. the CT divide direction; vLLM prior art checked and rejected with reasons (EmulationKernel dequantises every forward, marlin_padded_nk needs pad/shard/gather agreement); (2) ignore matching: the beleg's prefix diagnosis was HALF WRONG (draft prefix is already mtp.*; the model.layers.* names came from named_parameters — a different naming system) — real root one level up: NONE of the eight MTP classes declares packed_modules_mapping so the fused table was empty; Qwen3.5 MTP now declares the target's table (copied not aliased) and CT should_ignore_layer falls back to FALLBACK_FUSED_SHARDS; side fix: table gained the GDN pairs, repairing a latent AWQ bug (in_proj_ba built quantised against exempted tensors); (3) solo sizing: slack = pre_model_load_memory x (1-mem_fraction_static) blind percentage — --rank-auto-reserve-mib now works on the default placement path, exact no-margin arithmetic pinned against the beleg (2.44 GiB = 80,204 tokens, 153,007+80,204=233,211); 26+22+18 new tests, 699 green, failure set byte-identical; residual: seven non-Qwen3.5 MTP classes still declare no mapping (fallback covers qkv/gate_up only)
efschu
added a commit
to efschu/htsglang
that referenced
this pull request
Jul 31, 2026
…l FALSIFIED from three registered predictions — n = 6*floor(16*r0/sum r) with n%32==0 forces every 3-value-head group onto one rank: NO TP>1 split satisfies the native fp4 lane, even splits included — fix is extending the dequant lane to the NATIVE rank, not a better shard plan; DEQUANTISED count corrected 144->96 (zero on TP0 is right: guard asks for the Marlin form, 5090 runs native); sgl-project#332 Posten 3 DEFECTIVE: reserve line read device total 20480 (NVML index 0, a 3080) while pinned+resident on the 5090 — knob silently did nothing while looking like a clean reproduction (pool byte-identical 153,007); families (a): radix WAS the floor — below it real content divergence on all three prompts from index 1, direction deliberately unresolved (lane outputs look better-formed than serving; one-card reference needed before assuming serving is truth); families (b): budget hypothesis DEAD (same illegal memory access at 600 MiB lane pool), co-tenancy candidate remains; NEXTN-on-V4 accept neither confirmed nor excluded (ARM 1 never served); four harness defects fixed/documented; 11 of 35 min card time # Conflicts: # docs/dev/INTEGRATION_R3_VALIDATION.md
efschu
added a commit
to efschu/htsglang
that referenced
this pull request
Jul 31, 2026
… extended to the native FP4 rank — the sgl-project#332 guard knew only the Marlin form; native lane gets its own condition (n%32 on the SHARDED width where Marlin judges the unsharded one), two verdict moments (get_quant_method unsharded + create_weights sharded with scheme swap before any parameter), native bypass guard so an illegal width can never reach the kernel assert unnamed; Marlin/native asymmetry deliberate and documented (Marlin shard miss stays loud = plan bug; native has no coarsening axis, 6g%32==0 -> g%16==0 proves no TP>1 plan exists on this GDN geometry); card expectation 96 -> 144 with count history in the readout; (2) solo reserve root CORRECTED vs the beleg: not NVML index 0 — get_nvgpu_memory_capacity takes min() over every card the DRIVER lists (nvidia-smi ignores CUDA_VISIBLE_DEVICES), so a UUID-pinned 5090 got the smallest card's 20480; homogeneous rigs never see it; fix reads NVML for the placed cards via the PCI-bus-id bridge, strict refusal instead of identity fallback, two loud errors (unresolvable device, mixed totals under one scalar); the falsifier is its own test: (20480-2048)/20480 = 0.900000 EXACTLY the anchor fraction — the wrong card produced the number being compared against; +30 tests (46/28), 729 green, failure set byte-identical stash-verified; GPU bundle A/B/C for postens 3-5 filed with falsifiable arms (C1 foreign-card-vs-co-tenancy separation, C2 compute-sanitizer, C3 graph-vs-forward) # Conflicts: # docs/dev/INTEGRATION_R3_VALIDATION.md
3 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Reason for PR: make sure loading of gptq marlin quants is compatible with latest autogptq
Due to autogpq update AutoGPTQ/AutoGPTQ#603 quants made with autogptq >=0.8.0-dev will use a new
checkpoint_formatproperty to holdmarlinand future formats.Compat tested with both marlin and non-marlin in both old
is_marlin_formatand newcheckpoint_format@merrymercy @hnyls2002 Ready for review.