Merge pull request #311 from SunMarc/fix_max_input_length
fix typo in max_input_length
This commit is contained in:
commit
1793227283
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ def autogptq_post_init(model, use_act_order: bool, max_input_length: Optional[in
|
|||
if max_input_length is None:
|
||||
max_input_len = EXLLAMA_DEFAULT_MAX_INPUT_LENGTH
|
||||
else:
|
||||
max_input_len = max_input_len
|
||||
max_input_len = max_input_length
|
||||
else:
|
||||
if max_input_length is not None:
|
||||
logger.info("Using exllama backend without act-order, the parameter max_input_length was set although not needed, it will be ignored.")
|
||||
|
|
Loading…
Add table
Reference in a new issue