mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 23:12:07 +00:00
Fix sysntax error in PR 232
This commit is contained in:
parent
e06320f64e
commit
87a1cee32c
@ -696,7 +696,7 @@ class CausalLM(Model):
|
|||||||
|
|
||||||
if model.config.model_type in ["llama", "mistral", "starcoder2", "qwen2", "falcon"]:
|
if model.config.model_type in ["llama", "mistral", "starcoder2", "qwen2", "falcon"]:
|
||||||
|
|
||||||
if model.config.model_type not in ["falcon"]
|
if model.config.model_type not in ["falcon"]:
|
||||||
kwargs["attn_softmax_bf16"] = True
|
kwargs["attn_softmax_bf16"] = True
|
||||||
kwargs["trim_logits"] = True
|
kwargs["trim_logits"] = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user