Skip to content

Commit c9c5878

Browse files
authored
Update llama_transformer.py
1 parent 5e3d46e commit c9c5878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/models/llama2/llama_transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class ModelArgs:
8888
use_sdpa_with_kv_cache_op: bool = (
8989
False # Use custom sdpa op that updates kv cache in-place
9090
)
91-
rope_theta: float = None # The official name to override self.rope_freq_base.
91+
rope_theta: Optional[float] = None # The official name to override self.rope_freq_base.
9292
rope_freq_base: float = 10000.0 # The base frequency for RoPE. Keep it for BC.
9393
# Additional Model Metadata needed at runtime
9494
bos_idx: int = 1

0 commit comments

Comments
 (0)