[Quantization][Refactor][1/N] Adopt QuantKey in QuarkConfig and methods, relying on weight_quant_key, act_quant_key for quant method dispatch (#52958)

Signed-off-by: Felix Marty <Felix.Marty@amd.com>
Co-authored-by: Andreas Karatzas <akaratza@amd.com>
This commit is contained in:
fxmarty-amd
2026-09-01 02:55:54 -05:00
committed by GitHub
co-authored by Andreas Karatzas
parent d0e695a91b
commit 63988f3c2d
13 changed files with 1574 additions and 476 deletions
@@ -8,6 +8,8 @@ from typing import Any
import regex as re
import torch
QuarkQTensorHint = dict[str, Any] | list[dict[str, Any]] | None
def deep_compare(dict1: Any, dict2: Any) -> bool:
if type(dict1) is not type(dict2):