Skip to content

Commit

Permalink
Update _check_default_4bit_configs usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-savelyevv committed Jul 29, 2024
1 parent 14f9c2b commit 0018119
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llm_bench/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ torchvision<0.19.0
transformers>=4.40.0
diffusers>=0.22.0
#optimum is in dependency list of optimum-intel
git+https://github.com/huggingface/optimum-intel.git@439d61f79cf55d5d0b28334f577b6ac3c5ced28f#egg=optimum-intel
git+https://github.com/huggingface/optimum-intel.git@a863f4dd946545bfa5caec43e470bd6ffccf589e#egg=optimum-intel
git+https://github.com/openvinotoolkit/nncf.git@develop#egg=nncf
packaging
psutil
Expand Down
2 changes: 1 addition & 1 deletion llm_bench/python/utils/conversion_utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def compress_ov_model_weights_helper(ov_model, tok, config, out_path, compress_w
if "INT8" in compress_weights_format and "INT8_ASYM" in COMPRESSION_OPTIONS:
warnings.warn("Usage INT8 mode is deprecated and will be removed soon. Please use INT8_ASYM instead", DeprecationWarning)
if "4BIT_DEFAULT" in compress_weights_format:
compression_args = _check_default_4bit_configs(config)
compression_args = _check_default_4bit_configs(config.name_or_path)
if compression_args:
sym = compression_args.pop("sym", False)
compression_args.pop("bits", 4)
Expand Down

0 comments on commit 0018119

Please sign in to comment.