Skip to content

Commit 98f39c4

Browse files
committed
Add benchmark deps
1 parent 8a6257a commit 98f39c4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/benchmarks.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ jobs:
3232
run: python -m pip install --upgrade pip
3333
- name: Install dependencies and FFmpeg
3434
run: |
35-
# TODO: torchvision and torchaudio shouldn't be needed. They were only added
36-
# to silence an error as seen in https://github.com/pytorch/torchcodec/issues/203
3735
python -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
36+
python -m pip install decord matplotlib pandas numpy
3837
conda install "ffmpeg=7.0.1" pkg-config -c conda-forge
3938
ffmpeg -version
4039
- name: Build and install torchcodec
@@ -46,4 +45,3 @@ jobs:
4645
- name: TEST README data geeneration benchmark
4746
run: |
4847
python benchmarks/decoders/generate_readme_data.py --test_run
49-

benchmarks/decoders/generate_readme_data.py

+1-1
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)