Skip to content

Add benchmark for CUDA blocks - #1603

Merged
NicolasHug merged 1 commit into
meta-pytorch:mainfrom
NicolasHug:benchmark_cuda_blocks
Aug 5, 2026
Merged

Add benchmark for CUDA blocks#1603
NicolasHug merged 1 commit into
meta-pytorch:mainfrom
NicolasHug:benchmark_cuda_blocks

Conversation

@NicolasHug

@NicolasHug NicolasHug commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Slight overhead for now

~/dev/torchcodec-cuda (5bb18bfd*) » python benchmarks/bench_blocks.py --device=cuda                                                                                nicolashug@nicolashug-fedora-PW0H326Y

Video: /tmp/bench_blocks_testsrc2_1280x720_30fps_10s.mp4  (testsrc2 1280x720 30fps 10s)
Device: cuda

Method                             Time (ms)     CPU %   vs VideoDecoder
------------------------------------------------------------------------
VideoDecoder                   185.2 +/- 0.5        13             1.00x
sequential                     195.5 +/- 1.2        41             0.95x
demux+decode || cc             193.2 +/- 5.1        51             0.96x
demux || decode+cc             197.6 +/- 7.5        55             0.94x
demux || decode || cc          196.5 +/- 3.9        83             0.94x

@pytorch-bot

pytorch-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/meta-pytorch/torchcodec/1603

Note: Links to docs will display an error until the docs builds have been completed.

⏳ No Failures, 13 Pending

As of commit 1238887 with merge base 5bb18bf (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 5, 2026
@NicolasHug
NicolasHug merged commit bb65fcb into meta-pytorch:main Aug 5, 2026
27 checks passed
@NicolasHug
NicolasHug deleted the benchmark_cuda_blocks branch August 5, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant