explicit set "base" value
This commit is contained in:
parent
7c2ec905a6
commit
0a04d3fb2a
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ class LlamaGPTQForCausalLM(BaseGPTQForCausalLM):
|
|||
rope_cache = build_rope_cache(
|
||||
rotary_dim=model_config.hidden_size // num_heads,
|
||||
max_position=model_config.max_position_embeddings,
|
||||
base=10000,
|
||||
device=model.device,
|
||||
dtype=model.dtype
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue