Better detect EXL2 models
This commit is contained in:
parent
895ec9dadb
commit
7a3ca2c68f
2 changed files with 3 additions and 1 deletions
|
@ -76,6 +76,8 @@ def infer_loader(model_name, model_settings):
|
|||
loader = 'llama.cpp'
|
||||
elif re.match(r'.*rwkv.*\.pth', model_name.lower()):
|
||||
loader = 'RWKV'
|
||||
elif re.match(r'.*exl2', model_name.lower()):
|
||||
loader = 'ExLlamav2_HF'
|
||||
else:
|
||||
loader = 'Transformers'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue