fix kv cache
This commit is contained in:
1 parent
19ef482649
commit
96ce76cd27
2 files changed
+18
-9
No files matched your search
@@ -101,6 +101,10 @@ class ModelArguments:
|
||||
default="offload",
|
||||
metadata={"help": "Path to offload model weights."},
|
||||
)
|
||||
use_cache: bool = field(
|
||||
default=True,
|
||||
metadata={"help": "Whether or not to use KV cache in generation."},
|
||||
)
|
||||
hf_hub_token: Optional[str] = field(
|
||||
default=None,
|
||||
metadata={"help": "Auth token to log in with Hugging Face Hub."},
|
||||
|
||||
Reference in new issue
Block a user