Minor change

This commit is contained in:
oobabooga 2023-04-22 15:15:31 -03:00
parent 47666c4d00
commit c0b5c09860

View File

@ -40,7 +40,7 @@ if shared.args.deepspeed:
def find_model_type(model_name):
model_name = model_name.lower()
if 'rwkv-' in model_name.lower():
if 'rwkv-' in model_name:
return 'rwkv'
elif len(list(Path(f'{shared.args.model_dir}/{model_name}').glob('*ggml*.bin'))) > 0:
return 'llamacpp'