Update ggml/src/ggml-cpu.c
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
a878502f43
commit
b81602477b
1 changed files with 1 additions and 1 deletions
|
@ -11803,7 +11803,7 @@ static void ggml_compute_forward_rwkv_wkv6_f32(
|
||||||
// RWKV v6: different time_decay for each token.
|
// RWKV v6: different time_decay for each token.
|
||||||
float time_decay_val = time_decay[t_h_i_offset];
|
float time_decay_val = time_decay[t_h_i_offset];
|
||||||
|
|
||||||
for (int64_t j = 0; j < head_size; j ++) {
|
for (int64_t j = 0; j < head_size; j++) {
|
||||||
size_t t_h_j_offset = t_h_offset + j;
|
size_t t_h_j_offset = t_h_offset + j;
|
||||||
size_t h_2d_i_j_offset = h_2d_i_offset + j;
|
size_t h_2d_i_j_offset = h_2d_i_offset + j;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue