Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jerrrrry
infinilm
Commits
c0799551
Commit
c0799551
authored
Jun 26, 2025
by
PanZezhong
Browse files
fix ptr calculation in attn_v_rearrange
parent
4ed69f5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/models/jiuge/jiuge.cpp
src/models/jiuge/jiuge.cpp
+1
-1
No files found.
src/models/jiuge/jiuge.cpp
View file @
c0799551
...
...
@@ -387,7 +387,7 @@ void inferDeviceBatch(const JiugeMeta &meta, DeviceResource &rsrc,
// rearrange attn val
RUN_INFINI
(
infiniopRearrange
(
desc_attn_v_rearranges
[
req
],
o
->
data
(
token_offset
*
nh
*
dh
),
o
->
data
(),
attn_val_buf
->
data
(),
stream
));
token_offset
+=
seq_len
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment