diff --git a/awq/models/base.py b/awq/models/base.py index 628c389d..4338393e 100644 --- a/awq/models/base.py +++ b/awq/models/base.py @@ -573,7 +573,7 @@ def _load_config( ): # [STEP 1] Download model if path is not a directory if not os.path.isdir(model_path): - ignore_patterns = ["*msgpack*", "*h5*", "optimizer.pt"] + ignore_patterns = ["*msgpack*", "*h5*", "optimizer.pt", "*.onnx*"] if safetensors: ignore_patterns.extend(["*.pt*", "*.bin*", "consolidated*"]) else: