Skip to content

Commit 24f2843

Browse files
committed
.
1 parent 37bfa5c commit 24f2843

File tree

2 files changed

+291
-9
lines changed

2 files changed

+291
-9
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,15 @@ jobs:
2323
auto-update-conda: true
2424
miniconda-version: "latest"
2525
activate-environment: test
26-
python-version: '3.9'
26+
python-version: '3.12'
2727
- name: Update pip
2828
run: python -m pip install --upgrade pip
2929
- name: Install dependencies and FFmpeg
3030
run: |
31-
# TODO: torchvision and torchaudio shouldn't be needed. They were only added
32-
# to silence an error as seen in https://github.com/pytorch/torchcodec/issues/203
33-
conda install pytorch torchvision torchaudio pytorch-cuda=12.4 cuda-toolkit=12.4 -c pytorch-nightly -c nvidia
34-
# conda install nvidia/label/cuda-12.4.0::cuda nvidia/label/cuda-12.4.0::cuda-toolkit nvidia/label/cuda-12.4.0::cuda-cudart nvidia/label/cuda-12.4.0::cuda-nvtx nvidia/label/cuda-12.4.0::libnpp
35-
conda install "ffmpeg=7.0.1" pkg-config cmake compilers -c conda-forge
31+
conda env update --file packaging/cuda12.4.yaml
3632
ffmpeg -version
3733
- name: Build and install torchcodec
3834
run: |
39-
find $CONDA_PREFIX/lib -type f -iname libnvtoolsext\*.so | xargs ldd || true
40-
find $CONDA_PREFIX/lib64 -type f -iname libnvtoolsext\*.so | xargs ldd || true
41-
find $CONDA_PREFIX -name cuda_cmake_macros.h
4235
ENABLE_CUDA=1 python -m pip install -e ".[dev]" --no-build-isolation -vvv
4336
- name: Install doc dependencies
4437
run: |

packaging/cuda12.4.yaml

Lines changed: 289 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,289 @@
1+
name: cuda4
2+
channels:
3+
- pytorch-nightly
4+
- nvidia
5+
- conda-forge
6+
- defaults
7+
dependencies:
8+
- _libgcc_mutex=0.1=conda_forge
9+
- _openmp_mutex=4.5=2_kmp_llvm
10+
- aom=3.9.1=hac33072_0
11+
- archspec=0.2.3=pyhd3eb1b0_0
12+
- blas=1.0=mkl
13+
- boltons=23.0.0=py312h06a4308_0
14+
- brotli-python=1.0.9=py312h6a678d5_8
15+
- bzip2=1.0.8=h5eee18b_6
16+
- c-ares=1.34.2=heb4867d_0
17+
- ca-certificates=2024.9.24=h06a4308_0
18+
- cairo=1.18.0=hebfffa5_3
19+
- certifi=2024.8.30=py312h06a4308_0
20+
- cffi=1.17.1=py312h1fdaa30_0
21+
- charset-normalizer=3.3.2=pyhd3eb1b0_0
22+
- cmake=3.30.5=hf9cb763_0
23+
- conda=24.9.2=py312h7900ff3_0
24+
- conda-libmamba-solver=24.9.0=pyhd3eb1b0_0
25+
- conda-package-handling=2.3.0=py312h06a4308_0
26+
- conda-package-streaming=0.10.0=py312h06a4308_0
27+
- cuda=12.4.0=0
28+
- cuda-cccl=12.4.127=0
29+
- cuda-command-line-tools=12.4.1=0
30+
- cuda-compiler=12.6.2=0
31+
- cuda-cudart=12.4.127=0
32+
- cuda-cudart-dev=12.4.127=0
33+
- cuda-cudart-static=12.4.127=0
34+
- cuda-cuobjdump=12.4.127=0
35+
- cuda-cupti=12.4.127=0
36+
- cuda-cupti-static=12.4.127=0
37+
- cuda-cuxxfilt=12.4.127=0
38+
- cuda-demo-suite=12.4.127=0
39+
- cuda-documentation=12.4.127=0
40+
- cuda-driver-dev=12.4.127=0
41+
- cuda-gdb=12.4.127=0
42+
- cuda-libraries=12.4.1=0
43+
- cuda-libraries-dev=12.6.0=0
44+
- cuda-libraries-static=12.4.1=0
45+
- cuda-nsight=12.4.127=0
46+
- cuda-nvcc=12.4.131=0
47+
- cuda-nvdisasm=12.4.127=0
48+
- cuda-nvml-dev=12.4.127=0
49+
- cuda-nvprof=12.4.127=0
50+
- cuda-nvprune=12.4.127=0
51+
- cuda-nvrtc=12.4.127=0
52+
- cuda-nvrtc-dev=12.4.127=0
53+
- cuda-nvrtc-static=12.4.127=0
54+
- cuda-nvtx=12.4.127=0
55+
- cuda-nvvp=12.4.127=0
56+
- cuda-opencl=12.4.127=0
57+
- cuda-opencl-dev=12.4.127=0
58+
- cuda-profiler-api=12.4.127=0
59+
- cuda-runtime=12.4.0=0
60+
- cuda-sanitizer-api=12.4.127=0
61+
- cuda-toolkit=12.4.0=0
62+
- cuda-tools=12.4.1=0
63+
- cuda-version=11.8=h70ddcb2_3
64+
- cuda-visual-tools=12.6.0=0
65+
- cudatoolkit=11.8.0=h4ba93d1_13
66+
- cudnn=9.3.0.75=hc149ed2_0
67+
- dav1d=1.2.1=hd590300_0
68+
- distro=1.9.0=py312h06a4308_0
69+
- expat=2.6.3=h6a678d5_0
70+
- ffmpeg=7.1.0=gpl_h2e64a5a_503
71+
- filelock=3.13.1=py312h06a4308_0
72+
- fmt=9.1.0=hdb19cb5_1
73+
- font-ttf-dejavu-sans-mono=2.37=hab24e00_0
74+
- font-ttf-inconsolata=3.000=h77eed37_0
75+
- font-ttf-source-code-pro=2.038=h77eed37_0
76+
- font-ttf-ubuntu=0.83=h77eed37_3
77+
- fontconfig=2.15.0=h7e30c49_1
78+
- fonts-conda-ecosystem=1=0
79+
- fonts-conda-forge=1=0
80+
- freetype=2.12.1=h267a509_2
81+
- fribidi=1.0.10=h36c2ea0_0
82+
- frozendict=2.4.2=py312h06a4308_0
83+
- fsspec=2024.10.0=pyhff2d567_0
84+
- gdk-pixbuf=2.42.12=hb9ae30d_0
85+
- gds-tools=1.9.1.3=0
86+
- giflib=5.2.2=h5eee18b_0
87+
- gmp=6.3.0=hac33072_2
88+
- gnutls=3.6.15=he1e5248_0
89+
- graphite2=1.3.14=h295c915_1
90+
- harfbuzz=9.0.0=hda332d3_1
91+
- icu=75.1=he02047a_0
92+
- idna=3.7=py312h06a4308_0
93+
- intel-openmp=2022.0.1=h06a4308_3633
94+
- jinja2=3.1.4=py312h06a4308_1
95+
- jsonpatch=1.33=py312h06a4308_1
96+
- jsonpointer=2.1=pyhd3eb1b0_0
97+
- kaldi=5.5.1112=cpu_hd7b63f8_5
98+
- kernel-headers_linux-64=3.10.0=he073ed8_18
99+
- keyutils=1.6.1=h166bdaf_0
100+
- krb5=1.21.3=h659f571_0
101+
- lame=3.100=h7b6447c_0
102+
- lcms2=2.16=hb7c19ff_0
103+
- ld_impl_linux-64=2.40=h12ee557_0
104+
- lerc=4.0.0=h27087fc_0
105+
- libabseil=20240722.0=cxx17_h5888daf_1
106+
- libarchive=3.7.4=hfca40fe_0
107+
- libass=0.17.3=h1dc1e6a_0
108+
- libblas=3.9.0=20_linux64_mkl
109+
- libcblas=3.9.0=20_linux64_mkl
110+
- libcublas=12.4.5.8=0
111+
- libcublas-dev=12.4.5.8=0
112+
- libcublas-static=12.4.5.8=0
113+
- libcufft=11.2.1.3=0
114+
- libcufft-dev=11.2.1.3=0
115+
- libcufft-static=11.2.1.3=0
116+
- libcufile=1.9.1.3=0
117+
- libcufile-dev=1.9.1.3=0
118+
- libcufile-static=1.9.1.3=0
119+
- libcurand=10.3.5.147=0
120+
- libcurand-dev=10.3.5.147=0
121+
- libcurand-static=10.3.5.147=0
122+
- libcurl=8.11.0=hbbe4b11_0
123+
- libcusolver=11.6.1.9=0
124+
- libcusolver-dev=11.6.1.9=0
125+
- libcusolver-static=11.6.1.9=0
126+
- libcusparse=12.3.1.170=0
127+
- libcusparse-dev=12.3.1.170=0
128+
- libcusparse-static=12.3.1.170=0
129+
- libdeflate=1.22=hb9d3cd8_0
130+
- libdrm=2.4.123=hb9d3cd8_0
131+
- libedit=3.1.20230828=h5eee18b_0
132+
- libegl=1.7.0=ha4b6fd6_1
133+
- libev=4.33=h7f8727e_1
134+
- libexpat=2.6.3=h5888daf_0
135+
- libffi=3.4.4=h6a678d5_1
136+
- libgcc=14.2.0=h77fa898_1
137+
- libgcc-ng=14.2.0=h69a702a_1
138+
- libgfortran=14.2.0=h69a702a_1
139+
- libgfortran5=14.2.0=hd5240d6_1
140+
- libgl=1.7.0=ha4b6fd6_1
141+
- libglib=2.82.2=h2ff4ddf_0
142+
- libglvnd=1.7.0=ha4b6fd6_1
143+
- libglx=1.7.0=ha4b6fd6_1
144+
- libgomp=14.2.0=h77fa898_1
145+
- libhwloc=2.11.1=default_hecaa2ac_1000
146+
- libiconv=1.17=hd590300_2
147+
- libidn2=2.3.4=h5eee18b_0
148+
- libjpeg-turbo=3.0.3=h5eee18b_0
149+
- liblapack=3.9.0=20_linux64_mkl
150+
- liblapacke=3.9.0=20_linux64_mkl
151+
- libmagma=2.8.0=hfdb99dd_0
152+
- libmagma_sparse=2.8.0=h9ddd185_0
153+
- libmamba=1.5.8=hfe524e5_3
154+
- libmambapy=1.5.8=py312h2dafd23_3
155+
- libnghttp2=1.64.0=h161d5f1_0
156+
- libnpp=12.2.5.30=0
157+
- libnpp-dev=12.2.5.30=0
158+
- libnpp-static=12.2.5.30=0
159+
- libnsl=2.0.1=hd590300_0
160+
- libnvfatbin=12.4.127=0
161+
- libnvfatbin-dev=12.4.127=0
162+
- libnvjitlink=12.4.127=0
163+
- libnvjitlink-dev=12.4.127=0
164+
- libnvjpeg=12.3.1.117=0
165+
- libnvjpeg-dev=12.3.1.117=0
166+
- libnvjpeg-static=12.3.1.117=0
167+
- libopenvino=2024.4.0=hac27bb2_2
168+
- libopenvino-auto-batch-plugin=2024.4.0=h4d9b6c2_2
169+
- libopenvino-auto-plugin=2024.4.0=h4d9b6c2_2
170+
- libopenvino-hetero-plugin=2024.4.0=h3f63f65_2
171+
- libopenvino-intel-cpu-plugin=2024.4.0=hac27bb2_2
172+
- libopenvino-intel-gpu-plugin=2024.4.0=hac27bb2_2
173+
- libopenvino-intel-npu-plugin=2024.4.0=hac27bb2_2
174+
- libopenvino-ir-frontend=2024.4.0=h3f63f65_2
175+
- libopenvino-onnx-frontend=2024.4.0=h5c8f2c3_2
176+
- libopenvino-paddle-frontend=2024.4.0=h5c8f2c3_2
177+
- libopenvino-pytorch-frontend=2024.4.0=h5888daf_2
178+
- libopenvino-tensorflow-frontend=2024.4.0=h6481b9d_2
179+
- libopenvino-tensorflow-lite-frontend=2024.4.0=h5888daf_2
180+
- libopus=1.3.1=h5eee18b_1
181+
- libpciaccess=0.18=hd590300_0
182+
- libpng=1.6.44=hadc24fc_0
183+
- libprotobuf=5.28.2=h5b01275_0
184+
- librsvg=2.58.4=hc0ffecb_0
185+
- libsolv=0.7.30=h3509ff9_0
186+
- libsqlite=3.47.0=hadc24fc_1
187+
- libssh2=1.11.0=h0841786_0
188+
- libstdcxx=14.2.0=hc0a3c3a_1
189+
- libstdcxx-ng=14.2.0=h4852527_1
190+
- libtasn1=4.19.0=h5eee18b_0
191+
- libtiff=4.7.0=he137b08_1
192+
- libtorch=2.4.1=cuda118_h232d35b_303
193+
- libunistring=0.9.10=h27cfd23_0
194+
- libuuid=2.38.1=h0b41bf4_0
195+
- libuv=1.49.2=hb9d3cd8_0
196+
- libva=2.22.0=h8a09558_1
197+
- libvpx=1.14.1=hac33072_0
198+
- libwebp=1.4.0=h2c329e2_0
199+
- libwebp-base=1.4.0=hd590300_0
200+
- libxcb=1.17.0=h8a09558_0
201+
- libxcrypt=4.4.36=hd590300_1
202+
- libxml2=2.13.4=hb346dea_2
203+
- libzlib=1.3.1=hb9d3cd8_2
204+
- llvm-openmp=19.1.3=h024ca30_0
205+
- lz4-c=1.9.4=h6a678d5_1
206+
- lzo=2.10=hd590300_1001
207+
- markupsafe=2.1.3=py312h5eee18b_0
208+
- menuinst=2.1.2=py312h06a4308_0
209+
- mkl=2023.2.0=h84fe81f_50496
210+
- mkl-service=2.4.0=py312h5eee18b_1
211+
- mkl_fft=1.3.11=py312h5eee18b_0
212+
- mkl_random=1.2.8=py312h526ad5a_0
213+
- mpmath=1.3.0=py312h06a4308_0
214+
- nccl=2.23.4.1=h03a54cd_2
215+
- ncurses=6.5=he02047a_1
216+
- nettle=3.7.3=hbbd107a_1
217+
- networkx=3.2.1=py312h06a4308_0
218+
- nsight-compute=2024.1.1.4=0
219+
- numpy=2.1.3=py312hc5e2394_0
220+
- numpy-base=2.1.3=py312h0da6c21_0
221+
- ocl-icd=2.3.2=hd590300_1
222+
- openfst=1.8.3=h84d6215_3
223+
- openh264=2.4.1=h59595ed_0
224+
- openjpeg=2.5.2=he7f1fd0_0
225+
- openssl=3.3.2=hb9d3cd8_0
226+
- packaging=24.1=py312h06a4308_0
227+
- pango=1.54.0=h4c5309f_1
228+
- pcre2=10.44=hba22ea6_2
229+
- pillow=11.0.0=py312h7b63e92_0
230+
- pip=24.2=py312h06a4308_0
231+
- pixman=0.43.2=h59595ed_0
232+
- pkg-config=0.29.2=h1bed415_8
233+
- platformdirs=3.10.0=py312h06a4308_0
234+
- pluggy=1.0.0=py312h06a4308_1
235+
- pthread-stubs=0.4=hb9d3cd8_1002
236+
- pugixml=1.14=h59595ed_0
237+
- pybind11-abi=5=hd3eb1b0_0
238+
- pycosat=0.6.6=py312h5eee18b_1
239+
- pycparser=2.21=pyhd3eb1b0_0
240+
- pysocks=1.7.1=py312h06a4308_0
241+
- python=3.12.7=hc5c86c4_0_cpython
242+
- python_abi=3.12=5_cp312
243+
- pytorch=2.4.1=cuda118_py312h02e3f75_303
244+
- pytorch-cuda=12.4=hc786d27_7
245+
- pytorch-mutex=1.0=cpu
246+
- pyyaml=6.0.2=py312h5eee18b_0
247+
- readline=8.2=h5eee18b_0
248+
- reproc=14.2.4=h6a678d5_2
249+
- reproc-cpp=14.2.4=h6a678d5_2
250+
- requests=2.32.3=py312h06a4308_0
251+
- rhash=1.4.5=hb9d3cd8_0
252+
- ruamel.yaml=0.18.6=py312h5eee18b_0
253+
- ruamel.yaml.clib=0.2.8=py312h5eee18b_0
254+
- setuptools=72.1.0=py312h06a4308_0
255+
- sleef=3.7=h1b44611_0
256+
- snappy=1.2.1=ha2e4443_0
257+
- sqlite=3.47.0=h9eae976_1
258+
- svt-av1=2.3.0=h5888daf_0
259+
- sympy=1.13.2=py312h06a4308_0
260+
- sysroot_linux-64=2.17=h4a8ded7_18
261+
- tbb=2021.13.0=h84d6215_0
262+
- tk=8.6.13=noxft_h4845f30_101
263+
- torchaudio=2.4.1=cuda_118py312h3b1587d_1
264+
- torchvision=0.19.1=cuda118py312h9250042_1
265+
- tqdm=4.66.5=py312he106c6f_0
266+
- truststore=0.8.0=py312h06a4308_0
267+
- typing_extensions=4.11.0=py312h06a4308_0
268+
- tzdata=2024b=h04d1e81_0
269+
- urllib3=2.2.3=py312h06a4308_0
270+
- wayland=1.23.1=h3e06ad9_0
271+
- wayland-protocols=1.37=hd8ed1ab_0
272+
- wheel=0.44.0=py312h06a4308_0
273+
- x264=1!164.3095=h166bdaf_2
274+
- x265=3.5=h924138e_3
275+
- xorg-libice=1.1.1=hb9d3cd8_1
276+
- xorg-libsm=1.2.4=he73a12e_1
277+
- xorg-libx11=1.8.10=h4f16b4b_0
278+
- xorg-libxau=1.0.11=hb9d3cd8_1
279+
- xorg-libxdmcp=1.1.5=hb9d3cd8_0
280+
- xorg-libxext=1.3.6=hb9d3cd8_0
281+
- xorg-libxfixes=6.0.1=hb9d3cd8_0
282+
- xorg-libxrender=0.9.11=hb9d3cd8_1
283+
- xorg-xorgproto=2024.1=hb9d3cd8_1
284+
- xz=5.4.6=h5eee18b_1
285+
- yaml=0.2.5=h7b6447c_0
286+
- yaml-cpp=0.8.0=h6a678d5_1
287+
- zlib=1.3.1=hb9d3cd8_2
288+
- zstandard=0.23.0=py312h2c38b39_0
289+
- zstd=1.5.6=ha6fb4c9_0

0 commit comments

Comments
 (0)