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
0a5f4d71
Commit
0a5f4d71
authored
Nov 26, 2025
by
pengcheng888
Browse files
issue/86 - 添加计算结束前的同步函数
parent
efc19d7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
python/infinilm/generation/utils.py
python/infinilm/generation/utils.py
+3
-0
No files found.
python/infinilm/generation/utils.py
View file @
0a5f4d71
...
...
@@ -224,6 +224,9 @@ class GenerationMixin:
1.0
,
out
=
out
,
)
infinicore
.
sync_stream
()
# 计算结束前需要同步
end_time
=
time
.
time
()
time_list
.
append
((
end_time
-
start_time
)
*
1000
)
...
...
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