Skip to content

Commit 4c09c18

Browse files
committed
Add benchmark deps
1 parent 8a6257a commit 4c09c18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/benchmarks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
# TODO: torchvision and torchaudio shouldn't be needed. They were only added
3636
# to silence an error as seen in https://github.com/pytorch/torchcodec/issues/203
3737
python -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
38+
python -m pip install decord matplotlib pandas numpy
3839
conda install "ffmpeg=7.0.1" pkg-config -c conda-forge
3940
ffmpeg -version
4041
- name: Build and install torchcodec
@@ -46,4 +47,3 @@ jobs:
4647
- name: TEST README data geeneration benchmark
4748
run: |
4849
python benchmarks/decoders/generate_readme_data.py --test_run
49-

benchmarks/decoders/generate_readme_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def main() -> None:
5858
patterns = ["mandelbrot"]
5959
fpses = [30]
6060
gop_sizes = [20]
61-
durations = [10] # if this goes too low, we hit EOF errors in some decoders
61+
durations = [10] # if this goes too low, we hit EOF errors in some decoders
6262
pix_fmts = ["yuv420p"]
6363
ffmpeg_path = "ffmpeg"
6464
min_runtime_seconds = 1

0 commit comments

Comments
 (0)