[Weight processing] Copy over new_data attributes in replace_parameter (#49601)

Signed-off-by: Felix Marty <Felix.Marty@amd.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
fxmarty-amd
2026-08-06 13:03:37 -04:00
committed by GitHub
co-authored by Claude mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent b38e111d3e
commit 81be2e09ae
10 changed files with 334 additions and 51 deletions
@@ -145,11 +145,6 @@ class AiterMxfp8Experts(Mxfp8TritonExpertsBase):
from vllm._aiter_ops import rocm_aiter_ops
# Re-tag the preshuffled weights: replace_parameter drops the
# is_shuffled flag, without which aiter picks a broken CK kernel.
w1.is_shuffled = True
w2.is_shuffled = True
limit = self.quant_config.gemm1_clamp_limit
swiglu_limit = 0.0 if limit is None else float(limit)