Skip to content

Commit c2d1dcd

Browse files
committed
Add benchmark deps
1 parent 8a6257a commit c2d1dcd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/benchmarks.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
python -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
3838
conda install "ffmpeg=7.0.1" pkg-config -c conda-forge
3939
ffmpeg -version
40+
- name: Install benchmark dependencies
41+
run: |
42+
python -m pip install matplotlib pandas numpy
4043
- name: Build and install torchcodec
4144
run: |
4245
python -m pip install -e ".[dev]" --no-build-isolation -vvv
@@ -46,4 +49,3 @@ jobs:
4649
- name: TEST README data geeneration benchmark
4750
run: |
4851
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)