Skip to content

Commit

Permalink
Typo fix by Carlos
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Mocholí <[email protected]>
  • Loading branch information
Andrei-Aksionov and carmocca authored Mar 26, 2024
1 parent 8c72690 commit e15a7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litgpt/lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def __init__(
enable_q, enable_k, enable_v = enable_lora
# qkv_shapes will be used to split a tensor with weights correctly
qkv_shapes = (
# if `head_size` is explicitly specified in the config, `n_emd` (or `in_features`)
# if `head_size` is explicitly specified in the config, `n_embd` (or `in_features`)
# might not be equal to `head_size * n_head`, thus we use it directly here
head_size * n_head * enable_q,
head_size * n_query_groups * enable_k,
Expand Down

0 comments on commit e15a7e7

Please sign in to comment.