File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -21,27 +21,42 @@ jobs:
21
21
steps :
22
22
- name : Check out repo
23
23
uses : actions/checkout@v3
24
+
24
25
- name : Setup conda env
25
26
uses : conda-incubator/setup-miniconda@v2
26
27
with :
27
28
auto-update-conda : true
28
29
miniconda-version : " latest"
29
30
activate-environment : test
30
31
python-version : ' 3.12'
32
+
31
33
- name : Update pip
32
34
run : python -m pip install --upgrade pip
33
- - name : Install dependencies and FFmpeg
35
+
36
+ - name : Install FFmpeg, PyTorch and TorchAudio
34
37
run : |
35
38
conda install "ffmpeg=6" pkg-config -c conda-forge
36
- python -m pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
37
- python -m pip install decord matplotlib pandas numpy
39
+ python -m pip install --pre torch torchaudio --index-url https://download.pytorch.org/whl/nightly/cpu
38
40
ffmpeg -version
41
+
42
+ - name : Download, build and install TorchVision
43
+ run : |
44
+ git clone https://github.com/pytorch/vision.git
45
+ cd vision
46
+ python setup.py install
47
+
48
+ - name : Install all other dependencies
49
+ run : |
50
+ python -m pip install decord matplotlib pandas numpy
51
+
39
52
- name : Build and install torchcodec
40
53
run : |
41
54
python -m pip install -e ".[dev]" --no-build-isolation -vvv
55
+
42
56
- name : Test generic decoder benchmark
43
57
run : |
44
58
python benchmarks/decoders/benchmark_decoders.py --bm_video_speed_min_run_seconds 1
59
+
45
60
- name : TEST README data geeneration benchmark
46
61
run : |
47
62
python benchmarks/decoders/generate_readme_data.py --test_run
You can’t perform that action at this time.
0 commit comments