mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-22 23:42:06 +00:00
Merge pull request #233 from huggingface/fix_sysntax
Fix sysntax error in PR 232
This commit is contained in:
commit
d07e7f4f62
@ -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