File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ def _export(
159159 export_kwargs = export_kwargs ,
160160 onnx_transform_kwargs = onnx_transform_kwargs ,
161161 )
162+ self .export_hash = export_hash
162163 export_dir = export_dir .with_name (export_dir .name + "-" + export_hash )
163164 onnx_path = export_dir / f"{ self .model_name } .onnx"
164165 if onnx_path .is_file ():
@@ -321,7 +322,6 @@ def _compile(
321322 else :
322323 mdp_ts_json = None
323324
324- # Check if already compiled
325325 compile_hash , hashed_params = hash_compile_params (
326326 command = command ,
327327 specializations = specializations ,
Original file line number Diff line number Diff line change 1212from typing import Dict , List , Optional
1313
1414from QEfficient .utils ._utils import create_json , execute_command , load_json
15- from QEfficient .utils .cache import to_hashable
1615from QEfficient .utils .constants import QnnConstants
1716from QEfficient .utils .generate_qnn_network_specialization_config import (
1817 generate_data_format_config ,
1918 generate_qnn_specialization ,
2019)
20+ from QEfficient .utils .hash_utils import to_hashable
2121from QEfficient .utils .logging_utils import logger
2222
2323
Original file line number Diff line number Diff line change 2727from QEfficient .transformers .models .pytorch_transforms import CustomOpsTransform , KVCacheTransform
2828from QEfficient .utils import constants
2929from QEfficient .utils ._utils import get_padding_shape_from_config
30- from QEfficient .utils .cache import to_hashable
30+ from QEfficient .utils .hash_utils import to_hashable
3131
3232logger = logging .getLogger (__name__ )
3333
Original file line number Diff line number Diff line change 1818from QEfficient import QEFFAutoModelForCausalLM
1919from QEfficient .peft .lora .pytorch_transforms import LoraModelInputsTransform , TargetModulesTransform
2020from QEfficient .utils import constants , get_padding_shape_from_config
21- from QEfficient .utils .cache import to_hashable
21+ from QEfficient .utils .hash_utils import to_hashable
2222from QEfficient .utils .logging_utils import logger
2323
2424
You can’t perform that action at this time.
0 commit comments