This commit is contained in:
matvey-kolbasov-hs 2024-07-24 15:37:16 +03:00
parent f73f57ca21
commit eabcb2967a

View File

@ -950,6 +950,7 @@ def get_model(
if model_type == QWEN2: if model_type == QWEN2:
if FLASH_ATTENTION: if FLASH_ATTENTION:
print('!!! aliases !!!')
return FlashCausalLM( return FlashCausalLM(
model_id=model_id, model_id=model_id,
model_class=Qwen2ForCausalLM, model_class=Qwen2ForCausalLM,