Update llama.py
This commit is contained in:
parent
96e92c9282
commit
5c7cb05923
1 changed files with 2 additions and 1 deletions
|
|
@ -1387,7 +1387,8 @@ def _wrap_fast_inference(generate, device_type, dtype, model):
|
|||
|
||||
# For newer HF
|
||||
if SUPPORTS_LLAMA32:
|
||||
kwargs["cache_implementation"] = "hybrid"
|
||||
# kwargs["cache_implementation"] = "hybrid"
|
||||
pass
|
||||
else:
|
||||
kwargs["cache_implementation"] = "dynamic"
|
||||
# For num_logits_to_keep
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue