Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
4d29e91b
Unverified
Commit
4d29e91b
authored
Jan 07, 2025
by
Divakar Verma
Committed by
GitHub
Jan 08, 2025
Browse files
[Misc] sort torch profiler table by kernel timing (#11813)
parent
91445c7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
benchmarks/benchmark_latency.py
benchmarks/benchmark_latency.py
+1
-1
No files found.
benchmarks/benchmark_latency.py
View file @
4d29e91b
...
...
@@ -52,7 +52,7 @@ def main(args: argparse.Namespace):
llm
.
generate
(
dummy_prompts
,
sampling_params
=
sampling_params
,
use_tqdm
=
False
)
print
(
p
.
key_averages
())
print
(
p
.
key_averages
()
.
table
(
sort_by
=
"self_cuda_time_total"
)
)
else
:
start_time
=
time
.
perf_counter
()
llm
.
generate
(
dummy_prompts
,
...
...
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