Skip to content

Commit

Permalink
style(pytorch_poc): add code ref
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoisonooo committed Nov 8, 2023
1 parent 8399654 commit 14d7aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmdeploy/pytorch_poc/models/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def attention_forward_with_rerope(
rotary_emb_context_fn (Callable): rotary embedding context callback.
rotary_emb_generate_fn (Callable): rotary embedding generate callback.
bias_type (str): type of attention bias. support ['default'].
training_lenght (int): model sequence length during trainning.
training_length (int): model sequence length during trainning.
window (int): ReRoPE window size, default value is 512.
"""
hidden_size = -1
Expand Down

0 comments on commit 14d7aea

Please sign in to comment.