Skip to content

Commit

Permalink
Update plugins/accelerated-peft/src/fms_acceleration_peft/framework_p…
Browse files Browse the repository at this point in the history
…lugin_autogptq.py

Co-authored-by: Yu Chin Fabian Lim <[email protected]>
  • Loading branch information
achew010 and fabianlim authored Jul 16, 2024
1 parent 0d3ac62 commit 354fe0d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ def __init__(self, configurations: Dict[str, Dict]):
from transformers.utils.import_utils import _is_package_available # pylint: disable=import-outside-toplevel
assert (
_is_package_available("auto_gptq") is True
), "Unable to use external library, auto_gptq module not found. \
Refer to README for installation instructions \
as a specific version might be required."
), (
"Unable to use external library, auto_gptq module not found. "
"Refer to README for installation instructions "
"as a specific version might be required."
)

def model_loader(self, model_name: str, **kwargs):
# guarded imports
Expand Down

0 comments on commit 354fe0d

Please sign in to comment.