Skip to content

Commit 7ef1e38

Browse files
committed
fix graph_net/torch/count_kernels_util.py
1 parent decec47 commit 7ef1e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graph_net/torch/count_kernels_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def run():
3939

4040
# Use PyTorch Profiler
4141
with profile(
42-
activities=[ProfilerActivity.CUDA],
42+
activities=[ProfilerActivity.CUDA, ProfilerActivity.CPU],
4343
record_shapes=True,
4444
) as prof:
4545
with record_function("model_inference"):

0 commit comments

Comments
 (0)