This commit is contained in:
Ubuntu 2023-05-24 10:10:16 +00:00 committed by Nicolas Patry
parent 5c2a0e4555
commit 680f26d6b2

View File

@ -147,7 +147,7 @@ def get_model(
) )
elif model_type == "gpt_neox": elif model_type == "gpt_neox":
if FLASH_ATTENTION or shard: if FLASH_ATTENTION:
return FlashNeoXSharded( return FlashNeoXSharded(
model_id, model_id,
revision, revision,