We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f1345 commit 8e1aab1Copy full SHA for 8e1aab1
optimum/exporters/openvino/__main__.py
@@ -339,7 +339,10 @@ def main_export(
339
orig_post_init_model = GPTQQuantizer.post_init_model
340
341
def post_init_model(self, model):
342
- from auto_gptq import exllama_set_max_input_length
+ try:
343
+ from gptqmodel import exllama_set_max_input_length
344
+ except ImportError:
345
+ from auto_gptq import exllama_set_max_input_length
346
347
class StoreAttr(object):
348
pass
0 commit comments