mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 19:34:53 +00:00
Update server/text_generation_server/models/__init__.py
This commit is contained in:
parent
cd8477bcf8
commit
05f98e8a33
@ -113,7 +113,7 @@ def get_model(
|
||||
config = AutoConfig.from_pretrained(model_id, revision=revision)
|
||||
model_type = config.model_type
|
||||
|
||||
if model_type == "gpt_bigcode" or model_id.startswith("bigcode/"):
|
||||
if model_type == "gpt_bigcode":
|
||||
if sharded:
|
||||
if not FLASH_ATTENTION:
|
||||
raise NotImplementedError(
|
||||
|
Loading…
Reference in New Issue
Block a user