Skip to content

Commit 04c8b12

Browse files
Merge pull request #3046 from AI-Hypercomputer:zxhe/add-attn-soft-cap
PiperOrigin-RevId: 862893155
2 parents 5a3ada4 + 082105d commit 04c8b12

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/MaxText/layers/llama2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def __init__(
101101
use_ragged_attention=config.use_ragged_attention,
102102
ragged_block_size=config.ragged_block_size,
103103
model_mode=model_mode,
104+
attn_logits_soft_cap=config.attn_logits_soft_cap,
104105
rngs=rngs,
105106
)
106107

0 commit comments

Comments
 (0)