Skip to content

[BUG] to_dict() drops true_sequential, so QuantizeConfig(**cfg.to_dict()) and from_quant_config() turn true_sequential=False back into True (incomplete fix of #4201) #4382

Closed

Description

@Qubitium

Severity: low. Status: confirmed on CPU at def6e61. Kind: incomplete fix of #4201 (e9abea3).

Where

gptqmodel/quantization/config.py, GPTQConfig._update_meta_payload. e9abea3 added damp_percent, damp_auto_increment and static_groups, on the grounds that "the writer already records them". It missed true_sequential, which the writer also records (models/writer.py:2105).

Repro

from gptqmodel import QuantizeConfig
from gptqmodel.quantization.config import GPTQConfig
QuantizeConfig(**GPTQConfig(bits=4, true_sequential=False).to_dict()).true_sequential   # True

Expected: False.

Everything else in #4201 round-trips correctly:

  • the 4 object-valued dynamic overrides;
  • gptaq + foem;
  • smoother;
  • AWQ fallback=None;
  • RTN, which no longer turns into AWQ;
  • static_groups;
  • damp.

Found during an AI-assisted review (Claude Code, round 12) of def6e61; repros were run at that commit (A/B against 842d666 where noted) on RTX 4090/5090 (CUDA 13) and/or Radeon AI PRO R9700 (ROCm) unless marked static/suspected.

Activity

  1. added
    bug
    on Nov 16, 2026
  2. Qubitium commented on Nov 16, 2026

    @Qubitium
    CollaboratorAuthor

    Claimed. This issue is now owned by a dedicated worker; a fix PR referencing it will follow. Please avoid duplicating work on it in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions