==>(B Building on aurorus(B ==>(B Checking for remote environment...(B ==>(B Syncing package to remote host...(B sending incremental file list created directory packages/python-datasets ./ .SRCINFO 1,854 100% 0.00kB/s 0:00:00 1,854 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=7/9) .nvchecker.toml 85 100% 83.01kB/s 0:00:00 85 100% 83.01kB/s 0:00:00 (xfr#2, to-chk=6/9) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=5/9) PKGBUILD 3,736 100% 3.56MB/s 0:00:00 3,736 100% 3.56MB/s 0:00:00 (xfr#4, to-chk=4/9) REUSE.toml 375 100% 366.21kB/s 0:00:00 375 100% 366.21kB/s 0:00:00 (xfr#5, to-chk=3/9) python-datasets-5.0.1-1.log 860 100% 839.84kB/s 0:00:00 860 100% 839.84kB/s 0:00:00 (xfr#6, to-chk=2/9) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE sent 3,854 bytes received 191 bytes 2,696.67 bytes/sec total size is 6,912 speedup is 1.71 ==>(B Running pkgctl build --arch riscv64 on remote host...(B ==> WARNING:(B invalid architecture: riscv64(B ==>(B Updating pacman database cache(B [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==>(B Building python-datasets(B ==>(B Locking pacman database cache...(Bdone(B  ->(B repo: extra(B  ->(B arch: riscv64(B  ->(B worker: felix-0(B ==>(B Building python-datasets for [extra] (riscv64)(B ]3008;start=6101e8291e944363bb0d409958ef2ac3;user=felix;hostname=aurorus.felixc.at;machineid=01ca1404c26b4b3a80152fb4f25f4ca7;bootid=6001e244fbfd4b4c8bc45956c04bba45;pid=3866938;comm=sudo;targetuser=root;type=session\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=a2af463863c64319a4d31da0b131ac7e;user=root;hostname=aurorus.felixc.at;machineid=01ca1404c26b4b3a80152fb4f25f4ca7;bootid=6001e244fbfd4b4c8bc45956c04bba45;pid=3866999;comm=systemd-nspawn;container=arch-nspawn-3866999;type=container\]11;?\]2;🔵 Container arch-nspawn-3866999 on aurorus.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[!p]104\[?7h]3008;end=a2af463863c64319a4d31da0b131ac7e\==>(B Building in chroot for [extra] (riscv64)...(B ==>(B Locking clean chroot [/var/lib/archbuild/extra-riscv64/root]...(Bdone(B ==>(B Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...(Bdone(B ]3008;start=4e1780f743764903ac794f83f523f292;user=root;hostname=aurorus.felixc.at;machineid=01ca1404c26b4b3a80152fb4f25f4ca7;bootid=6001e244fbfd4b4c8bc45956c04bba45;pid=3867974;comm=sudo;targetuser=felix;type=session\==>(B Making package: python-datasets 5.0.1-1 (Sun Sep 27 20:33:59 2026)(B ==>(B Retrieving sources...(B  ->(B Downloading python-datasets-5.0.1.tar.gz...(B % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00:01 0 0 0 0 0 0 0 0 0 00:01 0 0 0 0 0 0 0 0 0 00:01 0 100 316.0k 0 316.0k 0 0 113.9k 0 00:02 316.3k 100 4.73M 0 4.73M 0 0 1.25M 0 00:03 2.36M 100 10.54M 0 10.54M 0 0 2.20M 0 00:04 3.51M 100 16.40M 0 16.40M 0 0 2.84M 0 00:05 4.10M 100 23.33M 0 23.33M 0 0 3.39M 0 00:06 4.57M 100 27.23M 0 27.23M 0 0 3.67M 0 00:07 4.57M 100 27.23M 0 27.23M 0 0 3.67M 0 00:07 4.57M 100 27.23M 0 27.23M 0 0 3.67M 0 00:07 4.57M ==>(B Validating source files with b2sums...(B python-datasets-5.0.1.tar.gz ... Passed ]3008;end=4e1780f743764903ac794f83f523f292\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=43ee78a79be845f8813e648ca9dc3463;user=root;hostname=aurorus.felixc.at;machineid=01ca1404c26b4b3a80152fb4f25f4ca7;bootid=6001e244fbfd4b4c8bc45956c04bba45;pid=3870556;comm=systemd-nspawn;container=makechrootpkg-python-datasets.build.3866968;type=container\]11;?\]2;🔵 Container makechrootpkg-python-datasets.build.3866968 on aurorus.felixc.at\]3008;start=8ee9645b33a74df286e596334aada714;user=root;hostname=makechrootpkg-python-datasets.build.3866968;machineid=0d405df5a1cc4a8aa1ca96c60fd93bc2;bootid=1386945f5af342d98ac67f8dbc44243f;pid=14;comm=sudo;targetuser=builduser;type=session\==>(B Making package: python-datasets 5.0.1-1 (Sun Sep 27 20:34:35 2026)(B ==>(B Checking runtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=862717ca7ab34c63bb999139b9dcd7ca;user=builduser;hostname=makechrootpkg-python-datasets.build.3866968;machineid=0d405df5a1cc4a8aa1ca96c60fd93bc2;bootid=1386945f5af342d98ac67f8dbc44243f;pid=884;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (80) New Version Net Change Download Size extra/abseil-cpp 20260817.0-2 6.45 MiB extra/apache-orc 2.3.1-4 1.89 MiB extra/arrow 25.0.1-6 34.79 MiB extra/aws-c-auth 0.10.1-1 0.36 MiB extra/aws-c-cal 0.9.13-1 0.14 MiB extra/aws-c-common 0.12.6-1 0.95 MiB extra/aws-c-compression 0.3.2-1 0.03 MiB extra/aws-c-event-stream 0.7.0-1 0.15 MiB extra/aws-c-http 0.10.14-1 0.58 MiB extra/aws-c-io 0.26.3-1 0.55 MiB extra/aws-c-mqtt 0.15.2-1 0.58 MiB extra/aws-c-s3 0.12.2-1 0.38 MiB extra/aws-c-sdkutils 0.2.4-1 0.12 MiB extra/aws-checksums 0.2.10-1 0.13 MiB extra/aws-crt-cpp 0.38.5-1 1.35 MiB extra/aws-sdk-cpp-core 1.11.792-1 2.73 MiB extra/aws-sdk-cpp-iam 1.11.792-1 4.88 MiB extra/aws-sdk-cpp-s3 1.11.792-1 15.19 MiB extra/blas 3.12.1-2 0.43 MiB extra/c-ares 1.34.8-1 0.52 MiB extra/cblas 3.12.1-2 0.31 MiB extra/gflags 2.2.2-6 11.03 MiB extra/google-glog 0.7.1-2.1 0.34 MiB extra/grpc 1.84.0-1 25.93 MiB extra/gtest 1.18.0-1 1.57 MiB extra/hdf5 2.2.0-1 13.58 MiB extra/lapack 3.12.1-2 9.09 MiB extra/libaec 1.1.7-1 0.08 MiB extra/liblzf 3.6-5 0.04 MiB extra/libutf8proc 2.11.3-1 0.38 MiB extra/libyaml 0.2.5-3 0.16 MiB extra/llhttp 9.3.1-1 0.11 MiB extra/protobuf 36.1-1 22.39 MiB extra/python-aiohappyeyeballs 2.7.1-1 0.09 MiB extra/python-aiosignal 1.4.0-3 0.03 MiB extra/python-annotated-types 0.8.0-1 0.12 MiB extra/python-anyio 4.15.1-1 2.24 MiB extra/python-attrs 26.1.0-1 0.63 MiB extra/python-certifi 2026.07.22-1 0.02 MiB extra/python-charset-normalizer 3.5.1-1 0.63 MiB extra/python-click 8.3.3-1 1.38 MiB extra/python-dateutil 2.9.0-8.1 1.03 MiB extra/python-frozenlist 1.8.0-2 0.14 MiB extra/python-h11 0.16.0-2 0.29 MiB extra/python-hf-xet 1.6.0-1 8.21 MiB 3.02 MiB extra/python-httpcore 1.0.9-3 1.04 MiB extra/python-httpcore2 2.3.0-1 1.05 MiB extra/python-httpx2 2.3.0-1 1.06 MiB extra/python-idna 3.20-1 0.68 MiB extra/python-multidict 6.7.1-1 0.33 MiB extra/python-propcache 0.4.1-2 0.12 MiB extra/python-pydantic 2.13.5-1 6.05 MiB extra/python-pydantic-core 3:2.46.5-1 5.35 MiB extra/python-pytz 2026.1-1 0.17 MiB extra/python-six 1.17.0-3 0.12 MiB extra/python-truststore 0.10.4-3 0.19 MiB extra/python-typing-inspection 0.4.4-1 0.13 MiB extra/python-typing_extensions 4.16.0-1 0.53 MiB extra/python-urllib3 2.6.3-1 1.44 MiB extra/python-yarl 1.23.0-1 0.48 MiB extra/re2 2:2025.11.05-6 0.55 MiB extra/s2n-tls 1.7.2-1 1.50 MiB extra/snappy 1.2.2-3 0.09 MiB extra/thrift 0.22.0-6 5.39 MiB extra/python-aiohttp 3.13.5-1 4.15 MiB extra/python-dill 0.4.1-1 1.20 MiB extra/python-filelock 3.31.2-1 1.20 MiB extra/python-fsspec 2026.9.0-1 2.77 MiB extra/python-h5py 3.16.0-1 6.04 MiB extra/python-httpx 0.28.1-7 2.83 MiB extra/python-huggingface-hub 1:2.0.0-1 10.35 MiB 1.37 MiB extra/python-multiprocess 0.70.19-1 2.25 MiB 0.36 MiB extra/python-numpy 2.5.3-1 42.54 MiB extra/python-packaging 26.3-1 1.58 MiB extra/python-pandas 2.3.3-7 107.55 MiB extra/python-pyarrow 25.0.1-1 17.30 MiB extra/python-requests 2.34.2-1 0.76 MiB extra/python-tqdm 4.70.1-1 0.64 MiB extra/python-xxhash 4.0.1-1 0.08 MiB extra/python-yaml 6.0.3-2 0.93 MiB Total Download Size: 4.75 MiB Total Installed Size: 400.47 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-hf-xet-1.6.0-1-riscv64 downloading... python-huggingface-hub-1:2.0.0-1-any downloading... python-multiprocess-0.70.19-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing llhttp... installing python-aiohappyeyeballs... installing python-frozenlist... installing python-aiosignal... installing python-attrs... installing python-multidict... installing python-propcache... installing python-idna... installing python-yarl... installing python-aiohttp... Optional dependencies for python-aiohttp gunicorn: to deploy using Gunicorn python-aiodns: for fast DNS resolving python-brotli: for Brotli transfer-encodings support installing python-dill... Optional dependencies for python-dill python-objgraph: graph support installing python-filelock... installing python-fsspec... Optional dependencies for python-fsspec python-aiohttp: HTTP support [installed] python-distributed: Dask support python-libarchive-c: archives support python-lz4: LZ4 compression support python-paramiko: SFTP support python-pyarrow: Arrow/Parquet support [pending] python-pygit2: git support python-requests: web protocols support [pending] python-smbprotocol: SMB support python-snappy: snappy compression support python-tqdm: progress bar support [pending] installing libaec... installing hdf5... installing liblzf... installing blas... installing cblas... installing lapack... installing python-numpy... Optional dependencies for python-numpy blas-openblas: faster linear algebra installing python-h5py... installing python-certifi... installing python-h11... installing python-httpcore... Optional dependencies for python-httpcore python-h2: for HTTP/2 support python-socksio: for SOCKS support python-anyio: for asyncio backend [pending] python-trio: for trio backend python-sniffio: for async support installing python-anyio... Optional dependencies for python-anyio python-trio: trio backend python-outcome: trio backend python-uvloop: use uvloop for asyncio backend python-pytest: pytest plugin installing python-httpx... Optional dependencies for python-httpx python-brotli: for brotli response decompression python-brotlicffi: for brotli response decompression python-zstandard: for zstd response decompression python-h2: HTTP/2 support python-socksio: SOCKS proxy support python-click: command line client support [pending] python-rich: command line client support python-pygments: command line client support python-trio: alternative async library installing python-click... installing python-hf-xet... installing python-truststore... Optional dependencies for python-truststore python-urllib3: when injecting into SSLContext via urllib3 [pending] installing python-httpcore2... Optional dependencies for python-httpcore2 python-anyio: asyncio support [installed] python-h2: HTTP/2 support python-socksio: SOCKS proxy support python-trio: trio async support installing python-httpx2... Optional dependencies for python-httpx2 python-brotli: for brotli response decompression python-brotlicffi: for brotli response decompression python-click: command line client support [installed] python-h2: HTTP/2 support python-pygments: command line client support python-rich: command line client support python-socksio: SOCKS proxy support python-trio: alternative async library python-zstandard: for zstd response decompression installing python-packaging... installing python-annotated-types... installing python-typing_extensions... installing python-typing-inspection... installing python-pydantic-core... installing python-pydantic... Optional dependencies for python-pydantic mypy: for type validation with mypy python-dotenv: for .env file support python-email-validator: for email validation python-hypothesis: for hypothesis plugin when using legacy v1 installing python-tqdm... Optional dependencies for python-tqdm python-requests: telegram [pending] installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-brotlicffi: Brotli support python-h2: HTTP/2 support python-pysocks: SOCKS support installing libyaml... installing python-yaml... installing python-huggingface-hub... Optional dependencies for python-huggingface-hub python-authlib: for OAuth python-fastapi: for OAuth python-itsdangerous: for OAuth python-gradio: for the webhooks server python-duckdb: for hf datasets sql python-graphviz python-jinja python-mcp python-pillow python-pydot python-pytorch python-safetensors python-fastai installing python-multiprocess... installing python-six... installing python-dateutil... installing python-pytz... installing python-pandas... Optional dependencies for python-pandas python-pandas-datareader: pandas.io.data replacement (recommended) python-numexpr: accelerating certain numerical operations (recommended) python-bottleneck: accelerating certain types of nan evaluations (recommended) python-matplotlib: plotting python-jinja: conditional formatting with DataFrame.style python-tabulate: printing in Markdown-friendly format python-scipy: miscellaneous statistical functions python-numba: alternative execution engine python-xarray: pandas-like API for N-dimensional data python-xlrd: Excel XLS input python-xlwt: Excel XLS output python-openpyxl: Excel XLSX input/output python-xlsxwriter: alternative Excel XLSX output python-beautifulsoup4: read_html function (in any case) python-html5lib: read_html function (and/or python-lxml) python-lxml: read_xml, to_xml and read_html function (and/or python-html5lib) python-sqlalchemy: SQL database support python-psycopg2: PostgreSQL engine for sqlalchemy python-pymysql: MySQL engine for sqlalchemy python-pytables: HDF5-based reading / writing python-blosc: for msgpack compression using blosc zlib: compression for msgpack [installed] python-pyarrow: Parquet, ORC and feather reading/writing [pending] python-fsspec: handling files aside from local and HTTP [installed] python-qtpy: read_clipboard function (only one needed) xclip: read_clipboard function (only one needed) xsel: read_clipboard function (only one needed) python-brotli: Brotli compression python-snappy: Snappy compression python-zstandard: Zstandard (zstd) compression installing gtest... Optional dependencies for gtest python: gmock generator [installed] installing abseil-cpp... installing protobuf... installing snappy... installing apache-orc... installing aws-c-common... installing aws-c-cal... installing aws-c-compression... installing s2n-tls... installing aws-c-io... installing aws-c-http... installing aws-c-sdkutils... installing aws-c-auth... installing aws-checksums... installing aws-c-event-stream... installing aws-c-mqtt... installing aws-c-s3... installing aws-crt-cpp... installing aws-sdk-cpp-core... installing aws-sdk-cpp-iam... installing aws-sdk-cpp-s3... installing gflags... installing google-glog... installing c-ares... installing re2... installing grpc... installing libutf8proc... installing thrift... Optional dependencies for thrift qt5-base: TQTcpServer (Qt5) support installing arrow... installing python-pyarrow... Optional dependencies for python-pyarrow python-cffi: interact with C code python-pandas: Pandas integration [installed] python-fsspec: Filesystem Spec support [installed] installing python-charset-normalizer... installing python-requests... Optional dependencies for python-requests python-chardet: alternative character encoding library python-pysocks: SOCKS proxy support installing python-xxhash... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h]3008;end=862717ca7ab34c63bb999139b9dcd7ca\==>(B Checking buildtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=d4991ec0bda44262ada1ac9ea497e40c;user=builduser;hostname=makechrootpkg-python-datasets.build.3866968;machineid=0d405df5a1cc4a8aa1ca96c60fd93bc2;bootid=1386945f5af342d98ac67f8dbc44243f;pid=1245;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... warning: insufficient columns available for table display Packages (175) alsa-lib-1.2.16.1-1 alsa-topology-conf-1.2.5.1-4 alsa-ucm-conf-1.2.16.1-1 aom-3.15.1-1 avahi-1:0.9rc5-1 cmake-4.4.3-2 cppdap-1.58.0-3 cpuinfo-r843.ea6b9f1-1 dav1d-1.5.4-1 default-cursors-3-1 double-conversion-3.4.0-1 duktape-2.7.0-7 eigen-5.0.1-2 flac-1.5.0-1 fontconfig-2:2.18.3-2 freetype2-2.14.3-1 fribidi-1.0.17-1 graphite-1:1.3.15-1 harfbuzz-14.5.0-1 hicolor-icon-theme-0.18-1 hwloc-2.14.0-1 jbigkit-2.1-8 jsoncpp-1.9.8-1 l-smash-2.14.5-4 lame-4.0-1 lcms2-2.19.1-1 libavif-1.4.2-1 libb2-0.98.1-3 libcups-2:2.4.19-1 libdaemon-0.14-6 libde265-1.1.3-1 libdeflate-1.26-1 libdrm-2.4.134-1 libedit-20260512_3.1-1 libevdev-1.13.7-1 libfabric-2.7.0-1 libglvnd-1.7.0-3 libgudev-238-3 libheif-1.23.5-1 libice-1.1.2-1 libimagequant-4.4.1-2 libinput-1.32.0-1 libjpeg-turbo-3.2.0-2 libogg-1.3.6-1 libpciaccess-0.19-1 libpng-1.6.58-2 libproxy-0.5.12-1 libraqm-0.11.0-1 libsm-1.2.6-1 libsndfile-1.2.2-4 libsoxr-0.1.3-5 libtiff-4.7.2-1 liburing-2.15-1 libuv-1.52.1-2 libvorbis-1.3.7-4 libwacom-2.20.0-1 libwebp-1.6.0-2 libx11-1.8.13-1 libxau-1.0.12-1 libxcb-1.17.0-1 libxdmcp-1.1.5-2 libxext-1.3.7-1 libxkbcommon-1.13.2-1 libxkbcommon-x11-1.13.2-1 libxshmfence-1.3.3-1 libxxf86vm-1.1.7-1 libyuv-r2921+644251f25-1 llvm-libs-22.1.8-2 lm_sensors-1:3.6.2-1 lua54-5.4.9-1 md4c-0.5.3-1 mesa-1:26.2.3-1 mpg123-1.33.7-1 mtdev-1.1.7-1 ninja-1.13.2-3 numactl-2.0.19-1.1 openh264-2.6.0-2 openjpeg2-2.5.4-1 openmp-22.1.8-1 openmpi-5.0.11-1 openpmix-5.0.11-1 openucx-1.20.1-3 opus-1.6.1-1 prrte-3.0.14-1 pybind11-3.1.0-1 python-audioop-lts-0.2.2-2 python-audioread-3.1.0-3 python-autocommand-2.2.2-9 python-cffi-2.1.1-1 python-cloudpickle-3.1.2-3 python-contourpy-1.4.0-1 python-cycler-0.12.1-4 python-execnet-2.1.2-3 python-fonttools-4.66.0-1 python-gmpy2-2.3.1-1 python-greenlet-3.5.6-1 python-importlib-metadata-9.0.1-1 python-iniconfig-2.3.0-1 python-jaraco.collections-5.1.0-3 python-jaraco.context-6.1.2-1 python-jaraco.functools-4.1.0-3 python-jaraco.text-4.0.0-4 python-jinja-1:3.1.6-3.1 python-joblib-1.6.0-2 python-kiwisolver-1.5.1-1 python-lazy-loader-0.5-1 python-llvmlite-0.49.0-1.2 python-markupsafe-3.0.3-1 python-matplotlib-3.11.2-1 python-more-itertools-11.1.0-1 python-mpmath-1.4.1-1 python-msgpack-1.1.2-2 python-narwhals-2.26.0-1 python-networkx-3.6.1-1 python-numba-0.67.0-1 python-pathspec-1.1.1-1 python-pillow-12.3.0-1 python-platformdirs-4.11.14-1 python-pluggy-1.6.0-3.1 python-pooch-1.9.0-1 python-pycparser-3.00-1 python-pygments-2.21.0-1 python-pyparsing-3.3.3-1 python-pyproject-hooks-1.3.3-1 python-resampy-0.4.3-4 python-scikit-build-core-1.0.3-1 python-scikit-learn-1.9.1-1 python-scipy-1.18.1-1 python-soundfile-0.14.0-1 python-standard-aifc-3.13.0-4 python-standard-chunk-3.13.0-4 python-standard-sunau-3.13.0-4 python-sympy-1.14.0-6 python-threadpoolctl-3.6.0-1 python-zipp-3.21.0-4 qhull-2020.2-6 qt6-base-6.11.2-3 qt6-translations-6.11.2-1 rav1e-0.8.1-3 rhash-1.4.6-1 shared-mime-info-2.5.1-2 spirv-tools-1:1.4.357.0-1 svt-av1-4.2.0-1 tslib-1.24-1 vulkan-icd-loader-1.4.357.0-1 wayland-1.26.0-1 x264-3:0.165.r3222.b35605a-2 x265-4.3-1 xcb-proto-1.17.0-4 xcb-util-0.4.1-2 xcb-util-cursor-0.1.6-1 xcb-util-image-0.4.1-3 xcb-util-keysyms-0.4.1-5 xcb-util-renderutil-0.3.10-2 xcb-util-wm-0.4.2-2 xdg-utils-1.2.1-2 xkeyboard-config-2.48-1 xorgproto-2025.1-1 python-absl-2.5.0-1 python-build-1.6.0-1 python-decorator-5.3.1-1 python-installer-1.0.1-1 python-librosa-1.0.0-1 python-pytest-1:9.1.1-1 python-pytest-datadir-1.5.0-4 python-pytest-rerunfailures-16.7-1 python-pytest-xdist-3.8.0-3 python-pytorch-2.14.0-1 python-setuptools-1:84.0.0-1 python-soxr-1.1.0-2 python-sqlalchemy-2.0.54-1 python-torchcodec-0.16.0-1 python-trimesh-5.1.0-1 python-wheel-0.48.0-1 python-zstandard-0.25.0-3 Total Download Size: 91.16 MiB Total Installed Size: 1437.24 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pytorch-2.14.0-1-riscv64 downloading... python-scikit-learn-1.9.1-1-riscv64 downloading... python-numba-0.67.0-1-riscv64 downloading... python-sqlalchemy-2.0.54-1-riscv64 downloading... python-resampy-0.4.3-4-any downloading... libfabric-2.7.0-1-riscv64 downloading... python-trimesh-5.1.0-1-any downloading... python-torchcodec-0.16.0-1-riscv64 downloading... python-joblib-1.6.0-2-any downloading... python-librosa-1.0.0-1-any downloading... python-llvmlite-0.49.0-1.2-riscv64 downloading... python-absl-2.5.0-1-any downloading... python-soxr-1.1.0-2-riscv64 downloading... python-soundfile-0.14.0-1-any downloading... python-audioread-3.1.0-3-any downloading... python-audioop-lts-0.2.2-2-riscv64 downloading... python-standard-aifc-3.13.0-4-any downloading... python-standard-sunau-3.13.0-4-any downloading... python-lazy-loader-0.5-1-any downloading... python-standard-chunk-3.13.0-4-any downloading... python-pytest-datadir-1.5.0-4-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-jaraco.text... Optional dependencies for python-jaraco.text python-inflect: for show-newlines script installing python-jaraco.collections... installing python-platformdirs... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures python-setuptools: for legacy bdist_wheel subcommand [pending] installing python-setuptools... installing python-absl... installing python-decorator... installing python-audioop-lts... installing python-standard-chunk... installing python-standard-aifc... installing python-standard-sunau... installing python-audioread... Optional dependencies for python-audioread gst-python: GStreamer backend python-gobject: GStreamer backend python-pymad: MAD backend installing python-cycler... installing python-cloudpickle... installing python-joblib... Optional dependencies for python-joblib python-distributed: for dask parallel backend python-lz4: for compressed serialization python-numpy: for array manipulation [installed] python-psutil: to mitigate memory leaks in worker processes installing python-zipp... installing python-importlib-metadata... installing python-lazy-loader... installing libpng... installing freetype2... Optional dependencies for freetype2 harfbuzz: Improved autohinting [pending] installing python-contourpy... Optional dependencies for python-contourpy python-matplotlib: matplotlib renderer [pending] installing python-fonttools... Optional dependencies for python-fonttools python-brotli: to compress/decompress WOFF 2.0 web fonts python-fs: to read/write UFO source files python-lxml: faster backend for XML files reading/writing python-lz4: for graphite type tables in ttLib/tables python-matplotlib: for visualizing DesignSpaceDocument and resulting VariationModel [pending] python-pyqt5: for drawing glyphs with Qt’s QPainterPath python-reportlab: to drawing glyphs as PNG images python-scipy: for finding wrong contour/component order between different masters [pending] python-sympy: for symbolic font statistics analysis [pending] python-uharfbuzz: to use the Harfbuzz Repacker for packing GSUB/GPOS tables python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx python-zopfli: faster backend fom WOFF 1.0 web fonts compression installing python-kiwisolver... installing libjpeg-turbo... installing jbigkit... installing libdeflate... installing libwebp... Optional dependencies for libwebp libwebp-utils: WebP conversion and inspection tools installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing lcms2... installing aom... installing dav1d... Optional dependencies for dav1d dav1d-doc: HTML documentation installing libyuv... installing rav1e... installing svt-av1... installing libavif... installing fribidi... installing graphite... Optional dependencies for graphite graphite-docs: Documentation installing harfbuzz... Optional dependencies for harfbuzz harfbuzz-utils: utilities installing libraqm... installing openjpeg2... installing libimagequant... installing xcb-proto... installing xorgproto... installing libxdmcp... installing libxau... installing libxcb... installing python-pillow... Optional dependencies for python-pillow libwebp: for webp images [installed] tk: for the ImageTK module python-olefile: OLE2 file support python-pyqt6: for the ImageQt module python-defusedxml: for reading XMP tags installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams [pending] installing qhull... installing python-matplotlib... Optional dependencies for python-matplotlib tk: Tk{Agg,Cairo} backends pyside6: alternative for Qt6{Agg,Cairo} backends python-pyqt6: Qt6{Agg,Cairo} backends python-gobject: for GTK{3,4}{Agg,Cairo} backend python-wxpython: WX{Agg,Cairo} backend python-cairo: {GTK{3,4},Qt{5,6},Tk,WX}Cairo backends python-cairocffi: alternative for Cairo backends python-tornado: WebAgg backend ffmpeg: for saving movies imagemagick: for saving animated gifs ghostscript: usetex dependencies texlive-binextra: usetex dependencies texlive-fontsrecommended: usetex dependencies texlive-latexrecommended: usetex usage with pdflatex python-certifi: https support [installed] installing python-msgpack... installing libedit... installing llvm-libs... installing python-llvmlite... installing python-numba... Optional dependencies for python-numba onetbb: TBB threading backend openmp: OpenMP threading backend [pending] python-cffi: use of CFFI bindings in compiled functions [pending] python-colorama: error message highlighting python-scipy: cython bindings used in np.linalg.* support [pending] python-jinja: “pretty” type annotation output (HTML) via the CLI [pending] python-pyelftools: for code generation python-pygments: “pretty” type annotation [pending] python-pyyaml: use of a .numba_config.yaml file for storing per project configuration options [installed] python-psutil: for sysinfo installing python-pooch... Optional dependencies for python-pooch python-paramiko: for SFTP downloads python-tqdm: for printing a download progress bar [installed] installing python-resampy... installing python-narwhals... Optional dependencies for python-narwhals python-pandas: for Pandas support [installed] python-pyarrow: for PyArrows support [installed] python-polars: for Polars support installing python-scipy... Optional dependencies for python-scipy python-pillow: for image saving module [installed] installing python-threadpoolctl... installing python-scikit-learn... Optional dependencies for python-scikit-learn python-matplotlib: plotting capabilities [installed] installing libogg... installing flac... installing alsa-topology-conf... installing alsa-ucm-conf... installing alsa-lib... installing mpg123... Optional dependencies for mpg123 sdl2-compat: for sdl audio support jack: for jack audio support libpulse: for pulse audio support perl: for conplay [installed] installing lame... installing libvorbis... installing opus... installing libsndfile... Optional dependencies for libsndfile alsa-lib: for sndfile-play [installed] installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext [installed] installing python-soundfile... installing libsoxr... installing python-soxr... installing python-librosa... installing python-iniconfig... installing python-pluggy... installing python-pygments... installing python-pytest... installing python-pytest-datadir... installing python-pytest-rerunfailures... Optional dependencies for python-pytest-rerunfailures python-pytest-xdist: for recovering from crashes [pending] installing python-execnet... installing python-pytest-xdist... Optional dependencies for python-pytest-xdist python-psutil: to use psutil for detection of the number of CPUs available python-setproctitle: to update the process title installing cpuinfo... installing eigen... installing libuv... installing numactl... installing openmp... Optional dependencies for openmp cuda: offloading to NVIDIA GPUs hsa-rocr: offloading to AMD GPUs installing libpciaccess... installing hwloc... Optional dependencies for hwloc cairo: PDF, Postscript, and PNG export support libxml2: full XML import/export support [installed] installing libfabric... installing openpmix... Optional dependencies for openpmix openpmix-docs: for documentation installing openucx... Optional dependencies for openucx rdma-core: for InfiniBand and RDMA support rocm-language-runtime: for ROCm support installing prrte... Optional dependencies for prrte openssh: for execution on remote hosts via plm_ssh_agent prrte-docs: for documentation installing openmpi... Optional dependencies for openmpi hip-runtime-amd: ROCm support gcc-fortran: fortran support openssh: for execution on remote hosts via plm_ssh_agent openucc: for UCC accelerated collectives installing pybind11... Optional dependencies for pybind11 python-setuptools: for setup_helpers [installed] installing python-markupsafe... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support installing python-networkx... Optional dependencies for python-networkx python-lxml: for GraphML XML format python-pydot: for graph drawing and graph layout algorithms in pure Python via GraphViz python-pygraphviz: for graph drawing and graph layout algorithms with bindings to GraphViz python-sympy: for polynomial algorithms [pending] installing cppdap... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing rhash... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator [pending] qt6-base: cmake-gui [pending] installing ninja... installing python-pathspec... Optional dependencies for python-pathspec python-google-re2: re2 backend installing python-scikit-build-core... installing python-gmpy2... installing python-mpmath... installing python-sympy... Optional dependencies for python-sympy ipython: user friendly interface for isympy python-symengine: optimized backend, set USE_SYMENGINE=1 to use installing double-conversion... installing fontconfig... Creating fontconfig configuration... Rebuilding fontconfig cache... installing libb2... installing libdaemon... installing avahi... Optional dependencies for avahi gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc libevent: libevent bindings [installed] nss-mdns: NSS support for mDNS python-dbus: avahi-bookmarks, avahi-discover python-gobject: avahi-bookmarks, avahi-discover python-twisted: avahi-bookmarks installing libcups... installing libdrm... Optional dependencies for libdrm cairo: needed for modetest tool installing libx11... installing libxext... installing libxshmfence... installing libxxf86vm... installing lm_sensors... Optional dependencies for lm_sensors rrdtool: for logging with sensord perl: for sensor detection and configuration convert [installed] installing spirv-tools... installing default-cursors... Optional dependencies for default-cursors adwaita-cursors: default cursor theme installing wayland... installing mesa... Optional dependencies for mesa opengl-man-pages: for the OpenGL API man pages installing libglvnd... installing libice... installing libevdev... installing libgudev... installing libwacom... Optional dependencies for libwacom python-libevdev: for libwacom-show-stylus python-pyudev: for libwacom-show-stylus installing lua54... installing mtdev... installing libinput... Optional dependencies for libinput libinput-tools: debug utilities installing duktape... installing libproxy... installing libsm... installing liburing... installing xkeyboard-config... installing libxkbcommon... Optional dependencies for libxkbcommon libxkbcommon-x11: xkbcli interactive-x11 [pending] wayland: xkbcli interactive-wayland [installed] installing libxkbcommon-x11... installing md4c... installing shared-mime-info... installing tslib... installing xcb-util-renderutil... installing xcb-util... installing xcb-util-image... installing xcb-util-cursor... installing xcb-util-keysyms... installing xcb-util-wm... installing xdg-utils... Optional dependencies for xdg-utils kde-cli-tools: for KDE Plasma5 support in xdg-open exo: for Xfce support in xdg-open pcmanfm: for LXDE support in xdg-open perl-file-mimeinfo: for generic support in xdg-open perl-net-dbus: Perl extension to dbus used in xdg-screensaver perl-x11-protocol: Perl X11 protocol used in xdg-screensaver xorg-xset: for X11 support in xdg-screensaver xorg-xprop: for X11 support in xdg-screensaver installing qt6-translations... installing qt6-base... Optional dependencies for qt6-base freetds: MS SQL driver gdk-pixbuf2: GTK platform plugin gtk3: GTK platform plugin libfbclient: Firebird/iBase driver mariadb-libs: MariaDB driver pango: GTK platform plugin perl: for syncqt [installed] postgresql-libs: PostgreSQL driver unixodbc: ODBC driver installing vulkan-icd-loader... Optional dependencies for vulkan-icd-loader vulkan-driver: packaged vulkan driver installing python-pytorch... Optional dependencies for python-pytorch python-onnxscript: for the ONNX exporter installing python-greenlet... installing python-sqlalchemy... Optional dependencies for python-sqlalchemy python-psycopg: connect to PostgreSQL database python-psycopg2: connect to PostgreSQL database installing libde265... Optional dependencies for libde265 sdl2-compat: for the decoder tool installing openh264... installing l-smash... installing x264... installing x265... installing libheif... Optional dependencies for libheif libjpeg-turbo: for heif-dec and heif-enc [installed] libpng: for heif-dec and heif-enc [installed] libtiff: for heif-dec and heif-enc [installed] dav1d: dav1d encoder [installed] ffmpeg: hardware decode openjpeg2: JPEG2000 decoder [installed] rav1e: rav1e encoder [installed] svt-av1: svt-av1 encoder [installed] installing python-torchcodec... Optional dependencies for python-torchcodec ffmpeg: for video and audio decoding and encoding installing python-trimesh... Optional dependencies for python-trimesh python-charset-normalizer: encoding [installed] python-colorlog: print logs with colors python-httpx: network requests [installed] python-jsonschema: validate JSON schemas like GLTF python-lxml: handle XML better and faster than built-in XML python-manifold3d: triangulation engine python-networkx: graph operations [installed] python-pillow: load images [installed] python-rtree: vector path handling python-scikit-image: for voxel ops python-scipy: convex hulls [installed] python-shapely: vector path handling python-sympy: do analytical math [installed] python-xxhash: hash ndarrays faster than built-in MD5/CRC [installed] installing python-zstandard... Optional dependencies for python-zstandard python-cffi [installed] :: Running post-transaction hooks... (1/9) Creating system user accounts... Creating group 'avahi' with GID 968. Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 968 and GID 968. (2/9) Updating udev hardware database... (3/9) Reloading system manager configuration... Skipped: Current root is not booted. (4/9) Updating the MIME type database... (5/9) Reloading device manager configuration... Skipped: Current root is not booted. (6/9) Arming ConditionNeedsUpdate... (7/9) Updating fontconfig configuration... (8/9) Reloading system bus configuration... Skipped: Current root is not booted. (9/9) Updating fontconfig cache... [?25h]3008;end=d4991ec0bda44262ada1ac9ea497e40c\==>(B Retrieving sources...(B  ->(B Found python-datasets-5.0.1.tar.gz(B ==> WARNING:(B Skipping all source file integrity checks.(B ==>(B Extracting sources...(B  ->(B Extracting python-datasets-5.0.1.tar.gz with bsdtar(B ==>(B Starting prepare()...(B ==>(B Starting build()...(B * Getting build dependencies for wheel... running egg_info creating src/datasets.egg-info writing src/datasets.egg-info/PKG-INFO writing dependency_links to src/datasets.egg-info/dependency_links.txt writing entry points to src/datasets.egg-info/entry_points.txt writing requirements to src/datasets.egg-info/requires.txt writing top-level names to src/datasets.egg-info/top_level.txt writing manifest file 'src/datasets.egg-info/SOURCES.txt' reading manifest file 'src/datasets.egg-info/SOURCES.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'src/datasets.egg-info/SOURCES.txt' WARNING License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! * Building wheel... running bdist_wheel running build running build_py creating build/lib/datasets copying src/datasets/exceptions.py -> build/lib/datasets copying src/datasets/streaming.py -> build/lib/datasets copying src/datasets/fingerprint.py -> build/lib/datasets copying src/datasets/search.py -> build/lib/datasets copying src/datasets/arrow_reader.py -> build/lib/datasets copying src/datasets/__init__.py -> build/lib/datasets copying src/datasets/hub.py -> build/lib/datasets copying src/datasets/dataset_dict.py -> build/lib/datasets copying src/datasets/data_files.py -> build/lib/datasets copying src/datasets/arrow_dataset.py -> build/lib/datasets copying src/datasets/naming.py -> build/lib/datasets copying src/datasets/inspect.py -> build/lib/datasets copying src/datasets/config.py -> build/lib/datasets copying src/datasets/arrow_writer.py -> build/lib/datasets copying src/datasets/load.py -> build/lib/datasets copying src/datasets/iterable_dataset.py -> build/lib/datasets copying src/datasets/builder.py -> build/lib/datasets copying src/datasets/table.py -> build/lib/datasets copying src/datasets/combine.py -> build/lib/datasets copying src/datasets/splits.py -> build/lib/datasets copying src/datasets/distributed.py -> build/lib/datasets copying src/datasets/info.py -> build/lib/datasets creating build/lib/datasets/formatting copying src/datasets/formatting/jax_formatter.py -> build/lib/datasets/formatting copying src/datasets/formatting/__init__.py -> build/lib/datasets/formatting copying src/datasets/formatting/tf_formatter.py -> build/lib/datasets/formatting copying src/datasets/formatting/np_formatter.py -> build/lib/datasets/formatting copying src/datasets/formatting/torch_formatter.py -> build/lib/datasets/formatting copying src/datasets/formatting/formatting.py -> build/lib/datasets/formatting copying src/datasets/formatting/polars_formatter.py -> build/lib/datasets/formatting creating build/lib/datasets/features copying src/datasets/features/__init__.py -> build/lib/datasets/features copying src/datasets/features/image.py -> build/lib/datasets/features copying src/datasets/features/pdf.py -> build/lib/datasets/features copying src/datasets/features/video.py -> build/lib/datasets/features copying src/datasets/features/_torchcodec.py -> build/lib/datasets/features copying src/datasets/features/audio.py -> build/lib/datasets/features copying src/datasets/features/mesh.py -> build/lib/datasets/features copying src/datasets/features/nifti.py -> build/lib/datasets/features copying src/datasets/features/translation.py -> build/lib/datasets/features copying src/datasets/features/features.py -> build/lib/datasets/features creating build/lib/datasets/filesystems copying src/datasets/filesystems/__init__.py -> build/lib/datasets/filesystems copying src/datasets/filesystems/compression.py -> build/lib/datasets/filesystems creating build/lib/datasets/io copying src/datasets/io/__init__.py -> build/lib/datasets/io copying src/datasets/io/abc.py -> build/lib/datasets/io copying src/datasets/io/parquet.py -> build/lib/datasets/io copying src/datasets/io/sql.py -> build/lib/datasets/io copying src/datasets/io/csv.py -> build/lib/datasets/io copying src/datasets/io/json.py -> build/lib/datasets/io copying src/datasets/io/generator.py -> build/lib/datasets/io copying src/datasets/io/text.py -> build/lib/datasets/io copying src/datasets/io/spark.py -> build/lib/datasets/io creating build/lib/datasets/utils copying src/datasets/utils/logging.py -> build/lib/datasets/utils copying src/datasets/utils/_dataset_viewer.py -> build/lib/datasets/utils copying src/datasets/utils/doc_utils.py -> build/lib/datasets/utils copying src/datasets/utils/track.py -> build/lib/datasets/utils copying src/datasets/utils/filelock.py -> build/lib/datasets/utils copying src/datasets/utils/__init__.py -> build/lib/datasets/utils copying src/datasets/utils/hub.py -> build/lib/datasets/utils copying src/datasets/utils/typing.py -> build/lib/datasets/utils copying src/datasets/utils/info_utils.py -> build/lib/datasets/utils copying src/datasets/utils/sharding.py -> build/lib/datasets/utils copying src/datasets/utils/_filelock.py -> build/lib/datasets/utils copying src/datasets/utils/stratify.py -> build/lib/datasets/utils copying src/datasets/utils/metadata.py -> build/lib/datasets/utils copying src/datasets/utils/file_utils.py -> build/lib/datasets/utils copying src/datasets/utils/extract.py -> build/lib/datasets/utils copying src/datasets/utils/deprecation_utils.py -> build/lib/datasets/utils copying src/datasets/utils/_dill.py -> build/lib/datasets/utils copying src/datasets/utils/tf_utils.py -> build/lib/datasets/utils copying src/datasets/utils/json.py -> build/lib/datasets/utils copying src/datasets/utils/tqdm.py -> build/lib/datasets/utils copying src/datasets/utils/patching.py -> build/lib/datasets/utils copying src/datasets/utils/version.py -> build/lib/datasets/utils copying src/datasets/utils/experimental.py -> build/lib/datasets/utils copying src/datasets/utils/py_utils.py -> build/lib/datasets/utils creating build/lib/datasets/commands copying src/datasets/commands/test.py -> build/lib/datasets/commands copying src/datasets/commands/delete_from_hub.py -> build/lib/datasets/commands copying src/datasets/commands/__init__.py -> build/lib/datasets/commands copying src/datasets/commands/datasets_cli.py -> build/lib/datasets/commands copying src/datasets/commands/env.py -> build/lib/datasets/commands creating build/lib/datasets/download copying src/datasets/download/download_manager.py -> build/lib/datasets/download copying src/datasets/download/__init__.py -> build/lib/datasets/download copying src/datasets/download/download_config.py -> build/lib/datasets/download copying src/datasets/download/streaming_download_manager.py -> build/lib/datasets/download creating build/lib/datasets/parallel copying src/datasets/parallel/__init__.py -> build/lib/datasets/parallel copying src/datasets/parallel/parallel.py -> build/lib/datasets/parallel creating build/lib/datasets/packaged_modules copying src/datasets/packaged_modules/__init__.py -> build/lib/datasets/packaged_modules creating build/lib/datasets/utils/resources copying src/datasets/utils/resources/__init__.py -> build/lib/datasets/utils/resources creating build/lib/datasets/packaged_modules/eval copying src/datasets/packaged_modules/eval/__init__.py -> build/lib/datasets/packaged_modules/eval copying src/datasets/packaged_modules/eval/eval.py -> build/lib/datasets/packaged_modules/eval creating build/lib/datasets/packaged_modules/pdffolder copying src/datasets/packaged_modules/pdffolder/pdffolder.py -> build/lib/datasets/packaged_modules/pdffolder copying src/datasets/packaged_modules/pdffolder/__init__.py -> build/lib/datasets/packaged_modules/pdffolder creating build/lib/datasets/packaged_modules/text copying src/datasets/packaged_modules/text/__init__.py -> build/lib/datasets/packaged_modules/text copying src/datasets/packaged_modules/text/text.py -> build/lib/datasets/packaged_modules/text creating build/lib/datasets/packaged_modules/cache copying src/datasets/packaged_modules/cache/cache.py -> build/lib/datasets/packaged_modules/cache copying src/datasets/packaged_modules/cache/__init__.py -> build/lib/datasets/packaged_modules/cache creating build/lib/datasets/packaged_modules/lance copying src/datasets/packaged_modules/lance/__init__.py -> build/lib/datasets/packaged_modules/lance copying src/datasets/packaged_modules/lance/lance.py -> build/lib/datasets/packaged_modules/lance creating build/lib/datasets/packaged_modules/arrow copying src/datasets/packaged_modules/arrow/__init__.py -> build/lib/datasets/packaged_modules/arrow copying src/datasets/packaged_modules/arrow/arrow.py -> build/lib/datasets/packaged_modules/arrow creating build/lib/datasets/packaged_modules/sql copying src/datasets/packaged_modules/sql/__init__.py -> build/lib/datasets/packaged_modules/sql copying src/datasets/packaged_modules/sql/sql.py -> build/lib/datasets/packaged_modules/sql creating build/lib/datasets/packaged_modules/hdf5 copying src/datasets/packaged_modules/hdf5/__init__.py -> build/lib/datasets/packaged_modules/hdf5 copying src/datasets/packaged_modules/hdf5/hdf5.py -> build/lib/datasets/packaged_modules/hdf5 creating build/lib/datasets/packaged_modules/imagefolder copying src/datasets/packaged_modules/imagefolder/__init__.py -> build/lib/datasets/packaged_modules/imagefolder copying src/datasets/packaged_modules/imagefolder/imagefolder.py -> build/lib/datasets/packaged_modules/imagefolder creating build/lib/datasets/packaged_modules/csv copying src/datasets/packaged_modules/csv/__init__.py -> build/lib/datasets/packaged_modules/csv copying src/datasets/packaged_modules/csv/csv.py -> build/lib/datasets/packaged_modules/csv creating build/lib/datasets/packaged_modules/conll copying src/datasets/packaged_modules/conll/conll.py -> build/lib/datasets/packaged_modules/conll copying src/datasets/packaged_modules/conll/__init__.py -> build/lib/datasets/packaged_modules/conll creating build/lib/datasets/packaged_modules/niftifolder copying src/datasets/packaged_modules/niftifolder/__init__.py -> build/lib/datasets/packaged_modules/niftifolder copying src/datasets/packaged_modules/niftifolder/niftifolder.py -> build/lib/datasets/packaged_modules/niftifolder creating build/lib/datasets/packaged_modules/audiofolder copying src/datasets/packaged_modules/audiofolder/__init__.py -> build/lib/datasets/packaged_modules/audiofolder copying src/datasets/packaged_modules/audiofolder/audiofolder.py -> build/lib/datasets/packaged_modules/audiofolder creating build/lib/datasets/packaged_modules/tsfile copying src/datasets/packaged_modules/tsfile/__init__.py -> build/lib/datasets/packaged_modules/tsfile copying src/datasets/packaged_modules/tsfile/tsfile.py -> build/lib/datasets/packaged_modules/tsfile creating build/lib/datasets/packaged_modules/parquet copying src/datasets/packaged_modules/parquet/__init__.py -> build/lib/datasets/packaged_modules/parquet copying src/datasets/packaged_modules/parquet/parquet.py -> build/lib/datasets/packaged_modules/parquet creating build/lib/datasets/packaged_modules/generator copying src/datasets/packaged_modules/generator/__init__.py -> build/lib/datasets/packaged_modules/generator copying src/datasets/packaged_modules/generator/generator.py -> build/lib/datasets/packaged_modules/generator creating build/lib/datasets/packaged_modules/webdataset copying src/datasets/packaged_modules/webdataset/__init__.py -> build/lib/datasets/packaged_modules/webdataset copying src/datasets/packaged_modules/webdataset/webdataset.py -> build/lib/datasets/packaged_modules/webdataset copying src/datasets/packaged_modules/webdataset/_tenbin.py -> build/lib/datasets/packaged_modules/webdataset creating build/lib/datasets/packaged_modules/videofolder copying src/datasets/packaged_modules/videofolder/__init__.py -> build/lib/datasets/packaged_modules/videofolder copying src/datasets/packaged_modules/videofolder/videofolder.py -> build/lib/datasets/packaged_modules/videofolder creating build/lib/datasets/packaged_modules/xml copying src/datasets/packaged_modules/xml/__init__.py -> build/lib/datasets/packaged_modules/xml copying src/datasets/packaged_modules/xml/xml.py -> build/lib/datasets/packaged_modules/xml creating build/lib/datasets/packaged_modules/pandas copying src/datasets/packaged_modules/pandas/pandas.py -> build/lib/datasets/packaged_modules/pandas copying src/datasets/packaged_modules/pandas/__init__.py -> build/lib/datasets/packaged_modules/pandas creating build/lib/datasets/packaged_modules/spark copying src/datasets/packaged_modules/spark/__init__.py -> build/lib/datasets/packaged_modules/spark copying src/datasets/packaged_modules/spark/spark.py -> build/lib/datasets/packaged_modules/spark creating build/lib/datasets/packaged_modules/json copying src/datasets/packaged_modules/json/__init__.py -> build/lib/datasets/packaged_modules/json copying src/datasets/packaged_modules/json/json.py -> build/lib/datasets/packaged_modules/json creating build/lib/datasets/packaged_modules/iceberg copying src/datasets/packaged_modules/iceberg/iceberg.py -> build/lib/datasets/packaged_modules/iceberg copying src/datasets/packaged_modules/iceberg/__init__.py -> build/lib/datasets/packaged_modules/iceberg creating build/lib/datasets/packaged_modules/folder_based_builder copying src/datasets/packaged_modules/folder_based_builder/__init__.py -> build/lib/datasets/packaged_modules/folder_based_builder copying src/datasets/packaged_modules/folder_based_builder/folder_based_builder.py -> build/lib/datasets/packaged_modules/folder_based_builder creating build/lib/datasets/packaged_modules/meshfolder copying src/datasets/packaged_modules/meshfolder/__init__.py -> build/lib/datasets/packaged_modules/meshfolder copying src/datasets/packaged_modules/meshfolder/meshfolder.py -> build/lib/datasets/packaged_modules/meshfolder copying src/datasets/utils/resources/languages.json -> build/lib/datasets/utils/resources copying src/datasets/utils/resources/size_categories.json -> build/lib/datasets/utils/resources copying src/datasets/utils/resources/multilingualities.json -> build/lib/datasets/utils/resources copying src/datasets/utils/resources/creators.json -> build/lib/datasets/utils/resources copying src/datasets/utils/resources/readme_structure.yaml -> build/lib/datasets/utils/resources installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/datasets copying build/lib/datasets/exceptions.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/streaming.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/fingerprint.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/search.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/arrow_reader.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/hub.py -> build/bdist.linux-riscv64/wheel/./datasets creating build/bdist.linux-riscv64/wheel/datasets/formatting copying build/lib/datasets/formatting/jax_formatter.py -> build/bdist.linux-riscv64/wheel/./datasets/formatting copying build/lib/datasets/formatting/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/formatting copying build/lib/datasets/formatting/tf_formatter.py -> build/bdist.linux-riscv64/wheel/./datasets/formatting copying build/lib/datasets/formatting/np_formatter.py -> build/bdist.linux-riscv64/wheel/./datasets/formatting copying build/lib/datasets/formatting/torch_formatter.py -> build/bdist.linux-riscv64/wheel/./datasets/formatting copying build/lib/datasets/formatting/formatting.py -> build/bdist.linux-riscv64/wheel/./datasets/formatting copying build/lib/datasets/formatting/polars_formatter.py -> build/bdist.linux-riscv64/wheel/./datasets/formatting creating build/bdist.linux-riscv64/wheel/datasets/features copying build/lib/datasets/features/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/features copying build/lib/datasets/features/image.py -> build/bdist.linux-riscv64/wheel/./datasets/features copying build/lib/datasets/features/pdf.py -> build/bdist.linux-riscv64/wheel/./datasets/features copying build/lib/datasets/features/video.py -> build/bdist.linux-riscv64/wheel/./datasets/features copying build/lib/datasets/features/_torchcodec.py -> build/bdist.linux-riscv64/wheel/./datasets/features copying build/lib/datasets/features/audio.py -> build/bdist.linux-riscv64/wheel/./datasets/features copying build/lib/datasets/features/mesh.py -> build/bdist.linux-riscv64/wheel/./datasets/features copying build/lib/datasets/features/nifti.py -> build/bdist.linux-riscv64/wheel/./datasets/features copying build/lib/datasets/features/translation.py -> build/bdist.linux-riscv64/wheel/./datasets/features copying build/lib/datasets/features/features.py -> build/bdist.linux-riscv64/wheel/./datasets/features creating build/bdist.linux-riscv64/wheel/datasets/filesystems copying build/lib/datasets/filesystems/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/filesystems copying build/lib/datasets/filesystems/compression.py -> build/bdist.linux-riscv64/wheel/./datasets/filesystems creating build/bdist.linux-riscv64/wheel/datasets/io copying build/lib/datasets/io/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/io copying build/lib/datasets/io/abc.py -> build/bdist.linux-riscv64/wheel/./datasets/io copying build/lib/datasets/io/parquet.py -> build/bdist.linux-riscv64/wheel/./datasets/io copying build/lib/datasets/io/sql.py -> build/bdist.linux-riscv64/wheel/./datasets/io copying build/lib/datasets/io/csv.py -> build/bdist.linux-riscv64/wheel/./datasets/io copying build/lib/datasets/io/json.py -> build/bdist.linux-riscv64/wheel/./datasets/io copying build/lib/datasets/io/generator.py -> build/bdist.linux-riscv64/wheel/./datasets/io copying build/lib/datasets/io/text.py -> build/bdist.linux-riscv64/wheel/./datasets/io copying build/lib/datasets/io/spark.py -> build/bdist.linux-riscv64/wheel/./datasets/io copying build/lib/datasets/dataset_dict.py -> build/bdist.linux-riscv64/wheel/./datasets creating build/bdist.linux-riscv64/wheel/datasets/utils copying build/lib/datasets/utils/logging.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/_dataset_viewer.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/doc_utils.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/track.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/filelock.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/hub.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/typing.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/info_utils.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/sharding.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/_filelock.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/stratify.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/metadata.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/file_utils.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/extract.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/deprecation_utils.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/_dill.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/tf_utils.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/json.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/tqdm.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/patching.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/version.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/utils/experimental.py -> build/bdist.linux-riscv64/wheel/./datasets/utils creating build/bdist.linux-riscv64/wheel/datasets/utils/resources copying build/lib/datasets/utils/resources/languages.json -> build/bdist.linux-riscv64/wheel/./datasets/utils/resources copying build/lib/datasets/utils/resources/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/utils/resources copying build/lib/datasets/utils/resources/size_categories.json -> build/bdist.linux-riscv64/wheel/./datasets/utils/resources copying build/lib/datasets/utils/resources/multilingualities.json -> build/bdist.linux-riscv64/wheel/./datasets/utils/resources copying build/lib/datasets/utils/resources/creators.json -> build/bdist.linux-riscv64/wheel/./datasets/utils/resources copying build/lib/datasets/utils/resources/readme_structure.yaml -> build/bdist.linux-riscv64/wheel/./datasets/utils/resources copying build/lib/datasets/utils/py_utils.py -> build/bdist.linux-riscv64/wheel/./datasets/utils copying build/lib/datasets/data_files.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/arrow_dataset.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/naming.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/inspect.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/config.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/arrow_writer.py -> build/bdist.linux-riscv64/wheel/./datasets creating build/bdist.linux-riscv64/wheel/datasets/commands copying build/lib/datasets/commands/test.py -> build/bdist.linux-riscv64/wheel/./datasets/commands copying build/lib/datasets/commands/delete_from_hub.py -> build/bdist.linux-riscv64/wheel/./datasets/commands copying build/lib/datasets/commands/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/commands copying build/lib/datasets/commands/datasets_cli.py -> build/bdist.linux-riscv64/wheel/./datasets/commands copying build/lib/datasets/commands/env.py -> build/bdist.linux-riscv64/wheel/./datasets/commands creating build/bdist.linux-riscv64/wheel/datasets/download copying build/lib/datasets/download/download_manager.py -> build/bdist.linux-riscv64/wheel/./datasets/download copying build/lib/datasets/download/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/download copying build/lib/datasets/download/download_config.py -> build/bdist.linux-riscv64/wheel/./datasets/download copying build/lib/datasets/download/streaming_download_manager.py -> build/bdist.linux-riscv64/wheel/./datasets/download copying build/lib/datasets/load.py -> build/bdist.linux-riscv64/wheel/./datasets creating build/bdist.linux-riscv64/wheel/datasets/parallel copying build/lib/datasets/parallel/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/parallel copying build/lib/datasets/parallel/parallel.py -> build/bdist.linux-riscv64/wheel/./datasets/parallel copying build/lib/datasets/iterable_dataset.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/builder.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/table.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/combine.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/splits.py -> build/bdist.linux-riscv64/wheel/./datasets creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/eval copying build/lib/datasets/packaged_modules/eval/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/eval copying build/lib/datasets/packaged_modules/eval/eval.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/eval creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/pdffolder copying build/lib/datasets/packaged_modules/pdffolder/pdffolder.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/pdffolder copying build/lib/datasets/packaged_modules/pdffolder/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/pdffolder creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/text copying build/lib/datasets/packaged_modules/text/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/text copying build/lib/datasets/packaged_modules/text/text.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/text creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/cache copying build/lib/datasets/packaged_modules/cache/cache.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/cache copying build/lib/datasets/packaged_modules/cache/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/cache creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/lance copying build/lib/datasets/packaged_modules/lance/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/lance copying build/lib/datasets/packaged_modules/lance/lance.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/lance copying build/lib/datasets/packaged_modules/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/arrow copying build/lib/datasets/packaged_modules/arrow/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/arrow copying build/lib/datasets/packaged_modules/arrow/arrow.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/arrow creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/sql copying build/lib/datasets/packaged_modules/sql/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/sql copying build/lib/datasets/packaged_modules/sql/sql.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/sql creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/hdf5 copying build/lib/datasets/packaged_modules/hdf5/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/hdf5 copying build/lib/datasets/packaged_modules/hdf5/hdf5.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/hdf5 creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/imagefolder copying build/lib/datasets/packaged_modules/imagefolder/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/imagefolder copying build/lib/datasets/packaged_modules/imagefolder/imagefolder.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/imagefolder creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/csv copying build/lib/datasets/packaged_modules/csv/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/csv copying build/lib/datasets/packaged_modules/csv/csv.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/csv creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/conll copying build/lib/datasets/packaged_modules/conll/conll.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/conll copying build/lib/datasets/packaged_modules/conll/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/conll creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/niftifolder copying build/lib/datasets/packaged_modules/niftifolder/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/niftifolder copying build/lib/datasets/packaged_modules/niftifolder/niftifolder.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/niftifolder creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/audiofolder copying build/lib/datasets/packaged_modules/audiofolder/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/audiofolder copying build/lib/datasets/packaged_modules/audiofolder/audiofolder.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/audiofolder creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/tsfile copying build/lib/datasets/packaged_modules/tsfile/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/tsfile copying build/lib/datasets/packaged_modules/tsfile/tsfile.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/tsfile creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/parquet copying build/lib/datasets/packaged_modules/parquet/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/parquet copying build/lib/datasets/packaged_modules/parquet/parquet.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/parquet creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/generator copying build/lib/datasets/packaged_modules/generator/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/generator copying build/lib/datasets/packaged_modules/generator/generator.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/generator creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/webdataset copying build/lib/datasets/packaged_modules/webdataset/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/webdataset copying build/lib/datasets/packaged_modules/webdataset/webdataset.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/webdataset copying build/lib/datasets/packaged_modules/webdataset/_tenbin.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/webdataset creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/videofolder copying build/lib/datasets/packaged_modules/videofolder/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/videofolder copying build/lib/datasets/packaged_modules/videofolder/videofolder.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/videofolder creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/xml copying build/lib/datasets/packaged_modules/xml/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/xml copying build/lib/datasets/packaged_modules/xml/xml.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/xml creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/pandas copying build/lib/datasets/packaged_modules/pandas/pandas.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/pandas copying build/lib/datasets/packaged_modules/pandas/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/pandas creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/spark copying build/lib/datasets/packaged_modules/spark/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/spark copying build/lib/datasets/packaged_modules/spark/spark.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/spark creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/json copying build/lib/datasets/packaged_modules/json/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/json copying build/lib/datasets/packaged_modules/json/json.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/json creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/iceberg copying build/lib/datasets/packaged_modules/iceberg/iceberg.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/iceberg copying build/lib/datasets/packaged_modules/iceberg/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/iceberg creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/folder_based_builder copying build/lib/datasets/packaged_modules/folder_based_builder/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/folder_based_builder copying build/lib/datasets/packaged_modules/folder_based_builder/folder_based_builder.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/folder_based_builder creating build/bdist.linux-riscv64/wheel/datasets/packaged_modules/meshfolder copying build/lib/datasets/packaged_modules/meshfolder/__init__.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/meshfolder copying build/lib/datasets/packaged_modules/meshfolder/meshfolder.py -> build/bdist.linux-riscv64/wheel/./datasets/packaged_modules/meshfolder copying build/lib/datasets/distributed.py -> build/bdist.linux-riscv64/wheel/./datasets copying build/lib/datasets/info.py -> build/bdist.linux-riscv64/wheel/./datasets running install_egg_info running egg_info writing src/datasets.egg-info/PKG-INFO writing dependency_links to src/datasets.egg-info/dependency_links.txt writing entry points to src/datasets.egg-info/entry_points.txt writing requirements to src/datasets.egg-info/requires.txt writing top-level names to src/datasets.egg-info/top_level.txt reading manifest file 'src/datasets.egg-info/SOURCES.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'src/datasets.egg-info/SOURCES.txt' Copying src/datasets.egg-info to build/bdist.linux-riscv64/wheel/./datasets-5.0.1-py3.14.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/datasets-5.0.1.dist-info/WHEEL creating '/build/python-datasets/src/datasets-5.0.1/dist/.tmp-i4tvsrvk/datasets-5.0.1-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'datasets/__init__.py' adding 'datasets/arrow_dataset.py' adding 'datasets/arrow_reader.py' adding 'datasets/arrow_writer.py' adding 'datasets/builder.py' adding 'datasets/combine.py' adding 'datasets/config.py' adding 'datasets/data_files.py' adding 'datasets/dataset_dict.py' adding 'datasets/distributed.py' adding 'datasets/exceptions.py' adding 'datasets/fingerprint.py' adding 'datasets/hub.py' adding 'datasets/info.py' adding 'datasets/inspect.py' adding 'datasets/iterable_dataset.py' adding 'datasets/load.py' adding 'datasets/naming.py' adding 'datasets/search.py' adding 'datasets/splits.py' adding 'datasets/streaming.py' adding 'datasets/table.py' adding 'datasets/commands/__init__.py' adding 'datasets/commands/datasets_cli.py' adding 'datasets/commands/delete_from_hub.py' adding 'datasets/commands/env.py' adding 'datasets/commands/test.py' adding 'datasets/download/__init__.py' adding 'datasets/download/download_config.py' adding 'datasets/download/download_manager.py' adding 'datasets/download/streaming_download_manager.py' adding 'datasets/features/__init__.py' adding 'datasets/features/_torchcodec.py' adding 'datasets/features/audio.py' adding 'datasets/features/features.py' adding 'datasets/features/image.py' adding 'datasets/features/mesh.py' adding 'datasets/features/nifti.py' adding 'datasets/features/pdf.py' adding 'datasets/features/translation.py' adding 'datasets/features/video.py' adding 'datasets/filesystems/__init__.py' adding 'datasets/filesystems/compression.py' adding 'datasets/formatting/__init__.py' adding 'datasets/formatting/formatting.py' adding 'datasets/formatting/jax_formatter.py' adding 'datasets/formatting/np_formatter.py' adding 'datasets/formatting/polars_formatter.py' adding 'datasets/formatting/tf_formatter.py' adding 'datasets/formatting/torch_formatter.py' adding 'datasets/io/__init__.py' adding 'datasets/io/abc.py' adding 'datasets/io/csv.py' adding 'datasets/io/generator.py' adding 'datasets/io/json.py' adding 'datasets/io/parquet.py' adding 'datasets/io/spark.py' adding 'datasets/io/sql.py' adding 'datasets/io/text.py' adding 'datasets/packaged_modules/__init__.py' adding 'datasets/packaged_modules/arrow/__init__.py' adding 'datasets/packaged_modules/arrow/arrow.py' adding 'datasets/packaged_modules/audiofolder/__init__.py' adding 'datasets/packaged_modules/audiofolder/audiofolder.py' adding 'datasets/packaged_modules/cache/__init__.py' adding 'datasets/packaged_modules/cache/cache.py' adding 'datasets/packaged_modules/conll/__init__.py' adding 'datasets/packaged_modules/conll/conll.py' adding 'datasets/packaged_modules/csv/__init__.py' adding 'datasets/packaged_modules/csv/csv.py' adding 'datasets/packaged_modules/eval/__init__.py' adding 'datasets/packaged_modules/eval/eval.py' adding 'datasets/packaged_modules/folder_based_builder/__init__.py' adding 'datasets/packaged_modules/folder_based_builder/folder_based_builder.py' adding 'datasets/packaged_modules/generator/__init__.py' adding 'datasets/packaged_modules/generator/generator.py' adding 'datasets/packaged_modules/hdf5/__init__.py' adding 'datasets/packaged_modules/hdf5/hdf5.py' adding 'datasets/packaged_modules/iceberg/__init__.py' adding 'datasets/packaged_modules/iceberg/iceberg.py' adding 'datasets/packaged_modules/imagefolder/__init__.py' adding 'datasets/packaged_modules/imagefolder/imagefolder.py' adding 'datasets/packaged_modules/json/__init__.py' adding 'datasets/packaged_modules/json/json.py' adding 'datasets/packaged_modules/lance/__init__.py' adding 'datasets/packaged_modules/lance/lance.py' adding 'datasets/packaged_modules/meshfolder/__init__.py' adding 'datasets/packaged_modules/meshfolder/meshfolder.py' adding 'datasets/packaged_modules/niftifolder/__init__.py' adding 'datasets/packaged_modules/niftifolder/niftifolder.py' adding 'datasets/packaged_modules/pandas/__init__.py' adding 'datasets/packaged_modules/pandas/pandas.py' adding 'datasets/packaged_modules/parquet/__init__.py' adding 'datasets/packaged_modules/parquet/parquet.py' adding 'datasets/packaged_modules/pdffolder/__init__.py' adding 'datasets/packaged_modules/pdffolder/pdffolder.py' adding 'datasets/packaged_modules/spark/__init__.py' adding 'datasets/packaged_modules/spark/spark.py' adding 'datasets/packaged_modules/sql/__init__.py' adding 'datasets/packaged_modules/sql/sql.py' adding 'datasets/packaged_modules/text/__init__.py' adding 'datasets/packaged_modules/text/text.py' adding 'datasets/packaged_modules/tsfile/__init__.py' adding 'datasets/packaged_modules/tsfile/tsfile.py' adding 'datasets/packaged_modules/videofolder/__init__.py' adding 'datasets/packaged_modules/videofolder/videofolder.py' adding 'datasets/packaged_modules/webdataset/__init__.py' adding 'datasets/packaged_modules/webdataset/_tenbin.py' adding 'datasets/packaged_modules/webdataset/webdataset.py' adding 'datasets/packaged_modules/xml/__init__.py' adding 'datasets/packaged_modules/xml/xml.py' adding 'datasets/parallel/__init__.py' adding 'datasets/parallel/parallel.py' adding 'datasets/utils/__init__.py' adding 'datasets/utils/_dataset_viewer.py' adding 'datasets/utils/_dill.py' adding 'datasets/utils/_filelock.py' adding 'datasets/utils/deprecation_utils.py' adding 'datasets/utils/doc_utils.py' adding 'datasets/utils/experimental.py' adding 'datasets/utils/extract.py' adding 'datasets/utils/file_utils.py' adding 'datasets/utils/filelock.py' adding 'datasets/utils/hub.py' adding 'datasets/utils/info_utils.py' adding 'datasets/utils/json.py' adding 'datasets/utils/logging.py' adding 'datasets/utils/metadata.py' adding 'datasets/utils/patching.py' adding 'datasets/utils/py_utils.py' adding 'datasets/utils/sharding.py' adding 'datasets/utils/stratify.py' adding 'datasets/utils/tf_utils.py' adding 'datasets/utils/tqdm.py' adding 'datasets/utils/track.py' adding 'datasets/utils/typing.py' adding 'datasets/utils/version.py' adding 'datasets/utils/resources/__init__.py' adding 'datasets/utils/resources/creators.json' adding 'datasets/utils/resources/languages.json' adding 'datasets/utils/resources/multilingualities.json' adding 'datasets/utils/resources/readme_structure.yaml' adding 'datasets/utils/resources/size_categories.json' adding 'datasets-5.0.1.dist-info/licenses/AUTHORS' adding 'datasets-5.0.1.dist-info/licenses/LICENSE' adding 'datasets-5.0.1.dist-info/METADATA' adding 'datasets-5.0.1.dist-info/WHEEL' adding 'datasets-5.0.1.dist-info/entry_points.txt' adding 'datasets-5.0.1.dist-info/top_level.txt' adding 'datasets-5.0.1.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel WARNING License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! Successfully built datasets-5.0.1-py3-none-any.whl ==>(B Starting check()...(B ============================= test session starts ============================== platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0 -- /build/python-datasets/src/datasets-5.0.1/test-env/bin/python cachedir: .pytest_cache rootdir: /build/python-datasets/src/datasets-5.0.1 configfile: pyproject.toml plugins: anyio-4.15.1, xdist-3.8.0, rerunfailures-16.7, datadir-1.5.0 created: 128/128 workers 128 workers [3085 items] scheduling tests via LoadScheduling tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int16-no_sequence] tests/commands/test_test.py::test_test_command tests/features/test_array_xd.py::ArrayXDTest::test_write_5d tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint64-no_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-bool-no_sequence] tests/features/test_array_xd.py::test_table_to_pandas[float64-1] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint16-no_sequence] tests/features/test_audio.py::test_audio_feature_encode_example[2] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-bool-no_sequence] tests/features/test_audio.py::test_formatted_dataset_with_audio_feature tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature_mp3 tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint64-no_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint16-no_sequence] tests/features/test_audio.py::test_dataset_cast_to_audio_features[5] tests/features/test_features.py::test_encode_nested_example_with_list_types[schema1] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int64-no_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float32-no_sequence] tests/features/test_features.py::FeaturesTest::test_from_arrow_schema_with_sequence tests/features/test_array_xd.py::ArrayXDTest::test_from_dict_3d tests/features/test_array_xd.py::ArrayXDDynamicTest::test_map_dataset tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int64-no_sequence] tests/features/test_audio.py::test_dataset_with_audio_feature_tar_wav [gw35] [ 0%] PASSED tests/features/test_features.py::test_encode_nested_example_with_list_types[schema1] [gw16] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint16-no_sequence] tests/features/test_features.py::FeaturesTest::test_feature_named_self_as_kwarg [gw10] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int16-no_sequence] tests/features/test_features.py::test_encode_example[features_dict3-example3-expected_encoded_example3] tests/features/test_audio.py::test_audio_decode_example_opus [gw23] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float32-no_sequence] tests/features/test_features.py::test_classlabel_cast_storage [gw17] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int64-no_sequence] [gw6] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-bool-no_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int16-no_sequence] [gw44] [ 0%] PASSED tests/features/test_features.py::test_encode_example[features_dict3-example3-expected_encoded_example3] tests/features/test_array_xd.py::test_dataset_map[False] tests/features/test_audio.py::test_dataset_with_audio_feature_map_undecoded [gw13] [ 0%] PASSED tests/features/test_array_xd.py::test_table_to_pandas[float64-1] tests/features/test_audio.py::test_audio_feature_encode_example[8] [gw2] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint16-no_sequence] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features6] [gw4] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-bool-no_sequence] [gw30] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint64-no_sequence] [gw8] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int64-no_sequence] [gw25] [ 0%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features6] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-48000] [gw28] [ 0%] PASSED tests/features/test_features.py::test_classlabel_cast_storage tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_series tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float32-no_sequence] [gw1] [ 0%] PASSED tests/features/test_array_xd.py::ArrayXDDynamicTest::test_map_dataset [gw15] [ 0%] PASSED tests/features/test_features.py::FeaturesTest::test_feature_named_self_as_kwarg [gw24] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint64-no_sequence] [gw5] [ 0%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_from_dict_3d [gw39] [ 0%] PASSED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_series [gw32] [ 0%] PASSED tests/features/test_features.py::FeaturesTest::test_from_arrow_schema_with_sequence tests/features/test_features.py::test_features_to_yaml_list[features9] tests/features/test_features.py::test_features_from_dict_with_list_types[deserialized_features_dict3-expected_features_dict3] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features12] [gw19] [ 0%] PASSED tests/features/test_array_xd.py::test_dataset_map[False] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-bool-sequence] [gw12] [ 0%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_write_5d tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint16-sequence] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features24] [gw50] [ 0%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features24] [gw37] [ 0%] PASSED tests/features/test_features.py::test_features_from_dict_with_list_types[deserialized_features_dict3-expected_features_dict3] tests/features/test_features.py::test_dataset_feature_with_none[feature3] tests/features/test_features.py::test_features_to_yaml_list[features3] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int64-sequence] [gw33] [ 0%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features9] [gw11] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float32-no_sequence] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features0] tests/features/test_array_xd.py::ArrayXDTest::test_from_dict_4d [gw18] [ 0%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features12] tests/features/test_features.py::FeaturesTest::test_feature_named_type tests/features/test_features.py::test_features_to_arrow_schema[features13] [gw17] [ 0%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int64-sequence] tests/features/test_features.py::test_features_to_yaml_list[features15] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint16-sequence] tests/features/test_features.py::test_features_to_arrow_schema[features1] [gw27] [ 0%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features3] [gw57] [ 0%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features13] tests/features/test_features.py::FeaturesTest::test_reorder_fields_as [gw16] [ 1%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint16-sequence] [gw4] [ 1%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-bool-sequence] [gw46] [ 1%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features1] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint64-sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint64-sequence] [gw51] [ 1%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features0] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int16-sequence] tests/features/test_features.py::test_encode_batch_with_example_with_empty_first_elem [gw21] [ 1%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features15] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features18] [gw32] [ 1%] PASSED tests/features/test_features.py::FeaturesTest::test_reorder_fields_as [gw44] [ 1%] PASSED tests/features/test_features.py::test_encode_batch_with_example_with_empty_first_elem [gw49] [ 1%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features18] tests/features/test_array_xd.py::ArrayXDTest::test_write_batch_2d [gw10] [ 1%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int16-sequence] [gw2] [ 1%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint16-sequence] tests/features/test_array_xd.py::test_array_xd_numpy_arrow_extractor[int32-1] tests/features/test_features.py::test_features_alignment[features4] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-bool-sequence] [gw15] [ 1%] PASSED tests/features/test_features.py::FeaturesTest::test_feature_named_type [gw6] [ 1%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-bool-sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int64-sequence] [gw41] [ 1%] PASSED tests/features/test_features.py::test_dataset_feature_with_none[feature3] [gw30] [ 1%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint64-sequence] [gw5] [ 1%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_from_dict_4d tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature2-other_feature2] [gw67] [ 1%] PASSED tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature2-other_feature2] [gw24] [ 1%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint64-sequence] tests/features/test_features.py::test_get_nested_type_with_list_feature[list_with-list_-scalar_feature0-int64] [gw14] [ 1%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int16-no_sequence] tests/features/test_features.py::test_encode_nested_example_sequence_with_none[inner_type0] [gw66] [ 1%] PASSED tests/features/test_features.py::test_features_alignment[features4] tests/features/test_features.py::test_features_to_arrow_schema[features7] tests/features/test_features.py::test_features_flatten_with_list_types[features_dict0-expected_features_dict0] tests/features/test_features.py::test_is_null_feature[feature1-False] [gw35] [ 1%] PASSED tests/features/test_features.py::test_encode_nested_example_sequence_with_none[inner_type0] tests/features/test_features.py::test_features_to_arrow_schema[features19] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int16-sequence] [gw14] [ 1%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int16-sequence] [gw13] [ 1%] PASSED tests/features/test_array_xd.py::test_array_xd_numpy_arrow_extractor[int32-1] tests/features/test_features.py::test_features_to_yaml_list[features21] tests/features/test_features.py::test_features_to_yaml_list[features16] [gw47] [ 1%] PASSED tests/features/test_features.py::test_get_nested_type_with_list_feature[list_with-list_-scalar_feature0-int64] [gw21] [ 1%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features16] tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_primitive_data_type[int32-expected_feature0] [gw55] [ 1%] PASSED tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_primitive_data_type[int32-expected_feature0] tests/features/test_array_xd.py::test_dataset_map[True] [gw29] [ 1%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features7] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features25] [gw50] [ 1%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features25] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float32-sequence] [gw12] [ 1%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_write_batch_2d tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float32-sequence] tests/features/test_features.py::test_features_to_arrow_schema[features25] [gw38] [ 1%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features21] tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_dataframe [gw63] [ 1%] PASSED tests/features/test_features.py::test_is_null_feature[feature1-False] [gw53] [ 1%] PASSED tests/features/test_features.py::test_features_flatten_with_list_types[features_dict0-expected_features_dict0] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint16-sequence_of_sequence] [gw58] [ 2%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features25] [gw8] [ 2%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int64-sequence] tests/features/test_features.py::FeaturesTest::test_features_dicts_are_synced tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_tf tests/features/test_image.py::test_image_feature_encode_example[1] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-bool-sequence_of_sequence] tests/features/test_array_xd.py::ArrayXDDynamicTest::test_to_numpy [gw15] [ 2%] PASSED tests/features/test_features.py::FeaturesTest::test_features_dicts_are_synced tests/features/test_features.py::test_is_null_feature[feature7-False] tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_list_types[schema0] [gw41] [ 2%] PASSED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_dataframe [gw19] [ 2%] PASSED tests/features/test_array_xd.py::test_dataset_map[True] [gw23] [ 2%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float32-sequence] [gw36] [ 2%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features19] tests/features/test_features.py::test_features_from_arrow_schema_list_data_type[list_-int32] tests/features/test_features.py::test_generate_from_dict_with_list_types[deserialized_feature_dict4-expected_feature4] [gw11] [ 2%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float32-sequence] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features7] tests/features/test_features.py::test_class_label_to_and_from_dict[names] tests/features/test_image.py::test_dataset_concatenate_image_features [gw69] [ 2%] PASSED tests/features/test_features.py::test_is_null_feature[feature7-False] tests/features/test_features.py::test_features_from_dict_with_list_types[deserialized_features_dict4-expected_features_dict4] tests/features/test_image.py::test_dataset_with_image_feature_from_pil_image[True] [gw37] [ 2%] PASSED tests/features/test_features.py::test_features_from_dict_with_list_types[deserialized_features_dict4-expected_features_dict4] [gw54] [ 2%] PASSED tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_list_types[schema0] [gw25] [ 2%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features7] [gw42] [ 2%] PASSED tests/features/test_audio.py::test_dataset_with_audio_feature_map_undecoded tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature3-other_feature3] [gw67] [ 2%] PASSED tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature3-other_feature3] [gw28] [ 2%] PASSED tests/features/test_features.py::test_class_label_to_and_from_dict[names] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint16-sequence_of_sequence] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features1] tests/features/test_features.py::test_require_storage_embed_with_non_embeddable_list_types[feature0] [gw1] [ 2%] PASSED tests/features/test_array_xd.py::ArrayXDDynamicTest::test_to_numpy tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features13] [gw18] [ 2%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features13] tests/features/test_image.py::test_dataset_cast_to_image_features[2] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int64-sequence_of_sequence] tests/features/test_features.py::test_require_decoding_with_list_types[feature0] [gw40] [ 2%] PASSED tests/features/test_features.py::test_generate_from_dict_with_list_types[deserialized_feature_dict4-expected_feature4] [gw65] [ 2%] PASSED tests/features/test_features.py::test_features_from_arrow_schema_list_data_type[list_-int32] [gw39] [ 2%] SKIPPED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_tf [gw51] [ 2%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features1] tests/features/test_nifti.py::test_nifti_feature_encode_example[2-test_nifti.nii.gz] [gw2] [ 2%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint16-sequence_of_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint64-sequence_of_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int64-sequence_of_sequence] [gw16] [ 2%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint16-sequence_of_sequence] tests/features/test_features.py::test_features_to_yaml_list[features4] tests/features/test_image.py::test_encode_np_array[array0-exact_match-PNG] [gw27] [ 2%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features4] tests/features/test_features.py::test_features_flatten_with_list_types[features_dict1-expected_features_dict1] tests/features/test_features.py::test_encode_column_dict_with_none tests/features/test_image.py::test_image_feature_encode_example[7] [gw43] [ 2%] PASSED tests/features/test_features.py::test_require_decoding_with_list_types[feature0] tests/features/test_mesh.py::test_mesh_embed_storage tests/features/test_mesh.py::test_mesh_feature_encode_example[3] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int16-sequence_of_sequence] tests/features/test_features.py::test_features_to_arrow_schema[features2] [gw46] [ 2%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features2] [gw68] [ 2%] PASSED tests/features/test_features.py::test_require_storage_embed_with_non_embeddable_list_types[feature0] tests/features/test_image.py::test_encode_np_array[array6-error-None] tests/features/test_image.py::test_load_dataset_with_image_feature[False] [gw4] [ 2%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-bool-sequence_of_sequence] tests/features/test_features.py::test_features_to_arrow_schema[features8] [gw29] [ 2%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features8] [gw53] [ 2%] PASSED tests/features/test_features.py::test_features_flatten_with_list_types[features_dict1-expected_features_dict1] [gw17] [ 2%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int64-sequence_of_sequence] [gw8] [ 3%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int64-sequence_of_sequence] tests/features/test_features.py::test_features_to_arrow_schema[features14] [gw31] [ 3%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[8] tests/features/test_features.py::test_encode_nested_example_sequence_with_none[inner_type1] [gw14] [ 3%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int16-sequence_of_sequence] [gw57] [ 3%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features14] tests/features/test_pdf.py::test_pdf_feature_encode_example[7] [gw34] [ 3%] RERUN tests/features/test_audio.py::test_audio_decode_example_opus tests/features/test_audio.py::test_audio_feature_encode_example[8] [gw35] [ 3%] PASSED tests/features/test_features.py::test_encode_nested_example_sequence_with_none[inner_type1] tests/features/test_features.py::test_features_to_yaml_list[features10] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-bool-sequence_of_sequence] tests/features/test_features.py::test_is_null_feature[feature2-False] tests/features/test_array_xd.py::ArrayXDTest::test_from_dict_5d [gw63] [ 3%] PASSED tests/features/test_features.py::test_is_null_feature[feature2-False] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features26] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint64-sequence_of_sequence] [gw50] [ 3%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features26] tests/features/test_features.py::FeaturesTest::test_string_to_arrow_bijection_for_primitive_types tests/features/test_audio.py::test_audio_instantiation [gw19] [ 3%] PASSED tests/features/test_audio.py::test_audio_instantiation [gw30] [ 3%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint64-sequence_of_sequence] tests/features/test_features.py::test_features_to_yaml_list[features17] tests/features/test_video.py::test_dataset_with_video_feature_map_is_decoded tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features19] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float32-sequence_of_sequence] [gw11] [ 3%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float32-sequence_of_sequence] [gw32] [ 3%] PASSED tests/features/test_features.py::FeaturesTest::test_string_to_arrow_bijection_for_primitive_types tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features8] [gw24] [ 3%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint64-sequence_of_sequence] [gw6] [ 3%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-bool-sequence_of_sequence] [gw77] [ 3%] PASSED tests/features/test_image.py::test_encode_np_array[array6-error-None] tests/features/test_nifti.py::test_nifti_feature_encode_example[5-test_nifti.nii.gz] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float32-sequence_of_sequence] [gw25] [ 3%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features8] tests/features/test_mesh.py::test_dataset_with_mesh_feature tests/features/test_pdf.py::test_pdf_feature_encode_example[1] tests/features/test_array_xd.py::ArrayXDDynamicTest::test_to_pandas tests/features/test_video.py::test_video_feature_encode_example[4] [gw49] [ 3%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features19] tests/features/test_features.py::test_features_to_arrow_schema[features20] tests/features/test_features.py::test_generate_from_dict_with_list_types[deserialized_feature_dict0-expected_feature0] tests/features/test_features.py::test_get_nested_type_with_list_feature[list_with-list_-scalar_feature1-string] [gw26] [ 3%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[2] tests/features/test_audio.py::test_audio_feature_encode_example[2] tests/features/test_nifti.py::test_dataset_with_nifti_feature[test_nifti.nii.gz] [gw36] [ 3%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features20] tests/features/test_features.py::test_features_to_yaml_list_with_large_list[features_dict0-expected_features_yaml_list0] [gw23] [ 3%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float32-sequence_of_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int32-no_sequence] [gw21] [ 3%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features17] [gw47] [ 3%] PASSED tests/features/test_features.py::test_get_nested_type_with_list_feature[list_with-list_-scalar_feature1-string] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint32-no_sequence] [gw44] [ 3%] PASSED tests/features/test_features.py::test_encode_column_dict_with_none tests/io/test_csv.py::test_dataset_from_csv_features[features1] [gw37] [ 3%] PASSED tests/features/test_features.py::test_generate_from_dict_with_list_types[deserialized_feature_dict0-expected_feature0] tests/features/test_array_xd.py::test_array_xd_numpy_arrow_extractor[bool-True] [gw14] [ 3%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int32-no_sequence] [gw33] [ 3%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features10] tests/features/test_features.py::test_features_to_arrow_schema[features26] [gw58] [ 3%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features26] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint32-no_sequence] [gw5] [ 3%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_from_dict_5d [gw79] [ 3%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[2-test_nifti.nii.gz] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint8-no_sequence] tests/features/test_audio.py::test_audio_decode_example_opus tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_primitive_data_type[string-expected_feature1] [gw1] [ 3%] PASSED tests/features/test_array_xd.py::ArrayXDDynamicTest::test_to_pandas tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_list_types[schema1] tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_jax tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int16-sequence_of_sequence] tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_torch [gw41] [ 3%] SKIPPED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_jax [gw8] [ 4%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint8-no_sequence] tests/features/test_features.py::test_class_label_to_and_from_dict[names_file] tests/io/test_csv.py::test_dataset_from_csv_split[train] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features2] [gw51] [ 4%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features2] [gw13] [ 4%] PASSED tests/features/test_array_xd.py::test_array_xd_numpy_arrow_extractor[bool-True] tests/features/test_features.py::test_features_alignment[features5] [gw66] [ 4%] PASSED tests/features/test_features.py::test_features_alignment[features5] tests/features/test_array_xd.py::ArrayXDTest::test_write_batch_3d tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint8-no_sequence] tests/io/test_csv.py::test_csv_datasetdict_reader_features[None] [gw55] [ 4%] PASSED tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_primitive_data_type[string-expected_feature1] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features14] [gw17] [ 4%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint8-no_sequence] [gw40] [ 4%] PASSED tests/features/test_features.py::test_features_to_yaml_list_with_large_list[features_dict0-expected_features_yaml_list0] [gw16] [ 4%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint32-no_sequence] [gw54] [ 4%] PASSED tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_list_types[schema1] [gw81] [ 4%] PASSED tests/features/test_image.py::test_encode_np_array[array0-exact_match-PNG] [gw28] [ 4%] PASSED tests/features/test_features.py::test_class_label_to_and_from_dict[names_file] tests/features/test_features.py::test_features_to_arrow_schema[features21] [gw36] [ 4%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features21] tests/io/test_json.py::test_datasetdict_from_json_splits[split1] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float16-no_sequence] [gw10] [ 4%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int16-sequence_of_sequence] [gw61] [ 4%] SKIPPED tests/features/test_pdf.py::test_pdf_feature_encode_example[7] [gw59] [ 4%] PASSED tests/features/test_image.py::test_image_feature_encode_example[7] [gw2] [ 4%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint32-no_sequence] [gw60] [ 4%] PASSED tests/features/test_mesh.py::test_mesh_embed_storage [gw74] [ 4%] PASSED tests/features/test_image.py::test_dataset_cast_to_image_features[2] [gw18] [ 4%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features14] [gw56] [ 4%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[5-test_nifti.nii.gz] tests/io/test_csv.py::test_csv_datasetdict_reader_split[split1] tests/features/test_features.py::test_get_nested_type_with_list_feature[LargeList-large_list-scalar_feature0-int64] [gw47] [ 4%] PASSED tests/features/test_features.py::test_get_nested_type_with_list_feature[LargeList-large_list-scalar_feature0-int64] [gw62] [ 4%] PASSED tests/features/test_image.py::test_dataset_concatenate_image_features tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float64-no_sequence] tests/features/test_nifti.py::test_nifti_feature_encode_example[3-test_nifti.nii] [gw88] [ 4%] SKIPPED tests/features/test_pdf.py::test_pdf_feature_encode_example[1] tests/io/test_json.py::test_datasetdict_from_json_features[None] [gw24] [ 4%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float16-no_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int8-no_sequence] [gw23] [ 4%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float64-no_sequence] [gw39] [ 4%] PASSED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_torch tests/io/test_json.py::test_dataset_from_json_features[None] tests/features/test_features.py::test_features_to_yaml_list[features22] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint32-sequence] tests/features/test_features.py::test_features_to_arrow_schema[features15] [gw12] [ 4%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_write_batch_3d [gw31] [ 4%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[8] tests/features/test_audio.py::test_audio_feature_encode_example[8] [gw48] [ 4%] PASSED tests/features/test_image.py::test_dataset_with_image_feature_from_pil_image[True] tests/features/test_features.py::test_require_storage_embed_with_non_embeddable_list_types[feature1] [gw57] [ 4%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features15] [gw38] [ 4%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features22] [gw68] [ 4%] PASSED tests/features/test_features.py::test_require_storage_embed_with_non_embeddable_list_types[feature1] tests/features/test_pdf.py::test_dataset_with_pdf_feature tests/features/test_features.py::FeaturesTest::test_flatten [gw6] [ 5%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int8-no_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float64-no_sequence] [gw52] [ 5%] SKIPPED tests/features/test_nifti.py::test_dataset_with_nifti_feature[test_nifti.nii.gz] tests/features/test_image.py::test_encode_np_array[array1-exact_match-TIFF] [gw81] [ 5%] PASSED tests/features/test_image.py::test_encode_np_array[array1-exact_match-TIFF] tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_list_types[schema2] tests/features/test_mesh.py::test_mesh_instantiation [gw45] [ 5%] PASSED tests/features/test_image.py::test_image_feature_encode_example[1] tests/features/test_features.py::test_features_alignment[features0] [gw16] [ 5%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint32-sequence] tests/io/test_csv.py::test_dataset_to_csv_fsspec tests/features/test_array_xd.py::ArrayXDTest::test_write_2d tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features9] tests/features/test_array_xd.py::test_array_xd_numpy_arrow_extractor[float64-1] tests/features/test_features.py::test_features_from_arrow_schema_list_data_type[list_-string] [gw15] [ 5%] PASSED tests/features/test_features.py::FeaturesTest::test_flatten [gw58] [ 5%] PASSED tests/features/test_features.py::test_features_alignment[features0] tests/features/test_features.py::test_encode_example[features_dict0-example0-expected_encoded_example0] [gw35] [ 5%] PASSED tests/features/test_features.py::test_encode_example[features_dict0-example0-expected_encoded_example0] [gw65] [ 5%] PASSED tests/features/test_features.py::test_features_from_arrow_schema_list_data_type[list_-string] [gw11] [ 5%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float64-no_sequence] tests/features/test_features.py::test_features_to_arrow_schema[features22] tests/features/test_image.py::test_image_feature_encode_example[2] tests/features/test_nifti.py::test_nifti_feature_encode_example[0-test_nifti.nii] tests/features/test_features.py::test_features_flatten_with_list_types[features_dict2-expected_features_dict2] tests/features/test_features.py::test_features_alignment[features6] tests/features/test_features.py::test_generate_from_dict_with_list_types[deserialized_feature_dict1-expected_feature1] tests/features/test_features.py::test_features_to_arrow_schema[features3] [gw46] [ 5%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features3] tests/features/test_features.py::test_features_to_yaml_list[features5] [gw5] [ 5%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_write_2d tests/features/test_array_xd.py::ArrayXDDynamicTest::test_to_pylist [gw66] [ 5%] PASSED tests/features/test_features.py::test_features_alignment[features6] tests/features/test_image.py::test_dataset_concatenate_nested_image_features tests/features/test_features.py::test_features_to_yaml_list[features0] [gw50] [ 5%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features0] tests/features/test_features.py::test_require_decoding_with_list_types[feature1] [gw27] [ 5%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features5] [gw77] [ 5%] PASSED tests/features/test_mesh.py::test_mesh_instantiation [gw13] [ 5%] PASSED tests/features/test_array_xd.py::test_array_xd_numpy_arrow_extractor[float64-1] tests/io/test_json.py::test_dataset_from_json_split[train] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[split-dict-keys1-data] tests/features/test_nifti.py::test_nifti_feature_encode_example[6-test_nifti.nii] [gw53] [ 5%] PASSED tests/features/test_features.py::test_features_flatten_with_list_types[features_dict2-expected_features_dict2] tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_nested_data_type[list_-Sequence-int32-expected_scalar_feature0] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int8-no_sequence] [gw3] [ 5%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-48000] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-48000] [gw36] [ 5%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features22] [gw43] [ 5%] PASSED tests/features/test_features.py::test_require_decoding_with_list_types[feature1] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features20] [gw79] [ 5%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[3-test_nifti.nii] tests/features/test_audio.py::test_audio_embed_storage [gw26] [ 5%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[2] tests/features/test_audio.py::test_audio_feature_encode_example[2] [gw1] [ 5%] PASSED tests/features/test_array_xd.py::ArrayXDDynamicTest::test_to_pylist tests/features/test_features.py::test_decode_nested_example_with_list_types[schema0] [gw28] [ 5%] PASSED tests/features/test_features.py::test_decode_nested_example_with_list_types[schema0] [gw54] [ 5%] PASSED tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_list_types[schema2] tests/features/test_features.py::test_features_to_yaml_list[features18] [gw21] [ 5%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features18] tests/features/test_nifti.py::test_encode_nibabel_image tests/features/test_pdf.py::test_pdf_feature_encode_example[2] tests/features/test_image.py::test_dataset_cast_to_image_features[3] tests/features/test_features.py::test_classlabel_init tests/features/test_image.py::test_image_decode_example tests/features/test_image.py::test_dataset_with_image_feature_from_np_array [gw49] [ 5%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features20] tests/features/test_features.py::test_is_null_feature[feature8-False] [gw69] [ 5%] PASSED tests/features/test_features.py::test_is_null_feature[feature8-False] tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_tuple [gw39] [ 5%] PASSED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_tuple [gw61] [ 5%] SKIPPED tests/features/test_pdf.py::test_dataset_with_pdf_feature tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features3] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int32-sequence] tests/features/test_features.py::test_features_to_arrow_schema[features9] [gw29] [ 5%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features9] [gw37] [ 6%] PASSED tests/features/test_features.py::test_generate_from_dict_with_list_types[deserialized_feature_dict1-expected_feature1] [gw51] [ 6%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features3] [gw71] [ 6%] PASSED tests/io/test_csv.py::test_dataset_to_csv_fsspec tests/features/test_features.py::test_is_null_feature[feature3-True] [gw63] [ 6%] PASSED tests/features/test_features.py::test_is_null_feature[feature3-True] tests/features/test_features.py::test_dataset_feature_with_none[feature0] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float16-sequence] [gw55] [ 6%] PASSED tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_nested_data_type[list_-Sequence-int32-expected_scalar_feature0] [gw84] [ 6%] RERUN tests/features/test_video.py::test_video_feature_encode_example[4] tests/features/test_video.py::test_video_feature_encode_example[4] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_preserves_nullable_int[int64-9007199254740993] [gw25] [ 6%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features9] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float16-no_sequence] [gw30] [ 6%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float16-no_sequence] [gw4] [ 6%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int8-no_sequence] tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_list tests/features/test_features.py::test_visit_with_list_types[feature0-expected0] [gw68] [ 6%] PASSED tests/features/test_features.py::test_visit_with_list_types[feature0-expected0] tests/features/test_image.py::test_encode_np_array[array2-downcast->|i4-TIFF] [gw32] [ 6%] PASSED tests/features/test_features.py::test_classlabel_init [gw41] [ 6%] PASSED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_list [gw34] [ 6%] RERUN tests/features/test_audio.py::test_audio_decode_example_opus tests/features/test_audio.py::test_audio_decode_example_opus [gw101] [ 6%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_preserves_nullable_int[int64-9007199254740993] tests/io/test_json.py::test_dataset_from_json_with_unsorted_column_names[features1] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float64-sequence] [gw60] [ 6%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[0-test_nifti.nii] tests/features/test_array_xd.py::ArrayXDTest::test_write_3d [gw24] [ 6%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float16-sequence] tests/features/test_features.py::test_features_from_dict_with_list_types[deserialized_features_dict0-expected_features_dict0] [gw53] [ 6%] PASSED tests/features/test_features.py::test_features_from_dict_with_list_types[deserialized_features_dict0-expected_features_dict0] [gw88] [ 6%] SKIPPED tests/features/test_pdf.py::test_pdf_feature_encode_example[2] [gw34] [ 6%] FAILED tests/features/test_audio.py::test_audio_decode_example_opus [gw52] [ 6%] SKIPPED tests/features/test_nifti.py::test_encode_nibabel_image tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint8-sequence] [gw8] [ 6%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint8-sequence] [gw73] [ 6%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[split-dict-keys1-data] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-True-None-False] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int32-no_sequence] [gw10] [ 6%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int32-no_sequence] [gw62] [ 6%] PASSED tests/features/test_image.py::test_dataset_concatenate_nested_image_features tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features15] tests/io/test_parquet.py::test_dataset_from_parquet_features[features1] [gw56] [ 6%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[6-test_nifti.nii] tests/features/test_features.py::test_features_to_arrow_schema[features16] [gw26] [ 6%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example[2] tests/io/test_parquet.py::test_parquet_datasetdict_reader_split[train] [gw57] [ 6%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features16] [gw31] [ 6%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example[8] [gw42] [ 6%] PASSED tests/features/test_audio.py::test_audio_embed_storage [gw81] [ 6%] PASSED tests/features/test_image.py::test_encode_np_array[array2-downcast->|i4-TIFF] [gw5] [ 6%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_write_3d [gw45] [ 6%] PASSED tests/features/test_image.py::test_image_feature_encode_example[2] [gw86] [ 6%] PASSED tests/io/test_csv.py::test_dataset_from_csv_split[train] tests/features/test_features.py::test_features_to_yaml_list[features19] [gw23] [ 6%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float64-sequence] [gw18] [ 7%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features15] tests/features/test_features.py::test_features_to_yaml_list_with_large_list[features_dict1-expected_features_yaml_list1] [gw87] [ 7%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_features[None] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint32-sequence] [gw2] [ 7%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint32-sequence] [gw21] [ 7%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features19] tests/features/test_array_xd.py::ArrayXDTest::test_write_batch_4d [gw89] [ 7%] PASSED tests/io/test_csv.py::test_dataset_from_csv_features[features1] tests/features/test_features.py::test_features_to_yaml_list[features23] [gw38] [ 7%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features23] tests/io/test_sql.py::test_dataset_from_sql_keep_in_memory[True] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int8-sequence] tests/features/test_features.py::test_is_null_feature[feature9-False] tests/io/test_parquet.py::test_dataset_to_parquet_json_for_empty_struct [gw74] [ 7%] PASSED tests/features/test_image.py::test_dataset_cast_to_image_features[3] tests/features/test_audio.py::test_audio_feature_type_to_arrow [gw14] [ 7%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int32-sequence] tests/features/test_features.py::test_features_to_yaml_list[features1] tests/features/test_features.py::test_features_to_yaml_list[features11] tests/features/test_array_xd.py::test_array_xd_with_none tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-False-None-False] tests/io/test_parquet.py::test_parquet_datasetdict_reader_keep_in_memory[False] [gw84] [ 7%] RERUN tests/features/test_video.py::test_video_feature_encode_example[4] tests/features/test_video.py::test_video_feature_encode_example[4] [gw90] [ 7%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_split[split1] [gw19] [ 7%] PASSED tests/features/test_audio.py::test_audio_feature_type_to_arrow tests/features/test_audio.py::test_audio_decode_example_pcm[16000] tests/features/test_features.py::test_features_alignment[features7] [gw66] [ 7%] PASSED tests/features/test_features.py::test_features_alignment[features7] tests/features/test_features.py::test_get_nested_type_with_list_feature[LargeList-large_list-scalar_feature1-string] [gw50] [ 7%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features1] tests/io/test_parquet.py::test_dataset_from_parquet_split[train] tests/features/test_mesh.py::test_mesh_feature_type_to_arrow tests/features/test_array_xd.py::test_table_to_pandas[int32-1] tests/features/test_video.py::test_video_feature_encode_example[0] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float64-sequence] tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features2-False] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint8-sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float16-sequence] tests/features/test_features.py::test_classlabel_str2int [gw93] [ 7%] PASSED tests/io/test_json.py::test_datasetdict_from_json_splits[split1] [gw64] [ 7%] PASSED tests/io/test_json.py::test_datasetdict_from_json_features[None] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-True-columns1-False] tests/io/test_json.py::test_datasetdict_from_json_splits[train] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int8-sequence] [gw40] [ 7%] PASSED tests/features/test_features.py::test_features_to_yaml_list_with_large_list[features_dict1-expected_features_yaml_list1] tests/io/test_sql.py::test_dataset_to_sql tests/features/test_features.py::test_require_storage_cast_with_list_types[feature0] tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature4-other_feature4] [gw67] [ 7%] PASSED tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature4-other_feature4] tests/features/test_pdf.py::test_pdf_feature_encode_example[3] [gw3] [ 7%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-48000] [gw30] [ 7%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float16-sequence] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-48000] [gw33] [ 7%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features11] tests/io/test_text.py::test_dataset_from_text_keep_in_memory[True] [gw77] [ 7%] PASSED tests/features/test_mesh.py::test_mesh_feature_type_to_arrow [gw11] [ 7%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float64-sequence] [gw48] [ 7%] PASSED tests/features/test_image.py::test_dataset_with_image_feature_from_np_array [gw43] [ 7%] PASSED tests/features/test_features.py::test_require_storage_cast_with_list_types[feature0] [gw47] [ 7%] PASSED tests/features/test_features.py::test_get_nested_type_with_list_feature[LargeList-large_list-scalar_feature1-string] [gw75] [ 7%] PASSED tests/features/test_image.py::test_load_dataset_with_image_feature[False] tests/features/test_image.py::test_image_feature_encode_example[3] [gw32] [ 7%] PASSED tests/features/test_features.py::test_classlabel_str2int tests/features/test_features.py::test_features_from_arrow_schema_list_data_type[large_list-int32] [gw65] [ 7%] PASSED tests/features/test_features.py::test_features_from_arrow_schema_list_data_type[large_list-int32] tests/io/test_text.py::test_dataset_from_text_split[split1] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[table-dict-keys5-data] [gw12] [ 7%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_write_batch_4d tests/features/test_features.py::test_features_to_yaml_list[features6] [gw13] [ 7%] PASSED tests/features/test_array_xd.py::test_array_xd_with_none [gw93] [ 7%] PASSED tests/io/test_json.py::test_datasetdict_from_json_splits[train] [gw6] [ 7%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int8-sequence] tests/features/test_features.py::test_features_to_arrow_schema[features23] tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_nested_list_types[schema0] [gw54] [ 7%] PASSED tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_nested_list_types[schema0] tests/features/test_features.py::test_is_null_feature[feature4-False] tests/features/test_features.py::test_features_to_arrow_schema[features4] tests/features/test_nifti.py::test_nifti_feature_encode_example[3-test_nifti.nii.gz] tests/io/test_csv.py::test_dataset_to_csv_preserves_nullable_int[int64-9007199254740993] tests/features/test_image.py::test_dataset_with_image_feature_map [gw27] [ 8%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features6] [gw85] [ 8%] PASSED tests/io/test_json.py::test_dataset_from_json_features[None] tests/io/test_csv.py::test_csv_datasetdict_reader_features[features1] tests/features/test_features.py::test_get_nested_type_with_list_feature[Sequence-list_-scalar_feature0-int64] [gw63] [ 8%] PASSED tests/features/test_features.py::test_is_null_feature[feature4-False] [gw46] [ 8%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features4] [gw4] [ 8%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int8-sequence] [gw1] [ 8%] PASSED tests/features/test_array_xd.py::test_table_to_pandas[int32-1] tests/features/test_features.py::test_encode_example[features_dict1-example1-expected_encoded_example1] [gw59] [ 8%] PASSED tests/features/test_image.py::test_image_decode_example tests/features/test_image.py::test_image_decode_example_with_exif_orientation_tag [gw17] [ 8%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint8-sequence] tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_nested_data_type[list_-Sequence-string-expected_scalar_feature1] [gw55] [ 8%] PASSED tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_nested_data_type[list_-Sequence-string-expected_scalar_feature1] tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_or_numpy [gw71] [ 8%] PASSED tests/io/test_csv.py::test_dataset_to_csv_preserves_nullable_int[int64-9007199254740993] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_lines_multiproc[False-load_json] tests/features/test_features.py::test_features_to_yaml_list[features24] [gw36] [ 8%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features23] [gw69] [ 8%] PASSED tests/features/test_features.py::test_is_null_feature[feature9-False] [gw44] [ 8%] PASSED tests/features/test_features.py::test_dataset_feature_with_none[feature0] [gw92] [ 8%] PASSED tests/io/test_json.py::test_dataset_from_json_with_unsorted_column_names[features1] tests/features/test_features.py::test_dataset_feature_with_none[feature1] tests/features/test_image.py::test_encode_np_array[array3-error-None] [gw38] [ 8%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features24] tests/features/test_features.py::test_generate_from_dict_with_list_types[deserialized_feature_dict2-expected_feature2] [gw88] [ 8%] SKIPPED tests/features/test_pdf.py::test_pdf_feature_encode_example[3] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features10] [gw25] [ 8%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features10] [gw35] [ 8%] PASSED tests/features/test_features.py::test_encode_example[features_dict1-example1-expected_encoded_example1] [gw39] [ 8%] PASSED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_or_numpy tests/io/test_csv.py::test_dataset_from_csv_split[test] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features16] [gw86] [ 8%] PASSED tests/io/test_csv.py::test_dataset_from_csv_split[test] [gw37] [ 8%] PASSED tests/features/test_features.py::test_generate_from_dict_with_list_types[deserialized_feature_dict2-expected_feature2] tests/io/test_json.py::test_dataset_from_json_features[features1] tests/features/test_features.py::test_features_from_arrow_schema_primitive_data_type[int32] [gw66] [ 8%] PASSED tests/features/test_features.py::test_features_from_arrow_schema_primitive_data_type[int32] tests/features/test_features.py::test_features_to_arrow_schema[features17] tests/features/test_nifti.py::test_nifti_feature_encode_example[0-test_nifti.nii.gz] [gw84] [ 8%] FAILED tests/features/test_video.py::test_video_feature_encode_example[4] tests/features/test_nifti.py::test_embed_storage tests/features/test_features.py::FeaturesTest::test_flatten_with_sequence tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_pandas_timedelta [gw41] [ 8%] PASSED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_pandas_timedelta tests/features/test_array_xd.py::ArrayXDTest::test_write_batch_5d [gw81] [ 8%] PASSED tests/features/test_image.py::test_encode_np_array[array3-error-None] [gw15] [ 8%] PASSED tests/features/test_features.py::FeaturesTest::test_flatten_with_sequence [gw94] [ 8%] PASSED tests/io/test_json.py::test_dataset_from_json_split[train] tests/io/test_csv.py::test_dataset_from_csv_features[features2] tests/features/test_image.py::test_load_dataset_with_image_feature[True] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features4] [gw87] [ 8%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_features[features1] tests/features/test_features.py::test_features_from_yaml_list_with_large_list[features_yaml_list0-expected_features_dict0] [gw85] [ 8%] PASSED tests/io/test_json.py::test_dataset_from_json_features[features1] [gw57] [ 8%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features17] tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_nested_list_types[schema1] tests/features/test_audio.py::test_audio_feature_encode_example[3] [gw40] [ 8%] PASSED tests/features/test_features.py::test_features_from_yaml_list_with_large_list[features_yaml_list0-expected_features_dict0] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_preserves_nullable_int[uint64-9007199254740993] tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature5-other_feature5] tests/features/test_image.py::test_dataset_cast_to_image_features[4] tests/features/test_nifti.py::test_nifti_feature_encode_example[6-test_nifti.nii.gz] [gw22] [ 8%] RERUN tests/features/test_audio.py::test_formatted_dataset_with_audio_feature tests/features/test_audio.py::test_formatted_dataset_with_audio_feature tests/features/test_audio.py::test_audio_feature_encode_example_pcm[0] [gw44] [ 9%] PASSED tests/features/test_features.py::test_dataset_feature_with_none[feature1] [gw34] [ 9%] RERUN tests/features/test_audio.py::test_audio_decode_example_pcm[16000] tests/features/test_audio.py::test_audio_decode_example_pcm[16000] [gw47] [ 9%] PASSED tests/features/test_features.py::test_get_nested_type_with_list_feature[Sequence-list_-scalar_feature0-int64] tests/features/test_features.py::test_visit_with_list_types[feature1-expected1] [gw68] [ 9%] PASSED tests/features/test_features.py::test_visit_with_list_types[feature1-expected1] [gw67] [ 9%] PASSED tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature5-other_feature5] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[index-dict-keys2-None] [gw73] [ 9%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[index-dict-keys2-None] tests/io/test_text.py::test_datasetdict_from_text_keep_in_memory[True] tests/features/test_features.py::test_decode_nested_example_with_list_types[schema1] [gw28] [ 9%] PASSED tests/features/test_features.py::test_decode_nested_example_with_list_types[schema1] tests/features/test_pdf.py::test_pdf_feature_encode_example[4] tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_stereo [gw18] [ 9%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features16] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features21] [gw51] [ 9%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features4] tests/features/test_features.py::test_features_to_arrow_schema[features5] tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_nested_data_type[large_list-LargeList-int32-expected_scalar_feature0] [gw55] [ 9%] PASSED tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_nested_data_type[large_list-LargeList-int32-expected_scalar_feature0] tests/io/test_csv.py::test_csv_datasetdict_reader_split[train] [gw101] [ 9%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_preserves_nullable_int[uint64-9007199254740993] tests/features/test_image.py::test_dataset_with_image_feature_tar_jpg [gw59] [ 9%] PASSED tests/features/test_image.py::test_image_decode_example_with_exif_orientation_tag tests/features/test_features.py::test_features_to_yaml_list[features25] tests/io/test_csv.py::test_dataset_from_csv_path_type[str] [gw89] [ 9%] PASSED tests/io/test_csv.py::test_dataset_from_csv_features[features2] [gw46] [ 9%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features5] [gw12] [ 9%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_write_batch_5d [gw38] [ 9%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features25] [gw26] [ 9%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[3] tests/features/test_audio.py::test_audio_feature_encode_example[3] tests/packaged_modules/test_cache.py::test_cache_single_config [gw56] [ 9%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[6-test_nifti.nii.gz] tests/io/test_json.py::test_dataset_from_json_with_mismatched_features [gw102] [ 9%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-False-None-False] [gw105] [ 9%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_features[features1] tests/features/test_mesh.py::test_mesh_feature_encode_example[0] [gw9] [ 9%] RERUN tests/features/test_audio.py::test_dataset_with_audio_feature_tar_wav tests/features/test_audio.py::test_dataset_with_audio_feature_tar_wav [gw52] [ 9%] SKIPPED tests/features/test_nifti.py::test_embed_storage [gw49] [ 9%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features21] [gw90] [ 9%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_split[train] [gw54] [ 9%] PASSED tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_nested_list_types[schema1] tests/io/test_json.py::test_datasetdict_from_json_features[features1] [gw64] [ 9%] PASSED tests/io/test_json.py::test_datasetdict_from_json_features[features1] [gw92] [ 9%] PASSED tests/io/test_json.py::test_dataset_from_json_with_mismatched_features [gw62] [ 9%] PASSED tests/features/test_image.py::test_dataset_with_image_feature_map tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[None-None] [gw86] [ 9%] PASSED tests/io/test_csv.py::test_dataset_from_csv_path_type[str] tests/features/test_features.py::test_features_alignment[features1] [gw58] [ 9%] PASSED tests/features/test_features.py::test_features_alignment[features1] [gw98] [ 9%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_split[train] [gw3] [ 9%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-48000] [gw45] [ 10%] PASSED tests/features/test_image.py::test_image_feature_encode_example[3] tests/packaged_modules/test_arrow.py::test_config_raises_when_invalid_name tests/features/test_image.py::test_encode_np_array[array4-exact_match-PNG] [gw81] [ 10%] PASSED tests/features/test_image.py::test_encode_np_array[array4-exact_match-PNG] [gw79] [ 10%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[3-test_nifti.nii.gz] tests/features/test_video.py::test_video_feature_encode_example[5] [gw74] [ 10%] PASSED tests/features/test_image.py::test_dataset_cast_to_image_features[4] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[True-None] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[False-None] [gw100] [ 10%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-True-columns1-False] tests/features/test_features.py::test_features_to_arrow_schema[features10] [gw29] [ 10%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features10] tests/packaged_modules/test_cache.py::test_cache [gw113] [ 10%] PASSED tests/packaged_modules/test_arrow.py::test_config_raises_when_invalid_name tests/io/test_json.py::test_dataset_from_json_split[test] tests/packaged_modules/test_csv.py::test_csv_pd_read_csv_kwargs_keeps_new_1_3_0_params_on_pandas_2x[2.0.3] tests/packaged_modules/test_conll.py::test_config_default_column_names [gw88] [ 10%] SKIPPED tests/features/test_pdf.py::test_pdf_feature_encode_example[4] [gw106] [ 10%] PASSED tests/io/test_parquet.py::test_dataset_to_parquet_json_for_empty_struct [gw119] [ 10%] PASSED tests/packaged_modules/test_conll.py::test_config_default_column_names tests/io/test_csv.py::test_csv_datasetdict_reader_features[features2] tests/packaged_modules/test_conll.py::test_generate_tables_conllu_with_comment_prefix tests/features/test_image.py::test_image_instantiation [gw87] [ 10%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_features[features2] tests/features/test_audio.py::test_audio_feature_encode_example[0] tests/io/test_csv.py::test_dataset_from_csv_features[features3] [gw7] [ 10%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[5] tests/packaged_modules/test_folder_based_builder.py::test_config_raises_when_invalid_name tests/features/test_audio.py::test_dataset_cast_to_audio_features[5] tests/io/test_json.py::test_dataset_from_json_features[features2] tests/io/test_text.py::test_datasetdict_from_text_split[split1] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int32-sequence] [gw10] [ 10%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int32-sequence] [gw94] [ 10%] PASSED tests/io/test_json.py::test_dataset_from_json_split[test] tests/features/test_features.py::test_features_from_arrow_schema_list_data_type[large_list-string] [gw107] [ 10%] PASSED tests/packaged_modules/test_csv.py::test_csv_pd_read_csv_kwargs_keeps_new_1_3_0_params_on_pandas_2x[2.0.3] tests/io/test_parquet.py::test_dataset_from_parquet_features[features2] tests/features/test_nifti.py::test_nifti_feature_encode_example[7-test_nifti.nii] [gw89] [ 10%] PASSED tests/io/test_csv.py::test_dataset_from_csv_features[features3] [gw31] [ 10%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_pcm[0] tests/features/test_audio.py::test_audio_feature_encode_example_pcm[0] [gw69] [ 10%] PASSED tests/features/test_image.py::test_image_instantiation [gw65] [ 10%] PASSED tests/features/test_features.py::test_features_from_arrow_schema_list_data_type[large_list-string] tests/io/test_parquet.py::test_dataset_from_parquet_split[test] [gw104] [ 10%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_config_raises_when_invalid_name tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[False-True] [gw75] [ 10%] PASSED tests/features/test_image.py::test_load_dataset_with_image_feature[True] tests/features/test_features.py::test_features_to_yaml_list[features12] tests/io/test_csv.py::test_dataset_to_csv_preserves_nullable_int[uint64-9007199254740993] tests/features/test_features.py::test_features_from_yaml_list_with_large_list[features_yaml_list1-expected_features_dict1] tests/features/test_features.py::test_features_from_dict_with_list_types[deserialized_features_dict1-expected_features_dict1] [gw98] [ 10%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_split[test] [gw53] [ 10%] PASSED tests/features/test_features.py::test_features_from_dict_with_list_types[deserialized_features_dict1-expected_features_dict1] tests/features/test_features.py::test_features_to_yaml_list[features7] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-True-columns1-True] [gw100] [ 10%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-True-columns1-True] tests/packaged_modules/test_folder_based_builder.py::test_streaming_patched [gw48] [ 10%] PASSED tests/features/test_image.py::test_dataset_with_image_feature_tar_jpg [gw26] [ 10%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[3] tests/features/test_audio.py::test_audio_feature_encode_example[3] [gw85] [ 10%] PASSED tests/io/test_json.py::test_dataset_from_json_features[features2] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-16000] [gw111] [ 10%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_split[train] [gw27] [ 10%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features7] tests/packaged_modules/test_audiofolder.py::test_config_raises_when_invalid_data_files[data_files1] [gw115] [ 10%] PASSED tests/packaged_modules/test_audiofolder.py::test_config_raises_when_invalid_data_files[data_files1] tests/features/test_features.py::test_is_null_feature[feature5-False] [gw63] [ 10%] PASSED tests/features/test_features.py::test_is_null_feature[feature5-False] tests/features/test_features.py::test_require_storage_cast_with_list_types[feature1] [gw43] [ 10%] PASSED tests/features/test_features.py::test_require_storage_cast_with_list_types[feature1] [gw33] [ 11%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features12] [gw61] [ 11%] RERUN tests/features/test_video.py::test_video_feature_encode_example[0] tests/features/test_video.py::test_video_feature_encode_example[0] [gw60] [ 11%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[0-test_nifti.nii.gz] tests/features/test_nifti.py::test_nifti_feature_encode_example[1-test_nifti.nii] tests/features/test_nifti.py::test_nifti_feature_encode_example[4-test_nifti.nii] tests/features/test_image.py::test_image_feature_encode_example[4] tests/features/test_image.py::test_formatted_dataset_with_image_feature_map tests/packaged_modules/test_csv.py::test_config_raises_when_invalid_data_files[data_files1] [gw110] [ 11%] PASSED tests/packaged_modules/test_csv.py::test_config_raises_when_invalid_data_files[data_files1] [gw42] [ 11%] RERUN tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_stereo tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[True-False] [gw71] [ 11%] PASSED tests/io/test_csv.py::test_dataset_to_csv_preserves_nullable_int[uint64-9007199254740993] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-False-None-True] [gw102] [ 11%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-False-None-True] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[columns-dict-keys3-tokens] tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_stereo tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-True] [gw34] [ 11%] RERUN tests/features/test_audio.py::test_audio_decode_example_pcm[16000] tests/features/test_audio.py::test_audio_decode_example_pcm[16000] [gw105] [ 11%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_features[features2] [gw40] [ 11%] PASSED tests/features/test_features.py::test_features_from_yaml_list_with_large_list[features_yaml_list1-expected_features_dict1] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[False-False] [gw20] [ 11%] RERUN tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature_mp3 tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature_mp3 [gw108] [ 11%] PASSED tests/io/test_sql.py::test_dataset_to_sql [gw73] [ 11%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[columns-dict-keys3-tokens] [gw84] [ 11%] RERUN tests/features/test_video.py::test_video_feature_encode_example[5] tests/features/test_video.py::test_video_feature_encode_example[5] tests/io/test_parquet.py::test_parquet_datasetdict_reader_split[test] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[None-False] tests/features/test_nifti.py::test_load_zipped_file_locally tests/io/test_csv.py::test_dataset_from_csv_path_type[list] tests/features/test_image.py::test_image_change_mode tests/io/test_json.py::test_dataset_from_json_with_missing_fields [gw56] [ 11%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[7-test_nifti.nii] tests/io/test_json.py::test_datasetdict_from_json_splits[test] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[False-False] tests/features/test_features.py::test_get_nested_type_with_scalar_feature[feature0-int64] tests/features/test_pdf.py::test_pdf_feature_encode_example[5] tests/io/test_json.py::test_dataset_from_json_features[features3] tests/io/test_json.py::test_datasetdict_from_json_features[features2] [gw92] [ 11%] PASSED tests/io/test_json.py::test_dataset_from_json_with_missing_fields tests/io/test_csv.py::test_dataset_from_csv_features[features4] tests/io/test_parquet.py::test_get_arrow_writer_batch_size_from_features[feature0-None] tests/features/test_image.py::test_dataset_with_image_feature_undecoded tests/features/test_image.py::test_dataset_cast_to_image_features[5] [gw106] [ 11%] PASSED tests/io/test_parquet.py::test_get_arrow_writer_batch_size_from_features[feature0-None] [gw111] [ 11%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_split[test] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features22] tests/io/test_csv.py::test_dataset_to_csv_preserves_nullable_int[int32-2147483647] [gw93] [ 11%] PASSED tests/io/test_json.py::test_datasetdict_from_json_splits[test] [gw49] [ 11%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features22] tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature0-other_feature0] tests/packaged_modules/test_conll.py::test_generate_tables_conll2003_with_full_schema tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_preserves_nullable_int[int32-2147483647] tests/features/test_features.py::test_visit_with_list_types[feature2-expected2] [gw68] [ 11%] PASSED tests/features/test_features.py::test_visit_with_list_types[feature2-expected2] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_archives[True] [gw65] [ 11%] PASSED tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature0-other_feature0] [gw101] [ 11%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_preserves_nullable_int[int32-2147483647] [gw89] [ 11%] PASSED tests/io/test_csv.py::test_dataset_from_csv_features[features4] [gw85] [ 11%] PASSED tests/io/test_json.py::test_dataset_from_json_features[features3] tests/io/test_parquet.py::test_dataset_from_parquet_features[features3] tests/features/test_features.py::test_features_to_arrow_schema[features11] [gw71] [ 11%] PASSED tests/io/test_csv.py::test_dataset_to_csv_preserves_nullable_int[int32-2147483647] [gw64] [ 11%] PASSED tests/io/test_json.py::test_datasetdict_from_json_features[features2] tests/io/test_json.py::test_dataset_from_json_path_type[str] tests/packaged_modules/test_csv.py::test_csv_pd_read_csv_kwargs_keeps_new_1_3_0_params_on_pandas_2x[2.1.4] [gw107] [ 11%] PASSED tests/packaged_modules/test_csv.py::test_csv_pd_read_csv_kwargs_keeps_new_1_3_0_params_on_pandas_2x[2.1.4] [gw67] [ 11%] PASSED tests/features/test_features.py::test_get_nested_type_with_scalar_feature[feature0-int64] [gw31] [ 11%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_pcm[0] tests/features/test_nifti.py::test_nifti_feature_encode_example[7-test_nifti.nii.gz] tests/features/test_audio.py::test_audio_feature_encode_example_pcm[0] tests/packaged_modules/test_arrow.py::test_config_raises_when_invalid_data_files[str_path] tests/io/test_parquet.py::test_dataset_from_parquet_path_type[str] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-False-None-False] tests/features/test_features.py::test_features_to_yaml_list[features13] tests/io/test_json.py::test_dataset_from_json_with_mixed_types [gw113] [ 11%] PASSED tests/packaged_modules/test_arrow.py::test_config_raises_when_invalid_data_files[str_path] [gw33] [ 11%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features13] [gw59] [ 11%] PASSED tests/features/test_image.py::test_image_change_mode [gw29] [ 12%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features11] [gw96] [ 12%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_keep_in_memory[False] [gw94] [ 12%] PASSED tests/io/test_json.py::test_dataset_from_json_path_type[str] [gw98] [ 12%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_path_type[str] [gw79] [ 12%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[4-test_nifti.nii] tests/features/test_image.py::test_dataset_with_image_feature_with_none tests/features/test_features.py::test_require_storage_embed_with_list_types[feature0] [gw100] [ 12%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-False-None-False] [gw86] [ 12%] PASSED tests/io/test_csv.py::test_dataset_from_csv_path_type[list] [gw48] [ 12%] PASSED tests/features/test_image.py::test_dataset_with_image_feature_with_none [gw70] [ 12%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-True-None-False] [gw92] [ 12%] PASSED tests/io/test_json.py::test_dataset_from_json_with_mixed_types tests/packaged_modules/test_csv.py::test_config_raises_when_invalid_data_files[data_files2] [gw88] [ 12%] SKIPPED tests/features/test_pdf.py::test_pdf_feature_encode_example[5] tests/io/test_csv.py::test_csv_datasetdict_reader_features[features3] [gw52] [ 12%] SKIPPED tests/features/test_nifti.py::test_load_zipped_file_locally [gw112] [ 12%] PASSED tests/io/test_sql.py::test_dataset_from_sql_keep_in_memory[True] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-True-None-True] [gw84] [ 12%] RERUN tests/features/test_video.py::test_video_feature_encode_example[5] tests/features/test_video.py::test_video_feature_encode_example[5] [gw75] [ 12%] PASSED tests/features/test_image.py::test_dataset_with_image_feature_undecoded [gw34] [ 12%] FAILED tests/features/test_audio.py::test_audio_decode_example_pcm[16000] [gw43] [ 12%] PASSED tests/features/test_features.py::test_require_storage_embed_with_list_types[feature0] [gw74] [ 12%] PASSED tests/features/test_image.py::test_dataset_cast_to_image_features[5] tests/features/test_features.py::test_features_alignment[features2] [gw109] [ 12%] PASSED tests/io/test_text.py::test_dataset_from_text_keep_in_memory[True] [gw58] [ 12%] PASSED tests/features/test_features.py::test_features_alignment[features2] [gw26] [ 12%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example[3] tests/features/test_nifti.py::test_nifti_feature_encode_example[4-test_nifti.nii.gz] tests/features/test_image.py::test_dataset_with_image_feature [gw19] [ 12%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[0] tests/features/test_audio.py::test_audio_feature_encode_example[0] tests/io/test_parquet.py::test_parquet_datasetdict_reader_keep_in_memory[True] [gw110] [ 12%] PASSED tests/packaged_modules/test_csv.py::test_config_raises_when_invalid_data_files[data_files2] tests/packaged_modules/test_csv.py::test_csv_generate_tables_raises_error_with_malformed_csv [gw45] [ 12%] PASSED tests/features/test_image.py::test_image_feature_encode_example[4] [gw105] [ 12%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_features[features3] tests/io/test_parquet.py::test_get_arrow_writer_batch_size_from_features[feature1-100] [gw76] [ 12%] PASSED tests/io/test_text.py::test_dataset_from_text_split[split1] tests/io/test_json.py::test_datasetdict_from_json_features[features3] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-False-columns1-False] tests/packaged_modules/test_audiofolder.py::test_config_raises_when_invalid_data_files[data_files2] tests/features/test_audio.py::test_audio_decode_example_pcm[48000] [gw106] [ 12%] PASSED tests/io/test_parquet.py::test_get_arrow_writer_batch_size_from_features[feature1-100] [gw87] [ 12%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_features[features3] tests/io/test_json.py::test_dataset_from_json_keep_in_memory[False] tests/io/test_parquet.py::test_dataset_from_parquet_keep_in_memory[False] [gw115] [ 12%] PASSED tests/packaged_modules/test_audiofolder.py::test_config_raises_when_invalid_data_files[data_files2] tests/io/test_sql.py::test_dataset_to_sql_multiproc [gw42] [ 12%] RERUN tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_stereo tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_stereo [gw64] [ 12%] PASSED tests/io/test_json.py::test_datasetdict_from_json_features[features3] tests/io/test_csv.py::test_csv_datasetdict_reader_keep_in_memory[False] tests/io/test_csv.py::test_csv_datasetdict_reader_features[features4] tests/features/test_image.py::test_image_feature_type_to_arrow [gw56] [ 12%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[7-test_nifti.nii.gz] tests/packaged_modules/test_arrow.py::test_config_raises_when_invalid_data_files[data_files1] [gw102] [ 12%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-False-columns1-False] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_lines[True-load_json_lines] tests/io/test_sql.py::test_dataset_from_sql_features[None] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[values-list-None-None] tests/features/test_image.py::test_dataset_cast_to_image_features[6] tests/io/test_parquet.py::test_dataset_from_parquet_path_type[list] tests/io/test_json.py::test_dataset_from_json_features[features4] tests/io/test_parquet.py::test_parquet_write [gw79] [ 12%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[4-test_nifti.nii.gz] [gw114] [ 12%] PASSED tests/io/test_text.py::test_datasetdict_from_text_split[split1] [gw61] [ 12%] RERUN tests/features/test_video.py::test_video_feature_encode_example[0] tests/features/test_video.py::test_video_feature_encode_example[0] tests/io/test_json.py::test_dataset_from_json_path_type[list] [gw113] [ 13%] PASSED tests/packaged_modules/test_arrow.py::test_config_raises_when_invalid_data_files[data_files1] [gw98] [ 13%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_path_type[list] tests/packaged_modules/test_csv.py::test_csv_pd_read_csv_kwargs_keeps_new_1_3_0_params_on_pandas_2x[2.2.3] tests/io/test_csv.py::test_dataset_from_csv_split[None] tests/io/test_csv.py::test_csv_datasetdict_reader_split[test] tests/io/test_text.py::test_dataset_from_text_split[train] [gw121] [ 13%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[None-None] tests/io/test_parquet.py::test_get_arrow_writer_batch_size_from_features[feature2-100] [gw60] [ 13%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[1-test_nifti.nii] [gw70] [ 13%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-True-None-True] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-False-columns1-True] [gw85] [ 13%] PASSED tests/io/test_json.py::test_dataset_from_json_features[features4] [gw117] [ 13%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_streaming_patched tests/packaged_modules/test_folder_based_builder.py::test_config_raises_when_invalid_data_files[str_path] [gw102] [ 13%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-False-columns1-True] [gw93] [ 13%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_lines[True-load_json_lines] [gw69] [ 13%] PASSED tests/features/test_image.py::test_image_feature_type_to_arrow [gw106] [ 13%] PASSED tests/io/test_parquet.py::test_get_arrow_writer_batch_size_from_features[feature2-100] [gw104] [ 13%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_config_raises_when_invalid_data_files[str_path] [gw123] [ 13%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[True-None] [gw94] [ 13%] PASSED tests/io/test_json.py::test_dataset_from_json_path_type[list] [gw87] [ 13%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_features[features4] [gw90] [ 13%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_split[test] [gw31] [ 13%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example_pcm[0] tests/features/test_image.py::test_formatted_dataset_with_image_feature_undecoded tests/features/test_image.py::test_image_feature_encode_example[5] [gw89] [ 13%] PASSED tests/io/test_csv.py::test_dataset_from_csv_split[None] [gw111] [ 13%] PASSED tests/io/test_parquet.py::test_parquet_write tests/features/test_nifti.py::test_nifti_lazy_loading [gw120] [ 13%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[True-False] [gw76] [ 13%] PASSED tests/io/test_text.py::test_dataset_from_text_split[train] [gw3] [ 13%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-16000] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-16000] [gw22] [ 13%] RERUN tests/features/test_audio.py::test_formatted_dataset_with_audio_feature tests/features/test_audio.py::test_formatted_dataset_with_audio_feature tests/io/test_parquet.py::test_dataset_to_parquet_fsspec [gw73] [ 13%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[values-list-None-None] tests/features/test_audio.py::test_audio_feature_encode_example_pcm[1] [gw59] [ 13%] PASSED tests/features/test_image.py::test_dataset_with_image_feature [gw107] [ 13%] PASSED tests/packaged_modules/test_csv.py::test_csv_pd_read_csv_kwargs_keeps_new_1_3_0_params_on_pandas_2x[2.2.3] [gw112] [ 13%] PASSED tests/io/test_sql.py::test_dataset_from_sql_features[None] tests/io/test_json.py::test_datasetdict_from_json_features[features4] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[None-True] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-False-None-True] tests/io/test_text.py::test_dataset_from_text_features[None] [gw106] [ 13%] PASSED tests/io/test_parquet.py::test_dataset_to_parquet_fsspec [gw72] [ 13%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features2-False] [gw84] [ 13%] FAILED tests/features/test_video.py::test_video_feature_encode_example[5] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-True-columns1-False] tests/io/test_parquet.py::test_dataset_from_parquet_features[features4] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[True-True] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[False-None] [gw64] [ 13%] PASSED tests/io/test_json.py::test_datasetdict_from_json_features[features4] tests/io/test_text.py::test_datasetdict_from_text_split[train] tests/features/test_audio.py::test_audio_feature_encode_example[4] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[table-dict-keys5-data] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-True-None-False] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_lines[False-load_json] [gw74] [ 13%] PASSED tests/features/test_image.py::test_dataset_cast_to_image_features[6] [gw119] [ 13%] PASSED tests/packaged_modules/test_conll.py::test_generate_tables_conll2003_with_full_schema [gw42] [ 13%] FAILED tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_stereo [gw109] [ 14%] PASSED tests/io/test_text.py::test_dataset_from_text_features[None] tests/features/test_image.py::test_dataset_cast_to_image_features[0] [gw114] [ 14%] PASSED tests/io/test_text.py::test_datasetdict_from_text_split[train] tests/io/test_parquet.py::test_parquet_write_uses_content_defined_chunking [gw100] [ 14%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-False-None-True] [gw93] [ 14%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_lines[False-load_json] tests/packaged_modules/test_audiofolder.py::test_generate_examples_with_labels [gw121] [ 14%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[None-True] [gw19] [ 14%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[0] tests/features/test_audio.py::test_audio_feature_encode_example[0] tests/io/test_csv.py::test_dataset_to_csv [gw111] [ 14%] PASSED tests/io/test_parquet.py::test_parquet_write_uses_content_defined_chunking tests/io/test_json.py::test_datasetdict_from_json_keep_in_memory[False] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[None-None] [gw102] [ 14%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-True-None-False] tests/io/test_text.py::test_dataset_from_text_split[test] [gw105] [ 14%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_features[features4] tests/io/test_json.py::test_dataset_from_json_split[None] tests/packaged_modules/test_arrow.py::test_config_raises_when_invalid_data_files[data_files2] tests/io/test_parquet.py::test_parquet_read_geoparquet [gw113] [ 14%] PASSED tests/packaged_modules/test_arrow.py::test_config_raises_when_invalid_data_files[data_files2] tests/features/test_video.py::test_video_feature_encode_example[6] [gw34] [ 14%] RERUN tests/features/test_audio.py::test_audio_decode_example_pcm[48000] tests/features/test_audio.py::test_audio_decode_example_pcm[48000] tests/io/test_text.py::test_dataset_from_text_features[features1] [gw73] [ 14%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[table-dict-keys5-data] [gw75] [ 14%] PASSED tests/features/test_image.py::test_formatted_dataset_with_image_feature_undecoded tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[None-False] tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features2-True] tests/io/test_sql.py::test_dataset_from_sql_features[features1] [gw92] [ 14%] PASSED tests/io/test_json.py::test_dataset_from_json_split[None] [gw90] [ 14%] PASSED tests/io/test_csv.py::test_dataset_to_csv tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-False-columns1-False] [gw76] [ 14%] PASSED tests/io/test_text.py::test_dataset_from_text_split[test] [gw70] [ 14%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-True-columns1-False] tests/packaged_modules/test_conll.py::test_generate_tables_skips_docstart_by_default tests/features/test_image.py::test_dataset_with_image_feature_map_undecoded [gw109] [ 14%] PASSED tests/io/test_text.py::test_dataset_from_text_features[features1] tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_mono [gw112] [ 14%] PASSED tests/io/test_sql.py::test_dataset_from_sql_features[features1] [gw121] [ 14%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[None-False] [gw119] [ 14%] PASSED tests/packaged_modules/test_conll.py::test_generate_tables_skips_docstart_by_default tests/packaged_modules/test_audiofolder.py::test_config_raises_when_invalid_name tests/packaged_modules/test_csv.py::test_csv_pd_read_csv_kwargs_drops_new_1_3_0_params_below_pandas_1_3[1.1.5] [gw100] [ 14%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-False-columns1-False] tests/features/test_nifti.py::test_nifti_feature_encode_example[1-test_nifti.nii.gz] [gw113] [ 14%] PASSED tests/packaged_modules/test_audiofolder.py::test_config_raises_when_invalid_name tests/io/test_text.py::test_dataset_from_text_path_type[str] tests/io/test_parquet.py::test_dataset_from_parquet_split[None] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[True-None] [gw123] [ 14%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[True-True] [gw120] [ 14%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[False-None] [gw52] [ 14%] SKIPPED tests/features/test_nifti.py::test_nifti_lazy_loading tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-True-columns1-True] [gw107] [ 14%] PASSED tests/packaged_modules/test_csv.py::test_csv_pd_read_csv_kwargs_drops_new_1_3_0_params_below_pandas_1_3[1.1.5] [gw72] [ 14%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features2-True] tests/io/test_text.py::test_datasetdict_from_text_split[test] tests/io/test_csv.py::test_dataset_to_csv_multiproc tests/io/test_sql.py::test_dataset_from_sql_features[features2] tests/io/test_text.py::test_dataset_from_text_features[features2] tests/packaged_modules/test_folder_based_builder.py::test_config_raises_when_invalid_data_files[data_files1] [gw104] [ 14%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_config_raises_when_invalid_data_files[data_files1] [gw110] [ 14%] PASSED tests/packaged_modules/test_csv.py::test_csv_generate_tables_raises_error_with_malformed_csv [gw114] [ 14%] PASSED tests/io/test_text.py::test_datasetdict_from_text_split[test] [gw99] [ 14%] PASSED tests/packaged_modules/test_conll.py::test_generate_tables_conllu_with_comment_prefix tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features3-False] [gw109] [ 15%] PASSED tests/io/test_text.py::test_dataset_from_text_features[features2] [gw45] [ 15%] PASSED tests/features/test_image.py::test_image_feature_encode_example[5] [gw112] [ 15%] PASSED tests/io/test_sql.py::test_dataset_from_sql_features[features2] [gw96] [ 15%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_keep_in_memory[True] [gw121] [ 15%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[True-None] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[False-True] tests/packaged_modules/test_csv.py::test_csv_pd_read_csv_kwargs_drops_new_1_3_0_params_below_pandas_1_3[1.2.5] [gw117] [ 15%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[None-None] [gw76] [ 15%] PASSED tests/io/test_text.py::test_dataset_from_text_path_type[str] [gw48] [ 15%] PASSED tests/features/test_image.py::test_dataset_cast_to_image_features[0] tests/io/test_parquet.py::test_parquet_writer_persist_cdc_options_as_metadata tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[True-False] [gw70] [ 15%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-True-columns1-True] [gw107] [ 15%] PASSED tests/packaged_modules/test_csv.py::test_csv_pd_read_csv_kwargs_drops_new_1_3_0_params_below_pandas_1_3[1.2.5] [gw82] [ 15%] RERUN tests/features/test_video.py::test_dataset_with_video_feature_map_is_decoded tests/io/test_text.py::test_dataset_from_text_path_type[list] [gw26] [ 15%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[4] [gw19] [ 15%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example[0] tests/features/test_video.py::test_dataset_with_video_feature_map_is_decoded [gw111] [ 15%] PASSED tests/io/test_parquet.py::test_parquet_writer_persist_cdc_options_as_metadata tests/features/test_audio.py::test_audio_feature_encode_example[4] [gw105] [ 15%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_split[None] tests/packaged_modules/test_conll.py::test_generate_tables_keeps_docstart_when_disabled [gw31] [ 15%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_pcm[1] tests/features/test_audio.py::test_audio_feature_encode_example_pcm[1] [gw61] [ 15%] FAILED tests/features/test_video.py::test_video_feature_encode_example[0] [gw119] [ 15%] PASSED tests/packaged_modules/test_conll.py::test_generate_tables_keeps_docstart_when_disabled [gw84] [ 15%] RERUN tests/features/test_video.py::test_video_feature_encode_example[6] tests/features/test_video.py::test_video_feature_encode_example[6] tests/packaged_modules/test_conll.py::test_generate_tables_pads_rows_with_fewer_columns [gw75] [ 15%] PASSED tests/features/test_image.py::test_dataset_with_image_feature_map_undecoded tests/packaged_modules/test_csv.py::test_csv_cast_image [gw110] [ 15%] PASSED tests/packaged_modules/test_csv.py::test_csv_cast_image tests/io/test_parquet.py::test_parquet_datasetdict_reader_split[None] [gw91] [ 15%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[False-None] tests/packaged_modules/test_arrow.py::test_arrow_generate_tables[arrow_file_streaming_format-config_kwargs0] [gw72] [ 15%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features3-False] [gw99] [ 15%] PASSED tests/packaged_modules/test_conll.py::test_generate_tables_pads_rows_with_fewer_columns tests/io/test_sql.py::test_dataset_from_sql_features[features3] [gw114] [ 15%] PASSED tests/packaged_modules/test_arrow.py::test_arrow_generate_tables[arrow_file_streaming_format-config_kwargs0] [gw76] [ 15%] PASSED tests/io/test_text.py::test_dataset_from_text_path_type[list] [gw34] [ 15%] RERUN tests/features/test_audio.py::test_audio_decode_example_pcm[48000] [gw86] [ 15%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_keep_in_memory[False] [gw120] [ 15%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[False-True] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[False-True] tests/features/test_audio.py::test_audio_decode_example_pcm[48000] [gw60] [ 15%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[1-test_nifti.nii.gz] tests/io/test_text.py::test_dataset_from_text_features[features3] tests/packaged_modules/test_conll.py::test_generate_tables_flushes_tail_sentence_without_trailing_blank tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features3-True] tests/features/test_video.py::test_video_feature_encode_example[1] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[True-True] tests/packaged_modules/test_folder_based_builder.py::test_config_raises_when_invalid_data_files[data_files2] [gw0] [ 15%] PASSED tests/commands/test_test.py::test_test_command tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[None-False] [gw123] [ 15%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[True-False] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[None-True] [gw104] [ 15%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_config_raises_when_invalid_data_files[data_files2] [gw119] [ 15%] PASSED tests/packaged_modules/test_conll.py::test_generate_tables_flushes_tail_sentence_without_trailing_blank tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[False-False] [gw109] [ 16%] PASSED tests/io/test_text.py::test_dataset_from_text_features[features3] [gw112] [ 16%] PASSED tests/io/test_sql.py::test_dataset_from_sql_features[features3] [gw3] [ 16%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-16000] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-16000] [gw96] [ 16%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[None-False] tests/packaged_modules/test_csv.py::test_csv_cast_label [gw121] [ 16%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[True-True] [gw110] [ 16%] PASSED tests/packaged_modules/test_csv.py::test_csv_cast_label tests/packaged_modules/test_arrow.py::test_arrow_generate_tables[arrow_file_file_format-config_kwargs1] [gw91] [ 16%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[False-True] [gw114] [ 16%] PASSED tests/packaged_modules/test_arrow.py::test_arrow_generate_tables[arrow_file_file_format-config_kwargs1] [gw42] [ 16%] RERUN tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_mono tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_mono [gw94] [ 16%] PASSED tests/io/test_json.py::test_datasetdict_from_json_keep_in_memory[False] tests/features/test_array_xd.py::ExtensionTypeCompatibilityTest::test_array2d_nonspecific_shape [gw116] [ 16%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[None-False] [gw72] [ 16%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features3-True] tests/packaged_modules/test_conll.py::test_generate_tables_truncates_rows_with_extra_columns [gw26] [ 16%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[4] tests/features/test_audio.py::test_audio_feature_encode_example[4] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[False-False] [gw70] [ 16%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_split[None] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[False-None] [gw99] [ 16%] PASSED tests/packaged_modules/test_conll.py::test_generate_tables_truncates_rows_with_extra_columns tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint32-sequence_of_sequence] [gw95] [ 16%] PASSED tests/packaged_modules/test_cache.py::test_cache tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features4-False] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[True-None] tests/packaged_modules/test_folder_based_builder.py::test_inferring_labels_from_data_dirs tests/packaged_modules/test_conll.py::test_generate_tables_empty_column_names_raises tests/packaged_modules/test_cache.py::test_cache_streaming tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[None-True] [gw127] [ 16%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_archives[True] [gw99] [ 16%] PASSED tests/packaged_modules/test_conll.py::test_generate_tables_empty_column_names_raises [gw91] [ 16%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[False-False] [gw120] [ 16%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[False-False] [gw16] [ 16%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint32-sequence_of_sequence] [gw84] [ 16%] RERUN tests/features/test_video.py::test_video_feature_encode_example[6] tests/features/test_video.py::test_video_feature_encode_example[6] [gw117] [ 16%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[None-True] tests/packaged_modules/test_csv.py::test_config_raises_when_invalid_name tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_wrong_metadata_file_name tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[False] [gw72] [ 16%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features4-False] [gw96] [ 16%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[None-True] [gw126] [ 16%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[False-False] [gw99] [ 16%] PASSED tests/packaged_modules/test_csv.py::test_config_raises_when_invalid_name [gw78] [ 16%] PASSED tests/io/test_text.py::test_datasetdict_from_text_keep_in_memory[True] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_path_traversal_is_rejected[subdir/../../../../outside/secret.txt] [gw9] [ 16%] RERUN tests/features/test_audio.py::test_dataset_with_audio_feature_tar_wav tests/features/test_audio.py::test_dataset_with_audio_feature_tar_wav tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[None-None] [gw31] [ 16%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_pcm[1] tests/features/test_audio.py::test_audio_feature_encode_example_pcm[1] tests/io/test_text.py::test_datasetdict_from_text_features[None] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[None-False] [gw34] [ 16%] FAILED tests/features/test_audio.py::test_audio_decode_example_pcm[48000] [gw118] [ 16%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[False-False] tests/features/test_audio.py::test_audio_resampling_mp3_different_sampling_rates tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features1-False] [gw120] [ 16%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[None-None] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[None-False] [gw116] [ 16%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[True-None] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint8-sequence_of_sequence] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[None-True] [gw123] [ 16%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[False-None] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float16-sequence_of_sequence] [gw0] [ 16%] PASSED tests/features/test_array_xd.py::ExtensionTypeCompatibilityTest::test_array2d_nonspecific_shape tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[False-True] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float64-sequence_of_sequence] tests/features/test_array_xd.py::ArrayXDTest::test_write_4d [gw101] [ 16%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_keep_in_memory[False] [gw96] [ 17%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features1-False] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[True-True] [gw78] [ 17%] PASSED tests/io/test_text.py::test_datasetdict_from_text_features[None] tests/features/test_features.py::test_features_to_yaml_list[features20] tests/io/test_text.py::test_datasetdict_from_text_features[features1] [gw8] [ 17%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint8-sequence_of_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int32-sequence_of_sequence] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint32-sequence_of_sequence] [gw21] [ 17%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features20] [gw23] [ 17%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float64-sequence_of_sequence] tests/features/test_array_xd.py::ExtensionTypeCompatibilityTest::test_compatability_with_string_values tests/packaged_modules/test_hdf5.py::test_hdf5_multi_dimensional_arrays [gw7] [ 17%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[5] tests/features/test_audio.py::test_dataset_cast_to_audio_features[5] tests/io/test_parquet.py::test_dataset_from_parquet_keep_in_memory[True] tests/features/test_features.py::test_features_to_yaml_list[features2] [gw116] [ 17%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[True-True] tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[None-None] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float16-sequence_of_sequence] tests/packaged_modules/test_hdf5.py::test_hdf5_no_data_files_error [gw26] [ 17%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example[4] [gw5] [ 17%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_write_4d [gw61] [ 17%] RERUN tests/features/test_video.py::test_video_feature_encode_example[1] [gw2] [ 17%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-uint32-sequence_of_sequence] [gw24] [ 17%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-float16-sequence_of_sequence] [gw50] [ 17%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features2] tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float64-sequence_of_sequence] [gw14] [ 17%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int32-sequence_of_sequence] [gw78] [ 17%] PASSED tests/io/test_text.py::test_datasetdict_from_text_features[features1] [gw95] [ 17%] PASSED tests/packaged_modules/test_cache.py::test_cache_streaming tests/features/test_video.py::test_video_feature_encode_example[1] tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[True-False] [gw30] [ 17%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float16-sequence_of_sequence] [gw42] [ 17%] RERUN tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_mono tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_mono [gw84] [ 17%] FAILED tests/features/test_video.py::test_video_feature_encode_example[6] tests/features/test_audio.py::test_audio_feature_encode_example[5] tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[False-True] tests/packaged_modules/test_hdf5.py::test_hdf5_compound_with_complex_arrays tests/features/test_array_xd.py::test_array_xd_with_none_python_format_keeps_integers tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_custom_file_name_column_in_metadata_file tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[True-False] tests/features/test_features.py::test_classlabel_int2str tests/io/test_text.py::test_datasetdict_from_text_features[features2] tests/packaged_modules/test_cache.py::test_cache_auto_hash tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int8-sequence_of_sequence] tests/features/test_video.py::test_video_feature_encode_example[7] tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int8-sequence_of_sequence] tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_single_split[csv-True] tests/packaged_modules/test_hdf5.py::test_hdf5_mismatched_lengths_error [gw11] [ 17%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-float64-sequence_of_sequence] [gw127] [ 17%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_wrong_metadata_file_name [gw32] [ 17%] PASSED tests/features/test_features.py::test_classlabel_int2str [gw6] [ 17%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape1-Array3D-int8-sequence_of_sequence] [gw98] [ 17%] PASSED tests/io/test_parquet.py::test_parquet_read_geoparquet tests/features/test_array_xd.py::test_table_to_pandas[bool-True] tests/packaged_modules/test_imagefolder.py::test_data_files_with_wrong_metadata_file_name [gw0] [ 17%] PASSED tests/features/test_array_xd.py::ExtensionTypeCompatibilityTest::test_compatability_with_string_values [gw13] [ 17%] PASSED tests/features/test_array_xd.py::test_array_xd_with_none_python_format_keeps_integers tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_path_traversal_is_rejected[../outside/secret.txt] tests/packaged_modules/test_json.py::test_json_generate_tables[json_file-config_kwargs0-expected0] [gw3] [ 17%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-16000] [gw116] [ 17%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[True-False] [gw4] [ 17%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int8-sequence_of_sequence] tests/packaged_modules/test_json.py::test_json_generate_tables_with_missing_features[jsonl_file-config_kwargs0] [gw22] [ 17%] FAILED tests/features/test_audio.py::test_formatted_dataset_with_audio_feature [gw1] [ 17%] PASSED tests/features/test_array_xd.py::test_table_to_pandas[bool-True] [gw117] [ 17%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[None-False] [gw123] [ 17%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[False-True] tests/features/test_array_xd.py::ExtensionTypeCompatibilityTest::test_extension_indexing [gw126] [ 17%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[None-False] tests/packaged_modules/test_json.py::test_json_generate_tables[json_file_with_list_of_strings_field-config_kwargs7-expected7] [gw78] [ 17%] PASSED tests/io/test_text.py::test_datasetdict_from_text_features[features2] [gw31] [ 17%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example_pcm[1] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-48000] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[False-None] tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[claude] tests/features/test_audio.py::test_load_dataset_with_audio_feature[False] tests/packaged_modules/test_json.py::test_json_load_dataset_with_agent_trace_metadata[codex] [gw116] [ 17%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[False-None] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[True-None] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[None-True] [gw4] [ 17%] SKIPPED tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[claude] tests/io/test_text.py::test_datasetdict_from_text_features[features3] tests/features/test_audio.py::test_audio_feature_encode_example_pcm[2] [gw1] [ 18%] SKIPPED tests/packaged_modules/test_json.py::test_json_load_dataset_with_agent_trace_metadata[codex] [gw80] [ 18%] PASSED tests/features/test_mesh.py::test_mesh_feature_encode_example[3] tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[pi] tests/packaged_modules/test_json.py::test_json_load_dataset_with_agent_trace_metadata[droid] [gw4] [ 18%] SKIPPED tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[pi] [gw1] [ 18%] SKIPPED tests/packaged_modules/test_json.py::test_json_load_dataset_with_agent_trace_metadata[droid] [gw0] [ 18%] PASSED tests/features/test_array_xd.py::ExtensionTypeCompatibilityTest::test_extension_indexing tests/features/test_mesh.py::test_mesh_feature_encode_example[4] [gw78] [ 18%] PASSED tests/io/test_text.py::test_datasetdict_from_text_features[features3] tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[openclaw] tests/packaged_modules/test_json.py::test_json_load_dataset_without_droid_marker_stays_ordinary_json tests/features/test_array_xd.py::ExtensionTypeCompatibilityTest::test_multiple_extensions_same_row [gw4] [ 18%] SKIPPED tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[openclaw] tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[hermes.jsonl-rows5-expected5] [gw4] [ 18%] SKIPPED tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[hermes.jsonl-rows5-expected5] tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[hermes_two_sessions.jsonl-rows6-expected6] tests/features/test_features.py::test_features_to_arrow_schema[features24] [gw4] [ 18%] SKIPPED tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[hermes_two_sessions.jsonl-rows6-expected6] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features11] [gw34] [ 18%] RERUN tests/features/test_audio.py::test_audio_resampling_mp3_different_sampling_rates tests/features/test_audio.py::test_audio_resampling_mp3_different_sampling_rates tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint8-sequence_of_sequence] tests/features/test_features.py::test_encode_example[features_dict2-example2-expected_encoded_example2] [gw25] [ 18%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features11] [gw36] [ 18%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features24] [gw35] [ 18%] PASSED tests/features/test_features.py::test_encode_example[features_dict2-example2-expected_encoded_example2] [gw42] [ 18%] FAILED tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_mono tests/features/test_features.py::CastToPythonObjectsTest::test_dont_iterate_over_each_element_in_a_list [gw39] [ 18%] PASSED tests/features/test_features.py::CastToPythonObjectsTest::test_dont_iterate_over_each_element_in_a_list tests/features/test_features.py::test_generate_from_dict_with_list_types[deserialized_feature_dict3-expected_feature3] tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[droid] tests/packaged_modules/test_text.py::test_text_cast_image [gw17] [ 18%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-uint8-sequence_of_sequence] [gw37] [ 18%] PASSED tests/features/test_features.py::test_generate_from_dict_with_list_types[deserialized_feature_dict3-expected_feature3] tests/features/test_features.py::test_features_from_arrow_schema_primitive_data_type[string] [gw4] [ 18%] SKIPPED tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[droid] [gw66] [ 18%] PASSED tests/features/test_features.py::test_features_from_arrow_schema_primitive_data_type[string] [gw0] [ 18%] PASSED tests/features/test_array_xd.py::ExtensionTypeCompatibilityTest::test_multiple_extensions_same_row [gw26] [ 18%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[5] [gw95] [ 18%] PASSED tests/packaged_modules/test_cache.py::test_cache_auto_hash tests/features/test_features.py::FeaturesTest::test_categorical_one_way tests/features/test_features.py::FeaturesTest::test_from_arrow_schema_simple [gw61] [ 18%] RERUN tests/features/test_video.py::test_video_feature_encode_example[1] tests/features/test_video.py::test_video_feature_encode_example[1] [gw42] [ 18%] PASSED tests/features/test_features.py::FeaturesTest::test_categorical_one_way tests/features/test_features.py::test_dataset_feature_with_none[feature2] [gw117] [ 18%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[True-None] tests/features/test_audio.py::test_audio_feature_encode_example[5] tests/packaged_modules/test_videofolder.py::test_config_raises_when_invalid_data_files[data_files2] [gw39] [ 18%] PASSED tests/packaged_modules/test_videofolder.py::test_config_raises_when_invalid_data_files[data_files2] tests/packaged_modules/test_sql.py::test_config_raises_when_invalid_data_files[data_files2] [gw101] [ 18%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_keep_in_memory[True] tests/packaged_modules/test_parquet.py::test_config_raises_when_invalid_data_files[data_files1] tests/features/test_features.py::test_features_to_arrow_schema[features18] tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_nested_data_type[large_list-LargeList-string-expected_scalar_feature1] tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features5] [gw55] [ 18%] PASSED tests/features/test_features.py::test_generate_from_arrow_type_with_arrow_nested_data_type[large_list-LargeList-string-expected_scalar_feature1] [gw25] [ 18%] PASSED tests/packaged_modules/test_sql.py::test_config_raises_when_invalid_data_files[data_files2] [gw20] [ 18%] RERUN tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature_mp3 tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature_mp3 [gw51] [ 18%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features5] tests/packaged_modules/test_meshfolder.py::test_data_files_with_metadata_and_single_split[True] [gw57] [ 18%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features18] tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_pandas_timestamp [gw6] [ 18%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables_with_missing_features[jsonl_file-config_kwargs0] tests/features/test_features.py::test_encode_nested_example_with_list_types[schema0] [gw28] [ 18%] PASSED tests/features/test_features.py::test_encode_nested_example_with_list_types[schema0] tests/features/test_features.py::test_features_to_arrow_schema[features6] tests/packaged_modules/test_webdataset.py::test_upper_lower_case [gw41] [ 19%] PASSED tests/features/test_features.py::CastToPythonObjectsTest::test_cast_to_python_objects_pandas_timestamp tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features17] [gw36] [ 19%] PASSED tests/packaged_modules/test_parquet.py::test_config_raises_when_invalid_data_files[data_files1] [gw46] [ 19%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features6] tests/features/test_features.py::test_features_to_yaml_list[features26] tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_on_disk tests/packaged_modules/test_json.py::test_json_generate_tables_with_missing_features[json_file_with_list_of_dicts-config_kwargs1] tests/features/test_array_xd.py::ArrayXDDynamicTest::test_iter_dataset [gw127] [ 19%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_path_traversal_is_rejected[../outside/secret.txt] [gw18] [ 19%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features17] [gw38] [ 19%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features26] tests/packaged_modules/test_videofolder.py::test_generate_examples_with_labels tests/features/test_features.py::test_get_nested_type_with_list_feature[Sequence-list_-scalar_feature1-string] [gw31] [ 19%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_pcm[2] [gw125] [ 19%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-True] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-True] tests/packaged_modules/test_parquet.py::test_config_raises_when_invalid_data_files[data_files2] tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_load_from_disk_in_memory tests/features/test_audio.py::test_audio_feature_encode_example_pcm[2] [gw6] [ 19%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables_with_missing_features[json_file_with_list_of_dicts-config_kwargs1] tests/packaged_modules/test_text.py::test_config_raises_when_invalid_name [gw15] [ 19%] PASSED tests/features/test_features.py::FeaturesTest::test_from_arrow_schema_simple tests/packaged_modules/test_cache.py::test_cache_auto_hash_with_custom_config tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_nested_list_types[schema2] [gw36] [ 19%] PASSED tests/packaged_modules/test_parquet.py::test_config_raises_when_invalid_data_files[data_files2] [gw54] [ 19%] PASSED tests/features/test_features.py::test_check_non_null_non_empty_recursive_with_nested_list_types[schema2] [gw62] [ 19%] PASSED tests/features/test_image.py::test_formatted_dataset_with_image_feature_map tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_specified_on_disk [gw25] [ 19%] PASSED tests/packaged_modules/test_text.py::test_config_raises_when_invalid_name [gw12] [ 19%] PASSED tests/features/test_array_xd.py::ArrayXDDynamicTest::test_iter_dataset [gw23] [ 19%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_no_data_files_error tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_with_indices_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_cache_file_name_no_ext_raises_error_in_memory [gw71] [ 19%] PASSED tests/io/test_json.py::test_dataset_from_json_keep_in_memory[False] tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_with_indices_mapping_in_memory [gw57] [ 19%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_load_from_disk_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_format_ragged_vectors_in_memory tests/packaged_modules/test_json.py::test_json_generate_tables_with_missing_features[json_file_with_list_of_dicts_field-config_kwargs2] [gw44] [ 19%] PASSED tests/features/test_features.py::test_dataset_feature_with_none[feature2] [gw80] [ 19%] PASSED tests/features/test_mesh.py::test_mesh_feature_encode_example[4] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_path_traversal_is_rejected[../../outside/secret.txt] [gw55] [ 19%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_format_ragged_vectors_in_memory [gw66] [ 19%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_cache_file_name_no_ext_raises_error_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_partial_remap_on_disk tests/packaged_modules/test_hdf5.py::test_hdf5_complex_numbers tests/packaged_modules/test_text.py::test_config_raises_when_invalid_data_files[str_path] [gw6] [ 19%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables_with_missing_features[json_file_with_list_of_dicts_field-config_kwargs2] [gw13] [ 19%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[json_file_with_list_of_strings_field-config_kwargs7-expected7] [gw50] [ 19%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[True-False] [gw16] [ 19%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_path_traversal_is_rejected[subdir/../../../../outside/secret.txt] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_in_memory [gw14] [ 19%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[False-True] [gw47] [ 19%] PASSED tests/features/test_features.py::test_get_nested_type_with_list_feature[Sequence-list_-scalar_feature1-string] tests/features/test_image.py::test_dataset_with_image_feature_map_change_image tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_load_from_disk_on_disk [gw25] [ 19%] PASSED tests/packaged_modules/test_text.py::test_config_raises_when_invalid_data_files[str_path] [gw5] [ 19%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_mismatched_lengths_error tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_absolute_path_is_rejected tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_with_new_features_in_memory [gw84] [ 20%] RERUN tests/features/test_video.py::test_video_feature_encode_example[7] tests/features/test_video.py::test_video_feature_encode_example[7] tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_fn_kwargs_on_disk [gw34] [ 20%] RERUN tests/features/test_audio.py::test_audio_resampling_mp3_different_sampling_rates [gw26] [ 20%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[5] tests/features/test_audio.py::test_audio_resampling_mp3_different_sampling_rates tests/features/test_audio.py::test_audio_feature_encode_example[5] tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[False-None] tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_formatted_on_disk tests/packaged_modules/test_json.py::test_json_generate_tables[json_file_with_dict_of_lists_field-config_kwargs8-expected8] tests/features/test_mesh.py::test_mesh_feature_encode_example[5] tests/packaged_modules/test_text.py::test_config_raises_when_invalid_data_files[data_files1] tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[False-False] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_multiprocessing_in_memory tests/packaged_modules/test_json.py::test_json_generate_tables_with_sorted_columns[json_file_with_list_of_dicts_with_sorted_columns-config_kwargs0] tests/packaged_modules/test_hdf5.py::test_hdf5_zero_dimensions_handling tests/packaged_modules/test_parquet.py::test_parquet_reshard [gw6] [ 20%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables_with_sorted_columns[json_file_with_list_of_dicts_with_sorted_columns-config_kwargs0] [gw25] [ 20%] PASSED tests/packaged_modules/test_text.py::test_config_raises_when_invalid_data_files[data_files1] [gw51] [ 20%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_on_disk [gw35] [ 20%] PASSED tests/packaged_modules/test_text.py::test_text_cast_image [gw57] [ 20%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_load_from_disk_on_disk [gw13] [ 20%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[json_file_with_dict_of_lists_field-config_kwargs8-expected8] tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_batched_in_memory [gw61] [ 20%] FAILED tests/features/test_video.py::test_video_feature_encode_example[1] [gw50] [ 20%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[False-None] [gw18] [ 20%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_with_indices_mapping_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_format_ragged_vectors_on_disk [gw55] [ 20%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_format_ragged_vectors_on_disk [gw46] [ 20%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_with_new_features_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_cache_file_name_no_ext_raises_error_on_disk tests/features/test_image.py::test_encode_np_array[array5-downcast->|u1-PNG] [gw1] [ 20%] PASSED tests/packaged_modules/test_json.py::test_json_load_dataset_without_droid_marker_stays_ordinary_json [gw28] [ 20%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_specified_on_disk tests/packaged_modules/test_text.py::test_text_sample_by[line] tests/packaged_modules/test_json.py::test_json_generate_tables_with_sorted_columns[json_file_with_list_of_dicts_with_sorted_columns_field-config_kwargs1] [gw35] [ 20%] PASSED tests/packaged_modules/test_text.py::test_text_sample_by[line] [gw23] [ 20%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_complex_numbers [gw3] [ 20%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-48000] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-48000] tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_with_new_features_on_disk [gw81] [ 20%] PASSED tests/features/test_image.py::test_encode_np_array[array5-downcast->|u1-PNG] tests/features/test_video.py::test_video_feature_encode_example[2] [gw44] [ 20%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_batched_in_memory tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[False-True] tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_with_indices_mapping_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_format_nested_in_memory [gw6] [ 20%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables_with_sorted_columns[json_file_with_list_of_dicts_with_sorted_columns_field-config_kwargs1] tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_to_file_in_memory [gw11] [ 20%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_wrong_metadata_file_name [gw51] [ 20%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_format_nested_in_memory [gw31] [ 20%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_pcm[2] tests/features/test_audio.py::test_audio_feature_encode_example_pcm[2] tests/packaged_modules/test_hdf5.py::test_hdf5_compound_types [gw5] [ 20%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_zero_dimensions_handling [gw41] [ 20%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_formatted_on_disk [gw66] [ 20%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_cache_file_name_no_ext_raises_error_on_disk [gw50] [ 20%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[False-True] [gw16] [ 20%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_absolute_path_is_rejected tests/packaged_modules/test_text.py::test_text_sample_by[paragraph] [gw80] [ 20%] PASSED tests/features/test_mesh.py::test_mesh_feature_encode_example[5] tests/packaged_modules/test_imagefolder.py::test_data_files_with_custom_image_file_name_column_in_metadata_file tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int32-sequence_of_sequence] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_url_scheme_is_rejected[file://../../outside/secret.txt] tests/features/test_mesh.py::test_mesh_feature_encode_example[6] tests/packaged_modules/test_meshfolder.py::test_meshfolder_config_and_extensions tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_batched_on_disk [gw46] [ 20%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_with_new_features_on_disk [gw1] [ 20%] PASSED tests/packaged_modules/test_meshfolder.py::test_meshfolder_config_and_extensions tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[False-False] tests/packaged_modules/test_text.py::test_config_raises_when_invalid_data_files[data_files2] [gw35] [ 20%] PASSED tests/packaged_modules/test_text.py::test_text_sample_by[paragraph] tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_with_mix_of_str_and_int-config_kwargs9-expected9] [gw14] [ 20%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[False-False] tests/test_arrow_dataset.py::BaseDatasetTest::test_format_vectors_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_in_memory tests/packaged_modules/test_hdf5.py::test_hdf5_empty_file_warning tests/test_arrow_dataset.py::BaseDatasetTest::test_format_nested_on_disk [gw55] [ 21%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_format_vectors_in_memory [gw13] [ 21%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_with_mix_of_str_and_int-config_kwargs9-expected9] [gw84] [ 21%] RERUN tests/features/test_video.py::test_video_feature_encode_example[7] tests/features/test_video.py::test_video_feature_encode_example[7] [gw25] [ 21%] PASSED tests/packaged_modules/test_text.py::test_config_raises_when_invalid_data_files[data_files2] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_batched_in_memory [gw57] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_on_disk [gw18] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_with_indices_mapping_on_disk [gw50] [ 21%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[False-False] [gw51] [ 21%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_format_nested_on_disk [gw47] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_fn_kwargs_on_disk [gw115] [ 21%] RERUN tests/packaged_modules/test_audiofolder.py::test_generate_examples_with_labels tests/packaged_modules/test_audiofolder.py::test_generate_examples_with_labels tests/features/test_features.py::test_features_from_dict_with_list_types[deserialized_features_dict2-expected_features_dict2] [gw53] [ 21%] PASSED tests/features/test_features.py::test_features_from_dict_with_list_types[deserialized_features_dict2-expected_features_dict2] [gw26] [ 21%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example[5] [gw23] [ 21%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_compound_types [gw10] [ 21%] PASSED tests/features/test_array_xd.py::test_array_xd_with_np[shape0-Array2D-int32-sequence_of_sequence] [gw44] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_batched_on_disk [gw127] [ 21%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_path_traversal_is_rejected[../../outside/secret.txt] tests/test_arrow_dataset.py::BaseDatasetTest::test_format_pandas_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_in_memory [gw41] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_in_memory tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[None-None] tests/features/test_features.py::test_features_to_yaml_list[features8] tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[codex] [gw28] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_to_file_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_pickle_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_cast_in_memory tests/features/test_features.py::test_is_null_feature[feature6-True] tests/features/test_audio.py::test_audio_feature_encode_example[6] [gw27] [ 21%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features8] [gw80] [ 21%] PASSED tests/features/test_mesh.py::test_mesh_feature_encode_example[6] [gw63] [ 21%] PASSED tests/features/test_features.py::test_is_null_feature[feature6-True] tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_caching_in_memory [gw34] [ 21%] FAILED tests/features/test_audio.py::test_audio_resampling_mp3_different_sampling_rates tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_example_as_dict_value_on_disk [gw14] [ 21%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[None-None] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_path_traversal_is_rejected[subdir/../../outside/secret.txt] tests/packaged_modules/test_hdf5.py::test_hdf5_feature_inference_complex [gw51] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_format_pandas_in_memory [gw5] [ 21%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_empty_file_warning [gw11] [ 21%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_custom_image_file_name_column_in_metadata_file [gw66] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_cast_in_memory [gw57] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_pickle_in_memory [gw62] [ 21%] PASSED tests/features/test_image.py::test_dataset_with_image_feature_map_change_image tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_with_dicts_of_varying_keys-config_kwargs10-expected10] [gw15] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_with_indices_in_memory tests/packaged_modules/test_text.py::test_text_linebreaks[True] tests/packaged_modules/test_imagefolder.py::test_data_files_with_with_metadata_in_different_formats [gw6] [ 21%] SKIPPED tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[codex] [gw13] [ 21%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_with_dicts_of_varying_keys-config_kwargs10-expected10] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_numpy_on_disk [gw7] [ 21%] FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[5] [gw46] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_batched_in_memory [gw31] [ 21%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example_pcm[2] tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_on_disk [gw44] [ 21%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_caching_in_memory [gw10] [ 22%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_example_as_dict_value_on_disk [gw16] [ 22%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_url_scheme_is_rejected[file://../../outside/secret.txt] [gw61] [ 22%] RERUN tests/features/test_video.py::test_video_feature_encode_example[2] tests/features/test_video.py::test_video_feature_encode_example[2] [gw39] [ 22%] PASSED tests/packaged_modules/test_videofolder.py::test_generate_examples_with_labels tests/test_arrow_dataset.py::BaseDatasetTest::test_map_torch_on_disk tests/features/test_audio.py::test_backwards_compatibility tests/test_arrow_dataset.py::BaseDatasetTest::test_map_stateful_callable_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_map_batched_on_disk [gw124] [ 22%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[False-True] tests/features/test_mesh.py::test_mesh_feature_encode_example[7] tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_pickle_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_complex_image_in_memory tests/features/test_features.py::test_features_to_arrow_schema[features0] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pa_table_in_memory tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[None-True] tests/features/test_audio.py::test_dataset_cast_to_audio_features[6] [gw84] [ 22%] FAILED tests/features/test_video.py::test_video_feature_encode_example[7] tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_to_file_on_disk tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_single_split[jsonl-False] [gw81] [ 22%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_numpy_on_disk [gw14] [ 22%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[None-True] tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_with_indices_on_disk tests/features/test_audio.py::test_audio_feature_encode_example_pcm[3] tests/packaged_modules/test_meshfolder.py::test_config_raises_when_invalid_name tests/test_arrow_dataset.py::BaseDatasetTest::test_format_vectors_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_caching_on_disk [gw40] [ 22%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features0] [gw55] [ 22%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_format_vectors_on_disk tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_url_scheme_is_rejected[local://../../outside/secret.txt] [gw41] [ 22%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_on_disk [gw23] [ 22%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_feature_inference_complex tests/packaged_modules/test_text.py::test_text_sample_by[document] [gw35] [ 22%] PASSED tests/packaged_modules/test_text.py::test_text_sample_by[document] tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_with_lists_of_dicts_of_varying_keys-config_kwargs11-expected11] [gw11] [ 22%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_with_metadata_in_different_formats [gw47] [ 22%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_format_pandas_on_disk [gw53] [ 22%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_stateful_callable_in_memory [gw2] [ 22%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_compound_with_complex_arrays [gw1] [ 22%] PASSED tests/packaged_modules/test_meshfolder.py::test_config_raises_when_invalid_name tests/test_arrow_dataset.py::BaseDatasetTest::test_cast_on_disk [gw57] [ 22%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_pickle_on_disk tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features23] tests/packaged_modules/test_hdf5.py::test_hdf5_feature_inference_compound_complex_arrays tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_splits[1-False] tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature1-other_feature1] [gw49] [ 22%] PASSED tests/features/test_features.py::test_features_to_dict_and_from_dict_round_trip[features23] tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_pickle_in_memory tests/packaged_modules/test_hdf5.py::test_hdf5_feature_inference tests/test_arrow_dataset.py::BaseDatasetTest::test_rename_column_on_disk [gw32] [ 22%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[json_file-config_kwargs0-expected0] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_on_disk [gw51] [ 22%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_format_pandas_on_disk [gw65] [ 22%] PASSED tests/features/test_features.py::test_features_reorder_fields_as_with_list_types[feature1-other_feature1] [gw80] [ 22%] PASSED tests/features/test_mesh.py::test_mesh_feature_encode_example[7] tests/packaged_modules/test_videofolder.py::test_generate_examples_with_metadata tests/features/test_features.py::test_is_null_feature[feature0-True] [gw10] [ 22%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pa_table_in_memory [gw13] [ 22%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_with_lists_of_dicts_of_varying_keys-config_kwargs11-expected11] tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_polars_on_disk tests/packaged_modules/test_hdf5.py::test_hdf5_feature_inference_compound tests/packaged_modules/test_json.py::test_config_raises_when_invalid_name tests/test_arrow_dataset.py::BaseDatasetTest::test_restore_saved_format_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_map_stateful_callable_on_disk tests/features/test_video.py::test_dataset_with_video_feature [gw68] [ 22%] PASSED tests/features/test_features.py::test_is_null_feature[feature0-True] [gw11] [ 22%] PASSED tests/packaged_modules/test_json.py::test_config_raises_when_invalid_name [gw126] [ 22%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[None-True] [gw95] [ 22%] PASSED tests/packaged_modules/test_cache.py::test_cache_auto_hash_with_custom_config [gw44] [ 22%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_caching_on_disk [gw66] [ 22%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_cast_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_serialize_in_memory tests/packaged_modules/test_videofolder.py::test_config_raises_when_invalid_name [gw35] [ 23%] PASSED tests/packaged_modules/test_videofolder.py::test_config_raises_when_invalid_name [gw30] [ 23%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_single_split[csv-True] [gw27] [ 23%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_torch_on_disk [gw16] [ 23%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_url_scheme_is_rejected[local://../../outside/secret.txt] [gw65] [ 23%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_polars_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_input_columns_in_memory tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[None-False] [gw14] [ 23%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[None-False] [gw28] [ 23%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_to_file_on_disk tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file-config_kwargs1-expected1] [gw41] [ 23%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_pickle_in_memory [gw39] [ 23%] PASSED tests/packaged_modules/test_videofolder.py::test_generate_examples_with_metadata [gw5] [ 23%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_feature_inference [gw53] [ 23%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_stateful_callable_on_disk [gw46] [ 23%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_batched_on_disk tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_url_scheme_is_rejected[file://../outside/secret.txt] [gw63] [ 23%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_rename_column_on_disk tests/features/test_features.py::test_features_to_arrow_schema[features12] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pa_table_on_disk tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-False] tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_with_lists_of_dicts_of_varying_keys_and_bom-config_kwargs12-expected12] [gw32] [ 23%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file-config_kwargs1-expected1] [gw13] [ 23%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_with_lists_of_dicts_of_varying_keys_and_bom-config_kwargs12-expected12] tests/test_arrow_dataset.py::BaseDatasetTest::test_select_then_map_on_disk [gw38] [ 23%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_in_memory tests/packaged_modules/test_meshfolder.py::test_generate_examples_with_labels tests/test_arrow_dataset.py::BaseDatasetTest::test_map_tensor_batched_in_memory tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[True-False] tests/features/test_features.py::test_get_nested_type_with_scalar_feature[feature1-string] tests/features/test_features.py::test_require_storage_embed_with_list_types[feature1] [gw23] [ 23%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_feature_inference_compound tests/features/test_features.py::test_features_to_yaml_list[features14] tests/packaged_modules/test_videofolder.py::test_data_files_with_metadata_and_archives[False] [gw77] [ 23%] PASSED tests/features/test_mesh.py::test_mesh_feature_encode_example[0] tests/packaged_modules/test_cache.py::test_cache_missing [gw67] [ 23%] PASSED tests/features/test_features.py::test_get_nested_type_with_scalar_feature[feature1-string] [gw29] [ 23%] PASSED tests/features/test_features.py::test_features_to_arrow_schema[features12] [gw43] [ 23%] PASSED tests/features/test_features.py::test_require_storage_embed_with_list_types[feature1] [gw104] [ 23%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_inferring_labels_from_data_dirs [gw33] [ 23%] PASSED tests/features/test_features.py::test_features_to_yaml_list[features14] tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_loading_from_cache_in_memory [gw9] [ 23%] FAILED tests/features/test_audio.py::test_dataset_with_audio_feature_tar_wav tests/test_arrow_dataset.py::BaseDatasetTest::test_pickle_after_many_transforms_on_disk_in_memory [gw82] [ 23%] RERUN tests/features/test_video.py::test_dataset_with_video_feature_map_is_decoded tests/features/test_video.py::test_dataset_with_video_feature_map_is_decoded [gw21] [ 23%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[None-None] tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_empty_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_to_memory_in_memory [gw3] [ 23%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-48000] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-48000] [gw127] [ 23%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_path_traversal_is_rejected[subdir/../../outside/secret.txt] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_in_memory [gw53] [ 23%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_tensor_batched_in_memory tests/packaged_modules/test_hdf5.py::test_hdf5_vlen_feature_inference tests/test_arrow_dataset.py::BaseDatasetTest::test_set_transform_on_disk [gw31] [ 23%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_pcm[3] tests/features/test_audio.py::test_audio_feature_encode_example_pcm[3] [gw55] [ 23%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_loading_from_cache_in_memory [gw34] [ 23%] RERUN tests/features/test_audio.py::test_backwards_compatibility [gw2] [ 23%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_feature_inference_compound_complex_arrays [gw61] [ 23%] RERUN tests/features/test_video.py::test_video_feature_encode_example[2] tests/features/test_video.py::test_video_feature_encode_example[2] [gw68] [ 23%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_transform_on_disk [gw37] [ 24%] PASSED tests/packaged_modules/test_webdataset.py::test_upper_lower_case [gw8] [ 24%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_multi_dimensional_arrays tests/features/test_audio.py::test_dataset_with_audio_feature_tar_mp3 tests/features/test_audio.py::test_backwards_compatibility [gw10] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pa_table_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_map_input_columns_in_memory [gw47] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_input_columns_in_memory [gw44] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_empty_in_memory tests/features/test_features.py::test_features_alignment[features3] tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_pickle_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_format_polars_in_memory [gw51] [ 24%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_format_polars_in_memory [gw58] [ 24%] PASSED tests/features/test_features.py::test_features_alignment[features3] [gw118] [ 24%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[None-True] tests/features/test_mesh.py::test_mesh_feature_encode_example[1] [gw16] [ 24%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_url_scheme_is_rejected[file://../outside/secret.txt] [gw41] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_pickle_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_class_encode_column_in_memory [gw5] [ 24%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_vlen_feature_inference tests/test_arrow_dataset.py::BaseDatasetTest::test_rename_columns_in_memory tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[True-None] tests/test_arrow_dataset.py::BaseDatasetTest::test_sort_on_disk [gw81] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_on_disk [gw39] [ 24%] PASSED tests/packaged_modules/test_videofolder.py::test_data_files_with_metadata_and_archives[False] [gw40] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_restore_saved_format_on_disk tests/packaged_modules/test_json.py::test_config_raises_when_invalid_data_files[str_path] [gw11] [ 24%] PASSED tests/packaged_modules/test_json.py::test_config_raises_when_invalid_data_files[str_path] [gw50] [ 24%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_single_split[jsonl-False] [gw24] [ 24%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_custom_file_name_column_in_metadata_file tests/packaged_modules/test_json.py::test_json_generate_tables[ndjson_file-config_kwargs2-expected2] tests/packaged_modules/test_videofolder.py::test_config_raises_when_invalid_data_files[str_path] [gw35] [ 24%] PASSED tests/packaged_modules/test_videofolder.py::test_config_raises_when_invalid_data_files[str_path] tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[None-True] tests/packaged_modules/test_hdf5.py::test_hdf5_mixed_data_types tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[None-False] [gw38] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_input_columns_in_memory [gw28] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_to_memory_in_memory [gw30] [ 24%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-False] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_custom_file_names_column_in_metadata_file_large_string_list tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pd_dataframe_in_memory tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_url_scheme_is_rejected[file:///etc/passwd] tests/packaged_modules/test_webdataset.py::test_image_webdataset_missing_keys [gw14] [ 24%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[True-None] [gw32] [ 24%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[ndjson_file-config_kwargs2-expected2] [gw49] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_select_then_map_on_disk tests/packaged_modules/test_hdf5.py::test_hdf5_vlen_arrays tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_tf_in_memory [gw15] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_with_indices_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_map_tensor_batched_on_disk tests/packaged_modules/test_videofolder.py::test_data_files_with_metadata_and_archives[True] tests/packaged_modules/test_imagefolder.py::test_config_raises_when_invalid_name tests/test_arrow_dataset.py::BaseDatasetTest::test_to_csv_on_disk [gw27] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_pickle_after_many_transforms_on_disk_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_numpy_multiple_columns_in_memory [gw125] [ 24%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-True] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-True] [gw65] [ 24%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_tf_in_memory [gw2] [ 24%] PASSED tests/packaged_modules/test_imagefolder.py::test_config_raises_when_invalid_name tests/features/test_pdf.py::test_pdf_feature_encode_example[6] [gw53] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_tensor_batched_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_dataset_options_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_input_columns_on_disk tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-True] tests/features/test_nifti.py::test_nifti_feature_encode_example[5-test_nifti.nii] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_on_mixed_types_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_to_sql_on_disk [gw22] [ 24%] RERUN tests/features/test_audio.py::test_load_dataset_with_audio_feature[False] tests/features/test_audio.py::test_load_dataset_with_audio_feature[False] tests/packaged_modules/test_json.py::test_config_raises_when_invalid_data_files[data_files1] [gw63] [ 24%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_rename_columns_in_memory [gw33] [ 25%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_dataset_options_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_pickle_after_many_transforms_on_disk_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_with_indices_from_disk_in_memory [gw11] [ 25%] PASSED tests/packaged_modules/test_json.py::test_config_raises_when_invalid_data_files[data_files1] [gw95] [ 25%] PASSED tests/packaged_modules/test_cache.py::test_cache_missing [gw23] [ 25%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_mixed_data_types tests/test_arrow_dataset.py::BaseDatasetTest::test_dataset_getitem_in_memory tests/features/test_nifti.py::test_dataset_with_nifti_feature[test_nifti.nii] [gw77] [ 25%] PASSED tests/features/test_mesh.py::test_mesh_feature_encode_example[1] tests/test_arrow_dataset.py::BaseDatasetTest::test_shard_in_memory [gw49] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_numpy_multiple_columns_in_memory tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_single_split[jsonl-True] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_input_columns_on_disk [gw66] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_class_encode_column_in_memory [gw126] [ 25%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[True-False] tests/packaged_modules/test_hdf5.py::test_hdf5_variable_string_feature_inference tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_to_memory_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_rename_columns_on_disk [gw41] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_with_indices_from_disk_in_memory [gw16] [ 25%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_url_scheme_is_rejected[file:///etc/passwd] [gw81] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_on_mixed_types_in_memory [gw61] [ 25%] FAILED tests/features/test_video.py::test_video_feature_encode_example[2] [gw31] [ 25%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_pcm[3] tests/features/test_audio.py::test_audio_feature_encode_example_pcm[3] [gw36] [ 25%] PASSED tests/packaged_modules/test_parquet.py::test_parquet_reshard tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_empty_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_loading_from_cache_on_disk [gw115] [ 25%] RERUN tests/packaged_modules/test_audiofolder.py::test_generate_examples_with_labels tests/packaged_modules/test_audiofolder.py::test_generate_examples_with_labels [gw39] [ 25%] PASSED tests/packaged_modules/test_videofolder.py::test_data_files_with_metadata_and_archives[True] [gw67] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_sort_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_map_tf_in_memory tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_utf16_encoded-config_kwargs3-expected3] [gw15] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dataset_getitem_in_memory [gw58] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_class_encode_column_on_disk [gw10] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pd_dataframe_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_tf_on_disk tests/packaged_modules/test_imagefolder.py::test_config_raises_when_invalid_data_files[str_path] [gw2] [ 25%] PASSED tests/packaged_modules/test_imagefolder.py::test_config_raises_when_invalid_data_files[str_path] tests/test_arrow_dataset.py::BaseDatasetTest::test_select_columns_in_memory [gw68] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_shard_in_memory [gw44] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_empty_on_disk tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_url_scheme_is_rejected[file://outside/secret.txt] [gw30] [ 25%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-True] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[True-True] [gw34] [ 25%] RERUN tests/features/test_audio.py::test_backwards_compatibility tests/features/test_audio.py::test_backwards_compatibility [gw88] [ 25%] SKIPPED tests/features/test_pdf.py::test_pdf_feature_encode_example[6] [gw8] [ 25%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_vlen_arrays tests/test_arrow_dataset.py::BaseDatasetTest::test_dataset_getitem_on_disk [gw65] [ 25%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_tf_on_disk tests/io/test_csv.py::test_dataset_from_csv_split[split1] [gw47] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_input_columns_on_disk tests/packaged_modules/test_parquet.py::test_parquet_columns tests/io/test_json.py::test_dataset_from_json_with_unsorted_column_names[None] [gw55] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_loading_from_cache_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_map_on_mixed_types_on_disk [gw53] [ 25%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_tf_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_to_pandas_on_disk [gw26] [ 25%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[6] tests/features/test_audio.py::test_audio_feature_encode_example[6] [gw32] [ 25%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_utf16_encoded-config_kwargs3-expected3] [gw63] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_rename_columns_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_suffix_template_format_in_memory tests/packaged_modules/test_webdataset.py::test_gzipped_text_webdataset [gw27] [ 25%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_pickle_after_many_transforms_on_disk_on_disk tests/features/test_image.py::test_image_feature_encode_example[0] [gw89] [ 26%] PASSED tests/io/test_csv.py::test_dataset_from_csv_split[split1] [gw28] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_to_memory_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_index_reshuffling_in_memory [gw38] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_input_columns_on_disk [gw124] [ 26%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_splits[1-False] [gw50] [ 26%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_single_split[jsonl-True] tests/test_arrow_dataset.py::BaseDatasetTest::test_remove_columns_in_memory [gw37] [ 26%] PASSED tests/packaged_modules/test_webdataset.py::test_image_webdataset_missing_keys [gw67] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_suffix_template_format_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_shard_on_disk [gw81] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_on_mixed_types_on_disk [gw31] [ 26%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example_pcm[3] [gw56] [ 26%] SKIPPED tests/features/test_nifti.py::test_dataset_with_nifti_feature[test_nifti.nii] [gw33] [ 26%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_index_reshuffling_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_single_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_repeat_in_memory [gw118] [ 26%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[None-False] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_jax_in_memory [gw21] [ 26%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[None-True] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pd_dataframe_on_disk [gw38] [ 26%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_jax_in_memory tests/packaged_modules/test_imagefolder.py::test_config_raises_when_invalid_data_files[data_files1] tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_numpy_multiple_columns_on_disk [gw24] [ 26%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_custom_file_names_column_in_metadata_file_large_string_list [gw3] [ 26%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-48000] [gw88] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_pandas_on_disk [gw79] [ 26%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[5-test_nifti.nii] tests/test_arrow_dataset.py::BaseDatasetTest::test_suffix_template_format_on_disk tests/features/test_image.py::test_dataset_with_image_feature_from_pil_image[False] [gw39] [ 26%] PASSED tests/packaged_modules/test_webdataset.py::test_gzipped_text_webdataset [gw67] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_suffix_template_format_on_disk [gw15] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dataset_getitem_on_disk [gw27] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_remove_columns_in_memory [gw2] [ 26%] PASSED tests/packaged_modules/test_imagefolder.py::test_config_raises_when_invalid_data_files[data_files1] [gw16] [ 26%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_url_scheme_is_rejected[file://outside/secret.txt] tests/test_arrow_dataset.py::BaseDatasetTest::test_to_parquet_in_memory tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_multiple_splits[csv-False] [gw5] [ 26%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_variable_string_feature_inference tests/io/test_csv.py::test_csv_datasetdict_reader_split[None] [gw85] [ 26%] PASSED tests/io/test_json.py::test_dataset_from_json_with_unsorted_column_names[None] tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_multiprocessing_in_memory tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[0-expected_shape0-memory_mapped] tests/test_arrow_dataset.py::BaseDatasetTest::test_with_transform_on_disk tests/packaged_modules/test_webdataset.py::test_audio_webdataset [gw49] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_numpy_multiple_columns_on_disk [gw58] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_single_in_memory tests/packaged_modules/test_json.py::test_json_generate_tables[json_file_with_list_of_dicts-config_kwargs4-expected4] [gw36] [ 26%] PASSED tests/packaged_modules/test_parquet.py::test_parquet_columns tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_torch_in_memory [gw40] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_select_columns_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_map_remove_columns_in_memory tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[True-True] tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_deepcopy_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_map_jax_on_disk [gw25] [ 26%] PASSED tests/packaged_modules/test_text.py::test_text_linebreaks[True] tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[None-False] [gw68] [ 26%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_shard_on_disk tests/packaged_modules/test_hdf5.py::test_config_raises_when_invalid_name [gw38] [ 27%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_jax_on_disk tests/packaged_modules/test_imagefolder.py::test_config_raises_when_invalid_data_files[data_files2] tests/packaged_modules/test_hdf5.py::test_hdf5_variable_length_strings tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_unspecified_in_memory [gw32] [ 27%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[json_file_with_list_of_dicts-config_kwargs4-expected4] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_splits[1-True] tests/packaged_modules/test_sql.py::test_config_raises_when_invalid_name tests/test_arrow_dataset.py::BaseDatasetTest::test_remove_columns_on_disk [gw2] [ 27%] PASSED tests/packaged_modules/test_imagefolder.py::test_config_raises_when_invalid_data_files[data_files2] [gw24] [ 27%] PASSED tests/packaged_modules/test_hdf5.py::test_config_raises_when_invalid_name tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_index_reshuffling_on_disk [gw36] [ 27%] PASSED tests/packaged_modules/test_sql.py::test_config_raises_when_invalid_name tests/test_arrow_dataset.py::BaseDatasetTest::test_map_tf_on_disk tests/features/test_audio.py::test_audio_decode_example [gw87] [ 27%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_split[None] tests/io/test_sql.py::test_dataset_from_sql_keep_in_memory[False] [gw33] [ 27%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_index_reshuffling_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_dataset_conversion_in_memory tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_to_pandas_decode_json tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_pandas_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_select_columns_on_disk tests/packaged_modules/test_json.py::test_json_generate_tables[json_file_with_list_of_dicts_field-config_kwargs5-expected5] [gw66] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_class_encode_column_on_disk [gw67] [ 27%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_dataset_conversion_in_memory [gw53] [ 27%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_tf_on_disk [gw81] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_remove_columns_in_memory [gw49] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_pandas_in_memory tests/test_arrow_dataset.py::test_concatenate_datasets[1-expected_shape1-memory_mapped] [gw126] [ 27%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[True-True] [gw69] [ 27%] PASSED tests/features/test_image.py::test_image_feature_encode_example[0] tests/test_arrow_dataset.py::BaseDatasetTest::test_shuffle_in_memory [gw56] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_with_transform_on_disk tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_concatenate_mixed_memory_and_disk [gw65] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_torch_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_single_on_disk [gw89] [ 27%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[0-expected_shape0-memory_mapped] tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[0-expected_shape0-concatenation] [gw63] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_repeat_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_map_load_from_cache_file_false_progress_bar_starts_at_zero_in_memory tests/packaged_modules/test_sql.py::test_config_raises_when_invalid_data_files[str_path] tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_json_feature_all_none tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_pandas_on_disk tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[records-list-keys0-None] [gw18] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_complex_image_in_memory [gw28] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_unspecified_in_memory [gw38] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_load_from_cache_file_false_progress_bar_starts_at_zero_in_memory [gw10] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pd_dataframe_on_disk [gw30] [ 27%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_multiple_splits[csv-False] [gw85] [ 27%] PASSED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_to_pandas_decode_json [gw88] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_parquet_in_memory [gw36] [ 27%] PASSED tests/packaged_modules/test_sql.py::test_config_raises_when_invalid_data_files[str_path] [gw59] [ 27%] PASSED tests/features/test_image.py::test_dataset_with_image_feature_from_pil_image[False] tests/features/test_image.py::test_dataset_cast_to_image_features_polars [gw93] [ 27%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient[records-list-keys0-None] [gw87] [ 27%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets[1-expected_shape1-memory_mapped] [gw26] [ 27%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[6] tests/features/test_audio.py::test_audio_feature_encode_example[6] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pl_dataframe_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_map_remove_columns_on_disk [gw49] [ 27%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_pandas_on_disk tests/io/test_json.py::test_datasetdict_from_json_splits[None] tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_label_renaming_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_dataset_conversion_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_repeat_on_disk [gw67] [ 27%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_dataset_conversion_on_disk [gw10] [ 28%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pl_dataframe_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_torch_on_disk tests/test_arrow_dataset.py::test_interleave_datasets [gw32] [ 28%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[json_file_with_list_of_dicts_field-config_kwargs5-expected5] [gw58] [ 28%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_single_on_disk [gw64] [ 28%] PASSED tests/io/test_json.py::test_datasetdict_from_json_splits[None] tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_to_pandas_decode_nested_json tests/test_arrow_dataset.py::test_sort_with_none[last] [gw69] [ 28%] PASSED tests/test_arrow_dataset.py::test_sort_with_none[last] [gw56] [ 28%] PASSED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_concatenate_mixed_memory_and_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_complex_image_on_disk tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_multiple_splits[csv-True] [gw33] [ 28%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_label_renaming_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_label_renaming_on_disk [gw8] [ 28%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_variable_length_strings [gw91] [ 28%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[False] tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-True-None-True] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[False] [gw33] [ 28%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_label_renaming_on_disk tests/test_arrow_dataset.py::test_concatenate_datasets[1-expected_shape1-mixed] [gw68] [ 28%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_shuffle_in_memory [gw89] [ 28%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[0-expected_shape0-concatenation] tests/test_arrow_dataset.py::test_dataset_add_column[None-True-column1-int64] [gw27] [ 28%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_remove_columns_on_disk [gw85] [ 28%] PASSED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_to_pandas_decode_nested_json [gw74] [ 28%] SKIPPED tests/features/test_image.py::test_dataset_cast_to_image_features_polars tests/packaged_modules/test_hdf5.py::test_config_raises_when_invalid_data_files[str_path] [gw24] [ 28%] PASSED tests/packaged_modules/test_hdf5.py::test_config_raises_when_invalid_data_files[str_path] [gw59] [ 28%] PASSED tests/test_arrow_dataset.py::test_interleave_datasets [gw84] [ 28%] RERUN tests/features/test_video.py::test_dataset_with_video_feature tests/features/test_video.py::test_dataset_with_video_feature tests/packaged_modules/test_hdf5.py::test_hdf5_different_dtypes tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_lines_multiproc[True-load_json_lines] [gw102] [ 28%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[False-True-None-True] [gw34] [ 28%] FAILED tests/features/test_audio.py::test_backwards_compatibility tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_from_dict [gw81] [ 28%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_remove_columns_on_disk tests/test_arrow_dataset.py::test_cast_with_sliced_list tests/test_arrow_dataset.py::test_dataset_add_column[transform2-True-column1-int64] [gw79] [ 28%] PASSED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_json_feature_all_none [gw87] [ 28%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets[1-expected_shape1-mixed] [gw7] [ 28%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[6] tests/features/test_audio.py::test_dataset_cast_to_audio_features[6] [gw21] [ 28%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[None-False] tests/test_arrow_dataset.py::BaseDatasetTest::test_to_parquet_on_disk tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-False-columns1-True] [gw20] [ 28%] FAILED tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature_mp3 [gw64] [ 28%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[None-True-column1-int64] [gw65] [ 28%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_torch_on_disk tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[True-None] tests/packaged_modules/test_audiofolder.py::test_config_raises_when_invalid_data_files[str_path] [gw113] [ 28%] PASSED tests/packaged_modules/test_audiofolder.py::test_config_raises_when_invalid_data_files[str_path] [gw100] [ 28%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_columns[True-False-columns1-True] [gw29] [ 28%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_csv_on_disk [gw118] [ 28%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[True-True] tests/test_arrow_dataset.py::test_dataset_add_column[transform3-True-column1-int64] tests/io/test_json.py::test_dataset_from_json_split[split1] tests/test_arrow_dataset.py::test_dataset_add_column[transform1-True-column1-int64] tests/test_arrow_dataset.py::test_concatenate_datasets_new_columns tests/features/test_image.py::test_image_feature_encode_example[6] tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[1-expected_shape1-in_memory] tests/test_arrow_dataset.py::BaseDatasetTest::test_shuffle_on_disk [gw85] [ 28%] PASSED tests/test_arrow_dataset.py::test_cast_with_sliced_list tests/test_arrow_dataset.py::BaseDatasetTest::test_with_format_in_memory [gw93] [ 29%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform2-True-column1-int64] tests/test_arrow_dataset.py::test_interleave_datasets_probabilities [gw58] [ 29%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_with_format_in_memory [gw26] [ 29%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example[6] [gw56] [ 29%] PASSED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_from_dict tests/packaged_modules/test_hdf5.py::test_config_raises_when_invalid_data_files[data_files1] tests/features/test_pdf.py::test_pdf_feature_encode_example[0] [gw92] [ 29%] PASSED tests/io/test_json.py::test_dataset_from_json_split[split1] tests/io/test_parquet.py::test_dataset_to_parquet_keeps_features tests/test_arrow_dataset.py::test_dataset_add_column[None-True-column2-float64] tests/test_arrow_dataset.py::test_dataset_add_item[item1-False-transform2] tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_json_feature_keeps_none_as_null tests/features/test_image.py::test_dataset_cast_to_image_features[1] tests/test_arrow_dataset.py::test_update_metadata_with_features tests/packaged_modules/test_csv.py::test_csv_generate_tables_skips_malformed_row_with_on_bad_lines_skip [gw30] [ 29%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_multiple_splits[csv-True] [gw24] [ 29%] PASSED tests/packaged_modules/test_hdf5.py::test_config_raises_when_invalid_data_files[data_files1] [gw87] [ 29%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets_new_columns [gw40] [ 29%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_select_columns_on_disk tests/features/test_audio.py::test_audio_feature_encode_example[1] [gw3] [ 29%] RERUN tests/features/test_audio.py::test_audio_decode_example [gw63] [ 29%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_repeat_on_disk tests/features/test_audio.py::test_audio_decode_example tests/io/test_parquet.py::test_dataset_from_parquet_split[split1] [gw105] [ 29%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_split[split1] [gw69] [ 29%] PASSED tests/test_arrow_dataset.py::test_update_metadata_with_features [gw64] [ 29%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[None-True-column2-float64] [gw74] [ 29%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform1-True-column1-int64] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[True-False] [gw59] [ 29%] PASSED tests/test_arrow_dataset.py::test_interleave_datasets_probabilities [gw89] [ 29%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[1-expected_shape1-in_memory] tests/test_arrow_dataset.py::test_dataset_add_column[transform2-True-column2-float64] tests/test_arrow_dataset.py::BaseDatasetTest::test_select_in_memory [gw68] [ 29%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_shuffle_on_disk [gw102] [ 29%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform3-True-column1-int64] tests/features/test_nifti.py::test_nifti_feature_encode_example[2-test_nifti.nii] tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_from_dict_on_mixed_types tests/features/test_image.py::test_image_embed_storage tests/packaged_modules/test_csv.py::test_csv_convert_int_list [gw100] [ 29%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item1-False-transform2] tests/test_arrow_dataset.py::test_dataset_add_item[item2-False-None] tests/io/test_sql.py::test_dataset_from_sql_features[features4] tests/features/test_audio.py::test_dataset_cast_to_audio_features[0] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[True-False] [gw52] [ 29%] SKIPPED tests/features/test_pdf.py::test_pdf_feature_encode_example[0] tests/test_arrow_dataset.py::test_dataset_from_json_split[None] [gw88] [ 29%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_parquet_on_disk tests/packaged_modules/test_arrow.py::test_arrow_generate_tables_rejects_invalid_record_batch [gw106] [ 29%] PASSED tests/io/test_sql.py::test_dataset_from_sql_keep_in_memory[False] [gw45] [ 29%] PASSED tests/features/test_image.py::test_image_feature_encode_example[6] [gw114] [ 29%] PASSED tests/packaged_modules/test_arrow.py::test_arrow_generate_tables_rejects_invalid_record_batch tests/test_arrow_dataset.py::BaseDatasetTest::test_with_format_on_disk tests/test_arrow_dataset.py::test_interleave_datasets_oversampling_strategy tests/test_arrow_dataset.py::test_concatenate_datasets_complex_features[0] [gw87] [ 29%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets_complex_features[0] tests/test_arrow_dataset.py::BaseDatasetTest::test_to_dict_in_memory [gw121] [ 29%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_metadata[True-False] [gw113] [ 29%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item2-False-None] [gw112] [ 29%] PASSED tests/io/test_sql.py::test_dataset_from_sql_features[features4] tests/packaged_modules/test_conll.py::test_generate_tables_with_tab_delimiter tests/io/test_text.py::test_datasetdict_from_text_keep_in_memory[False] [gw58] [ 29%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_with_format_on_disk [gw105] [ 29%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_split[None] [gw119] [ 29%] PASSED tests/packaged_modules/test_conll.py::test_generate_tables_with_tab_delimiter tests/io/test_csv.py::test_csv_datasetdict_reader_keep_in_memory[True] tests/test_arrow_dataset.py::test_dataset_iter_batch[True-4] tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_archives[False] tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[1-expected_shape1-memory_mapped] [gw110] [ 30%] PASSED tests/packaged_modules/test_csv.py::test_csv_convert_int_list [gw93] [ 30%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform2-True-column2-float64] tests/test_arrow_dataset.py::test_dataset_add_item[item1-False-transform3] tests/io/test_text.py::test_dataset_from_text_split[None] [gw8] [ 30%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_different_dtypes tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params0-False] [gw18] [ 30%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_complex_image_on_disk tests/packaged_modules/test_hdf5.py::test_config_raises_when_invalid_data_files[data_files2] tests/test_arrow_dataset.py::test_concatenate_datasets[0-expected_shape0-in_memory] [gw79] [ 30%] PASSED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_json_feature_keeps_none_as_null [gw111] [ 30%] PASSED tests/io/test_parquet.py::test_dataset_to_parquet_keeps_features [gw59] [ 30%] PASSED tests/test_arrow_dataset.py::test_interleave_datasets_oversampling_strategy tests/test_arrow_dataset.py::BaseDatasetTest::test_to_polars_in_memory [gw106] [ 30%] PASSED tests/test_arrow_dataset.py::test_dataset_iter_batch[True-4] [gw115] [ 30%] FAILED tests/packaged_modules/test_audiofolder.py::test_generate_examples_with_labels [gw124] [ 30%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_splits[1-True] tests/test_arrow_dataset.py::test_dataset_from_generator_split[foo] [gw24] [ 30%] PASSED tests/packaged_modules/test_hdf5.py::test_config_raises_when_invalid_data_files[data_files2] [gw56] [ 30%] PASSED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_from_dict_on_mixed_types [gw48] [ 30%] PASSED tests/features/test_image.py::test_dataset_cast_to_image_features[1] tests/test_arrow_dataset.py::test_dataset_filter_batched_indices [gw89] [ 30%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[1-expected_shape1-memory_mapped] [gw109] [ 30%] PASSED tests/io/test_text.py::test_dataset_from_text_split[None] [gw29] [ 30%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_dict_in_memory [gw100] [ 30%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item1-False-transform3] [gw88] [ 30%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_polars_in_memory [gw112] [ 30%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_split[foo] [gw125] [ 30%] FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-True] tests/test_arrow_dataset.py::test_dataset_add_column[transform1-True-column2-float64] [gw114] [ 30%] PASSED tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params0-False] [gw75] [ 30%] PASSED tests/features/test_image.py::test_image_embed_storage tests/test_arrow_dataset.py::BaseDatasetTest::test_to_polars_on_disk [gw88] [ 30%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_polars_on_disk tests/test_arrow_dataset.py::test_dataset_add_item[item2-True-transform2] tests/io/test_json.py::test_datasetdict_from_json_keep_in_memory[True] tests/test_arrow_dataset.py::test_dataset_add_item[item3-True-None] tests/packaged_modules/test_hdf5.py::test_hdf5_batch_processing [gw21] [ 30%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[True-None] [gw15] [ 30%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_deepcopy_in_memory tests/test_arrow_dataset.py::test_dataset_from_sql_features[features3] [gw37] [ 30%] RERUN tests/packaged_modules/test_webdataset.py::test_audio_webdataset tests/test_arrow_dataset.py::test_concatenate_datasets_complex_features[1] tests/test_arrow_dataset.py::test_dataset_add_column[transform1-False-column0-string] [gw19] [ 30%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[1] tests/features/test_audio.py::test_audio_feature_encode_example[1] tests/test_arrow_dataset.py::test_dataset_from_sql_con_type[string] tests/test_arrow_dataset.py::BaseDatasetTest::test_to_dict_on_disk [gw48] [ 30%] PASSED tests/test_arrow_dataset.py::test_dataset_filter_batched_indices tests/test_arrow_dataset.py::test_dataset_from_json_features[None] tests/test_arrow_dataset.py::test_class_encode_column_with_none[False] [gw9] [ 30%] RERUN tests/features/test_audio.py::test_dataset_with_audio_feature_tar_mp3 tests/features/test_audio.py::test_dataset_with_audio_feature_tar_mp3 tests/packaged_modules/test_webdataset.py::test_audio_webdataset [gw87] [ 30%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets_complex_features[1] tests/test_arrow_dataset.py::test_dataset_iter_batch[True-5] tests/test_arrow_dataset.py::test_dataset_add_column[transform3-False-column0-string] tests/test_arrow_dataset.py::test_dataset_add_item[item2-False-transform1] tests/io/test_parquet.py::test_parquet_datasetdict_reader_split[split1] tests/test_arrow_dataset.py::test_dataset_from_text_path_type[list] tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_set_format_encode tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[True-True] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-False] tests/test_arrow_dataset.py::test_interleave_datasets_probabilities_oversampling_strategy tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_deepcopy_on_disk tests/test_arrow_dataset.py::test_dataset_add_item[item0-True-None] [gw106] [ 30%] PASSED tests/test_arrow_dataset.py::test_dataset_iter_batch[True-5] [gw60] [ 30%] SKIPPED tests/features/test_nifti.py::test_nifti_feature_encode_example[2-test_nifti.nii] tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params0-True] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_splits[2-False] [gw74] [ 30%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform1-True-column2-float64] [gw69] [ 31%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets[0-expected_shape0-in_memory] tests/test_arrow_dataset.py::test_dataset_from_parquet_keep_in_memory[False] [gw119] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_path_type[list] [gw114] [ 31%] PASSED tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params0-True] tests/test_arrow_dataset.py::test_dataset_from_generator_fingerprint[None] tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_from_pandas [gw79] [ 31%] SKIPPED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_set_format_encode [gw113] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item2-False-transform1] [gw111] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_features[None] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[None-None] tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features1-True] [gw29] [ 31%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_dict_on_disk [gw85] [ 31%] PASSED tests/test_arrow_dataset.py::test_class_encode_column_with_none[False] [gw93] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform3-False-column0-string] tests/test_arrow_dataset.py::test_dataset_from_file[False] tests/test_arrow_dataset.py::test_dataset_add_column[transform3-True-column2-float64] [gw64] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform1-False-column0-string] tests/packaged_modules/test_hdf5.py::test_hdf5_basic_functionality tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[1-expected_shape1-concatenation] tests/test_arrow_dataset.py::test_dataset_from_generator_features[features3] tests/packaged_modules/test_csv.py::test_config_raises_when_invalid_data_files[str_path] tests/test_arrow_dataset.py::test_dataset_from_json_split[split1] [gw52] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item2-True-transform2] tests/test_arrow_dataset.py::test_dataset_add_column[transform2-False-column0-string] [gw112] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_fingerprint[None] [gw40] [ 31%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_select_in_memory tests/test_arrow_dataset.py::test_dataset_from_text_features[features3] [gw110] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_from_sql_features[features3] [gw96] [ 31%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features1-True] tests/test_arrow_dataset.py::test_dataset_from_generator_keep_in_memory[False] [gw118] [ 31%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[True-False] [gw56] [ 31%] PASSED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_from_pandas tests/test_arrow_dataset.py::test_dataset_add_item[item2-False-transform2] tests/test_arrow_dataset.py::test_dataset_add_column[transform1-False-column1-int64] [gw8] [ 31%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_batch_processing tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features4-True] [gw99] [ 31%] PASSED tests/packaged_modules/test_csv.py::test_config_raises_when_invalid_data_files[str_path] [gw109] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_features[features3] [gw113] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item2-False-transform2] [gw45] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item3-True-None] tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_in_memory [gw30] [ 31%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_archives[False] [gw92] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item0-True-None] tests/test_arrow_dataset.py::test_dataset_add_item[item1-True-None] tests/test_arrow_dataset.py::test_dataset_from_json_features[features1] [gw70] [ 31%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_split[split1] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[None-True] [gw120] [ 31%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[None-True] tests/test_arrow_dataset.py::test_dataset_add_column[None-False-column0-string] [gw105] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_split[split1] tests/test_arrow_dataset.py::test_dataset_add_column[transform3-False-column1-int64] tests/test_arrow_dataset.py::test_concatenate_datasets[0-expected_shape0-memory_mapped] [gw59] [ 31%] PASSED tests/test_arrow_dataset.py::test_interleave_datasets_probabilities_oversampling_strategy [gw100] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item1-True-None] tests/test_arrow_dataset.py::test_class_encode_column_with_none[True] [gw102] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform3-True-column2-float64] tests/test_arrow_dataset.py::test_dataset_from_sql_features[features4] [gw121] [ 31%] PASSED tests/test_arrow_dataset.py::test_dataset_from_sql_con_type[string] tests/test_arrow_dataset.py::test_dataset_iter_batch[False-4] tests/test_arrow_dataset.py::test_dataset_add_item[item2-True-transform3] tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params1-False] [gw69] [ 32%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets[0-expected_shape0-memory_mapped] [gw74] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform2-False-column0-string] [gw111] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_features[features1] [gw64] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform1-False-column1-int64] [gw59] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_iter_batch[False-4] [gw72] [ 32%] PASSED tests/io/test_parquet.py::test_parquet_datasetdict_reader_features[features4-True] tests/packaged_modules/test_hdf5.py::test_hdf5_column_filtering [gw93] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform3-False-column1-int64] [gw106] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[None-False-column0-string] tests/test_arrow_dataset.py::BaseDatasetTest::test_to_list_in_memory tests/test_arrow_dataset.py::test_dataset_add_item[item3-True-transform1] [gw85] [ 32%] PASSED tests/test_arrow_dataset.py::test_class_encode_column_with_none[True] [gw3] [ 32%] RERUN tests/features/test_audio.py::test_audio_decode_example tests/features/test_audio.py::test_audio_decode_example [gw19] [ 32%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[1] tests/features/test_audio.py::test_audio_feature_encode_example[1] tests/test_arrow_dataset.py::test_dataset_batch_by_column tests/test_arrow_dataset.py::test_dataset_add_item[item0-True-transform1] [gw92] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item0-True-transform1] tests/test_arrow_dataset.py::test_dataset_add_column[transform4-False-column0-string] [gw102] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform4-False-column0-string] [gw110] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_from_sql_features[features4] [gw114] [ 32%] PASSED tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params1-False] tests/test_arrow_dataset.py::test_dataset_add_item[item2-False-transform3] [gw115] [ 32%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[None-None] tests/test_arrow_dataset.py::test_filter_async tests/test_arrow_dataset.py::BaseDatasetTest::test_select_on_disk tests/test_arrow_dataset.py::test_dataset_add_column[transform3-False-column2-float64] [gw94] [ 32%] PASSED tests/io/test_json.py::test_datasetdict_from_json_keep_in_memory[True] tests/test_arrow_dataset.py::test_dataset_from_generator_features[features4] tests/test_arrow_dataset.py::test_dataset_with_torch_dataloader[4] [gw89] [ 32%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[1-expected_shape1-concatenation] tests/test_arrow_dataset.py::test_dataset_add_item[item1-True-transform1] [gw45] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item3-True-transform1] [gw29] [ 32%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_list_in_memory tests/test_arrow_dataset.py::test_dataset_from_sql_keep_in_memory[False] tests/test_arrow_dataset.py::test_dataset_add_column[None-False-column1-int64] [gw37] [ 32%] RERUN tests/packaged_modules/test_webdataset.py::test_audio_webdataset tests/packaged_modules/test_webdataset.py::test_audio_webdataset [gw100] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item1-True-transform1] tests/test_arrow_dataset.py::test_dataset_from_sql_con_type[engine] [gw18] [ 32%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_in_memory tests/test_arrow_dataset.py::test_build_local_temp_path[/absolute/path] [gw52] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item2-True-transform3] [gw8] [ 32%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_column_filtering tests/test_arrow_dataset.py::test_dataset_from_json_features[features2] tests/test_arrow_dataset.py::test_dataset_from_generator_fingerprint[test-dataset] [gw86] [ 32%] PASSED tests/io/test_csv.py::test_csv_datasetdict_reader_keep_in_memory[True] [gw22] [ 32%] RERUN tests/features/test_audio.py::test_load_dataset_with_audio_feature[False] tests/features/test_audio.py::test_load_dataset_with_audio_feature[False] tests/test_arrow_dataset.py::test_dataset_from_json_split[train] [gw70] [ 32%] PASSED tests/test_arrow_dataset.py::test_build_local_temp_path[/absolute/path] [gw96] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_batch_by_column [gw109] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_features[features4] tests/test_arrow_dataset.py::test_dataset_add_item[item1-True-transform2] [gw113] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item2-False-transform3] [gw106] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[None-False-column1-int64] tests/test_arrow_dataset.py::test_dataset_add_item[item3-True-transform2] tests/test_arrow_dataset.py::BaseDatasetTest::test_to_list_on_disk [gw93] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform3-False-column2-float64] [gw112] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_fingerprint[test-dataset] tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params2-True] tests/test_arrow_dataset.py::test_concatenate_datasets[0-expected_shape0-mixed] tests/test_arrow_dataset.py::StratifiedTest::test_train_test_split_startify tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_indices_in_memory tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params1-True] [gw111] [ 32%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_features[features2] tests/test_arrow_dataset.py::test_dataset_add_item[item3-False-None] tests/test_arrow_dataset.py::test_dataset_add_column[None-False-column2-float64] tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_tf_string_encoding [gw120] [ 33%] PASSED tests/test_arrow_dataset.py::test_filter_async [gw100] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item1-True-transform2] [gw105] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_split[train] tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[None-True] [gw75] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_keep_in_memory[False] [gw121] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_from_sql_con_type[engine] tests/test_arrow_dataset.py::test_dataset_add_column[transform2-False-column1-int64] [gw82] [ 33%] FAILED tests/features/test_video.py::test_dataset_with_video_feature_map_is_decoded [gw106] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[None-False-column2-float64] [gw52] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item3-False-None] tests/test_arrow_dataset.py::test_dataset_add_column[transform4-False-column1-int64] [gw114] [ 33%] PASSED tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params1-True] [gw84] [ 33%] RERUN tests/features/test_video.py::test_dataset_with_video_feature tests/features/test_video.py::test_dataset_with_video_feature [gw21] [ 33%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[True-True] [gw24] [ 33%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_basic_functionality [gw29] [ 33%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_list_on_disk tests/test_arrow_dataset.py::test_dataset_from_json_split[test] [gw69] [ 33%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets[0-expected_shape0-mixed] [gw99] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_with_torch_dataloader[4] [gw79] [ 33%] SKIPPED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_tf_string_encoding tests/test_arrow_dataset.py::test_dataset_add_item[item0-True-transform2] tests/test_arrow_dataset.py::test_dataset_from_parquet_path_type[list] [gw45] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item3-True-transform2] tests/test_arrow_dataset.py::test_dataset_add_item[item3-False-transform1] tests/test_arrow_dataset.py::test_dataset_add_item[item2-True-None] tests/test_arrow_dataset.py::test_dataset_getitem_int_np_equivalence [gw102] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform4-False-column1-int64] tests/io/test_parquet.py::test_parquet_read_filters [gw19] [ 33%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example[1] tests/features/test_video.py::test_load_dataset_with_video_feature[False] [gw92] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item0-True-transform2] tests/test_arrow_dataset.py::test_dataset_from_json_features[features3] tests/test_arrow_dataset.py::test_dataset_from_sql_features[None] [gw74] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform2-False-column1-int64] [gw113] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item2-True-None] [gw120] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_getitem_int_np_equivalence tests/test_arrow_dataset.py::test_dataset_add_column[transform1-False-column2-float64] [gw105] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_split[test] [gw18] [ 33%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_indices_in_memory tests/test_arrow_dataset.py::test_dataset_batch_with_table_format[pyarrow] [gw76] [ 33%] PASSED tests/io/test_text.py::test_datasetdict_from_text_keep_in_memory[False] [gw86] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_path_type[list] [gw52] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item3-False-transform1] tests/test_arrow_dataset.py::test_dataset_from_parquet_features[features4] [gw98] [ 33%] PASSED tests/io/test_parquet.py::test_parquet_read_filters tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[False-False] [gw94] [ 33%] PASSED tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params2-True] [gw115] [ 33%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[None-True] [gw119] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_keep_in_memory[False] tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_to_list_and_to_dict_decode_json [gw111] [ 33%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_features[features3] tests/test_arrow_dataset.py::test_from_spark [gw112] [ 34%] SKIPPED tests/test_arrow_dataset.py::test_from_spark tests/test_arrow_dataset.py::test_build_local_temp_path[hf://bucket/relative/path] tests/test_arrow_dataset.py::test_dataset_from_json_path_type[str] [gw64] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform1-False-column2-float64] tests/test_arrow_dataset.py::test_dataset_from_parquet_keep_in_memory[True] tests/test_arrow_dataset.py::test_dataset_save_to_disk_with_large_list tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params3-False] [gw96] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_batch_with_table_format[pyarrow] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[False-True] [gw116] [ 34%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_metadata[False-True] tests/test_arrow_dataset.py::test_dataset_add_column[transform2-False-column2-float64] [gw98] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_save_to_disk_with_large_list tests/test_arrow_dataset.py::test_map_cases[True] tests/test_arrow_dataset.py::test_dataset_add_item[item0-True-transform3] [gw70] [ 34%] PASSED tests/test_arrow_dataset.py::test_build_local_temp_path[hf://bucket/relative/path] tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[True-False] tests/test_arrow_dataset.py::test_from_spark_features tests/test_arrow_dataset.py::test_dataset_from_text_keep_in_memory[False] tests/test_arrow_dataset.py::test_dataset_add_item[item3-True-transform3] [gw121] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_from_sql_features[None] tests/test_arrow_reader.py::BaseReaderTest::test_read_sharded tests/test_arrow_dataset.py::test_dataset_add_item[item3-False-transform2] [gw79] [ 34%] PASSED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_to_list_and_to_dict_decode_json [gw112] [ 34%] SKIPPED tests/test_arrow_dataset.py::test_from_spark_features [gw94] [ 34%] PASSED tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params3-False] [gw105] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_path_type[str] tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[missing-prompt] tests/test_arrow_dataset.py::test_dataset_getitem_raises tests/io/test_text.py::test_datasetdict_from_text_split[None] tests/test_arrow_dataset.py::test_dataset_from_csv_split[train] [gw74] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform2-False-column2-float64] tests/test_arrow_dataset.py::test_dataset_from_generator_split[None] tests/test_arrow_dataset.py::test_dataset_batch_with_table_format[pandas] tests/test_arrow_dataset.py::test_dataset_from_generator_keep_in_memory[True] [gw4] [ 34%] SKIPPED tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[missing-prompt] [gw76] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_features[features4] [gw120] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_getitem_raises tests/test_arrow_dataset.py::test_dataset_add_column[transform4-False-column2-float64] [gw52] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item3-False-transform2] [gw92] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item0-True-transform3] tests/test_arrow_dataset.py::test_dataset_save_to_disk_and_load_from_disk_round_trip_with_large_list tests/test_arrow_dataset.py::test_dataset_from_sql_features[features1] tests/test_arrow_dataset.py::test_build_local_temp_path[hdfs://relative/path] tests/test_arrow_dataset.py::test_dataset_from_parquet_split[None] tests/features/test_array_xd.py::ArrayXDTest::test_from_dict_2d [gw109] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_split[None] tests/test_arrow_dataset.py::test_dataset_from_json_features[features4] [gw102] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform4-False-column2-float64] [gw116] [ 34%] PASSED tests/test_arrow_reader.py::BaseReaderTest::test_read_sharded [gw37] [ 34%] FAILED tests/packaged_modules/test_webdataset.py::test_audio_webdataset [gw70] [ 34%] PASSED tests/test_arrow_dataset.py::test_build_local_temp_path[hdfs://relative/path] tests/test_arrow_dataset.py::test_dataset_add_item[item1-False-None] [gw123] [ 34%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[False-False] [gw96] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_batch_with_table_format[pandas] [gw92] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item1-False-None] [gw98] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_save_to_disk_and_load_from_disk_round_trip_with_large_list tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params3-True] tests/test_arrow_reader.py::test_read_table[False] tests/io/test_parquet.py::test_dataset_from_parquet_features[None] tests/features/test_features.py::FeaturesTest::test_class_label_feature_with_no_labels tests/packaged_modules/test_webdataset.py::test_video_webdataset tests/test_arrow_dataset.py::test_polars_round_trip [gw111] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_features[features4] [gw42] [ 34%] PASSED tests/features/test_features.py::FeaturesTest::test_class_label_feature_with_no_labels tests/test_arrow_dataset.py::test_categorical_dataset tests/test_arrow_dataset.py::test_dataset_batch_with_polars_format [gw78] [ 34%] PASSED tests/io/test_text.py::test_datasetdict_from_text_split[None] tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[True-True] tests/test_arrow_dataset.py::test_from_polars_with_large_list [gw96] [ 34%] SKIPPED tests/test_arrow_dataset.py::test_dataset_batch_with_polars_format [gw121] [ 34%] PASSED tests/test_arrow_dataset.py::test_dataset_from_sql_features[features1] [gw40] [ 34%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_select_on_disk [gw98] [ 35%] SKIPPED tests/test_arrow_dataset.py::test_from_polars_with_large_list [gw123] [ 35%] SKIPPED tests/test_arrow_dataset.py::test_polars_round_trip [gw94] [ 35%] PASSED tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params3-True] [gw124] [ 35%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_splits[2-False] tests/test_arrow_dataset.py::test_dataset_from_generator_split[split1] [gw76] [ 35%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_split[None] [gw3] [ 35%] FAILED tests/features/test_audio.py::test_audio_decode_example [gw120] [ 35%] PASSED tests/test_arrow_dataset.py::test_categorical_dataset [gw101] [ 35%] PASSED tests/io/test_parquet.py::test_dataset_from_parquet_features[None] [gw45] [ 35%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item3-True-transform3] tests/test_arrow_dataset.py::test_add_column [gw37] [ 35%] PASSED tests/packaged_modules/test_webdataset.py::test_video_webdataset [gw15] [ 35%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_deepcopy_on_disk tests/test_arrow_reader.py::test_make_file_instructions[train-train[-200:]-100-read_range3] tests/test_arrow_dataset.py::test_build_local_temp_path[hdfs:///absolute/path] tests/test_arrow_reader.py::test_read_instruction_spec [gw109] [ 35%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_split[split1] tests/test_arrow_writer.py::TypedSequenceTest::test_compatible_type [gw42] [ 35%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_compatible_type [gw0] [ 35%] PASSED tests/features/test_array_xd.py::ArrayXDTest::test_from_dict_2d tests/test_arrow_dataset.py::test_dataset_from_parquet_split[split1] tests/test_arrow_dataset.py::test_dummy_dataset_serialize_fs tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_splits[2-True] [gw70] [ 35%] PASSED tests/test_arrow_dataset.py::test_build_local_temp_path[hdfs:///absolute/path] [gw4] [ 35%] PASSED tests/test_arrow_reader.py::test_make_file_instructions[train-train[-200:]-100-read_range3] [gw78] [ 35%] PASSED tests/test_arrow_reader.py::test_read_instruction_spec tests/test_arrow_reader.py::test_make_file_instructions[train-train[-200:]-shard_lengths7-read_range7] tests/features/test_audio.py::test_audio_resampling [gw123] [ 35%] PASSED tests/test_arrow_dataset.py::test_add_column [gw107] [ 35%] PASSED tests/packaged_modules/test_csv.py::test_csv_generate_tables_skips_malformed_row_with_on_bad_lines_skip tests/test_arrow_dataset.py::test_dataset_from_generator_split[train] tests/test_arrow_dataset.py::test_dataset_add_item_new_columns tests/test_arrow_writer.py::test_write[None-None] [gw0] [ 35%] PASSED tests/test_arrow_reader.py::test_make_file_instructions[train-train[-200:]-shard_lengths7-read_range7] [gw101] [ 35%] PASSED tests/test_arrow_writer.py::test_write[None-None] tests/test_arrow_reader.py::test_make_file_instructions[train-train[-20%:]-shard_lengths4-read_range4] tests/test_arrow_dataset.py::test_dataset_from_csv_features[features1] [gw94] [ 35%] PASSED tests/test_arrow_dataset.py::test_dummy_dataset_serialize_fs [gw4] [ 35%] PASSED tests/test_arrow_reader.py::test_make_file_instructions[train-train[-20%:]-shard_lengths4-read_range4] tests/packaged_modules/test_webdataset.py::test_webdataset_errors_on_bad_file tests/test_arrow_dataset.py::test_process_large_few_examples tests/test_arrow_reader.py::test_make_file_instructions_basic tests/test_arrow_dataset.py::test_from_polars_save_to_disk_with_large_list [gw12] [ 35%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_partial_remap_on_disk tests/test_arrow_writer.py::TypedSequenceTest::test_exhaustive_cast [gw109] [ 35%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_split[train] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_reuses_cache_with_different_num_proc_in_memory [gw98] [ 35%] SKIPPED tests/test_arrow_dataset.py::test_from_polars_save_to_disk_with_large_list [gw78] [ 35%] PASSED tests/test_arrow_reader.py::test_make_file_instructions_basic [gw76] [ 35%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_split[split1] [gw37] [ 35%] PASSED tests/packaged_modules/test_webdataset.py::test_webdataset_errors_on_bad_file [gw45] [ 35%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item_new_columns tests/test_arrow_writer.py::test_write[None-1] tests/test_arrow_reader.py::test_make_file_instructions_raises[None-TypeError] tests/io/test_json.py::test_dataset_from_json_keep_in_memory[True] [gw0] [ 35%] PASSED tests/test_arrow_reader.py::test_make_file_instructions_raises[None-TypeError] tests/test_arrow_dataset.py::test_dataset_from_parquet_split[train] [gw101] [ 35%] PASSED tests/test_arrow_writer.py::test_write[None-1] tests/test_arrow_reader.py::test_make_file_instructions[train-train[-20%:]-100-read_range0] [gw123] [ 36%] PASSED tests/test_arrow_dataset.py::test_process_large_few_examples tests/packaged_modules/test_webdataset.py::test_webdataset_with_features [gw78] [ 36%] PASSED tests/test_arrow_reader.py::test_make_file_instructions[train-train[-20%:]-100-read_range0] [gw21] [ 36%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[True-False] [gw117] [ 36%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_generate_examples_drop_labels[True-True] [gw125] [ 36%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-False] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-False] tests/test_arrow_reader.py::test_make_file_instructions_raises[-ValueError] [gw86] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_keep_in_memory[False] tests/test_arrow_reader.py::test_make_file_instructions[train-train[:200]-shard_lengths5-read_range5] tests/test_arrow_writer.py::TypedSequenceTest::test_try_compatible_extension_type [gw0] [ 36%] PASSED tests/test_arrow_reader.py::test_make_file_instructions_raises[-ValueError] [gw4] [ 36%] PASSED tests/test_arrow_reader.py::test_make_file_instructions[train-train[:200]-shard_lengths5-read_range5] tests/test_arrow_dataset.py::test_dataset_from_text_keep_in_memory[True] [gw117] [ 36%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_try_compatible_extension_type [gw19] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_split[train] tests/test_arrow_writer.py::test_write[None-10] [gw37] [ 36%] PASSED tests/packaged_modules/test_webdataset.py::test_webdataset_with_features [gw75] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_keep_in_memory[True] tests/test_arrow_reader.py::test_make_file_instructions[train-train[:200]-100-read_range1] tests/test_arrow_reader.py::BaseReaderTest::test_read [gw119] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_keep_in_memory[True] tests/test_arrow_dataset.py::test_dataset_from_csv_split[test] [gw101] [ 36%] PASSED tests/test_arrow_writer.py::test_write[None-10] [gw78] [ 36%] PASSED tests/test_arrow_reader.py::test_make_file_instructions[train-train[:200]-100-read_range1] [gw107] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_features[features1] tests/test_arrow_dataset.py::test_dataset_from_parquet_features[None] [gw76] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_split[train] tests/test_arrow_writer.py::TypedSequenceTest::test_array_type_forbidden [gw0] [ 36%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_array_type_forbidden tests/test_arrow_dataset.py::test_dataset_from_generator_features[None] [gw7] [ 36%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[6] tests/features/test_audio.py::test_dataset_cast_to_audio_features[6] [gw19] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_split[test] [gw48] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_file[False] tests/test_arrow_writer.py::TypedSequenceTest::test_try_compatible_type tests/test_arrow_dataset.py::test_dataset_from_csv_features[features2] [gw119] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_features[None] tests/test_arrow_dataset.py::test_dataset_from_parquet_split[test] [gw75] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_features[None] [gw117] [ 36%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_try_compatible_type tests/test_arrow_dataset.py::test_dataset_from_file[True] tests/test_arrow_dataset.py::test_dataset_from_generator_features[features1] [gw123] [ 36%] PASSED tests/test_arrow_reader.py::BaseReaderTest::test_read tests/test_arrow_dataset.py::test_dataset_from_parquet_features[features1] [gw42] [ 36%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_exhaustive_cast tests/test_arrow_writer.py::TypedSequenceTest::test_try_incompatible_extension_type tests/test_arrow_writer.py::test_write[fields1-None] [gw117] [ 36%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_try_incompatible_extension_type tests/test_arrow_writer.py::TypedSequenceTest::test_incompatible_extension_type [gw119] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_features[features1] [gw42] [ 36%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_incompatible_extension_type [gw101] [ 36%] PASSED tests/test_arrow_writer.py::test_write[fields1-None] tests/test_arrow_dataset.py::test_dataset_from_csv_path_type[str] [gw99] [ 36%] PASSED tests/test_arrow_dataset.py::test_map_cases[True] [gw75] [ 36%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_features[features1] tests/test_arrow_dataset.py::test_map_cases[False] tests/test_arrow_writer.py::TypedSequenceTest::test_try_incompatible_type tests/test_arrow_dataset.py::test_dataset_from_parquet_features[features2] [gw19] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_path_type[str] [gw117] [ 37%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_try_incompatible_type [gw107] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_features[features2] [gw91] [ 37%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[False] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[False] tests/test_arrow_writer.py::TypedSequenceTest::test_incompatible_type tests/test_arrow_dataset.py::test_dataset_from_csv_path_type[list] [gw110] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_sql_keep_in_memory[False] [gw42] [ 37%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_incompatible_type tests/test_arrow_dataset.py::test_dataset_from_csv_features[features3] [gw75] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_features[features2] tests/test_arrow_dataset.py::test_dataset_from_sql_keep_in_memory[True] [gw76] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_split[test] tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[codex-response-item-only] tests/features/test_image.py::test_formatted_dataset_with_image_feature [gw19] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_path_type[list] [gw6] [ 37%] SKIPPED tests/packaged_modules/test_json.py::test_json_generate_tables_with_agent_trace_metadata[codex-response-item-only] tests/test_arrow_dataset.py::test_dataset_from_json_keep_in_memory[False] tests/test_arrow_writer.py::test_write_with_keys[10] [gw60] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_features[features3] tests/features/test_mesh.py::test_mesh_decode_example [gw6] [ 37%] PASSED tests/test_arrow_writer.py::test_write_with_keys[10] tests/test_arrow_dataset.py::test_dataset_from_text_split[None] tests/test_arrow_writer.py::test_write_batch[None-None] [gw6] [ 37%] PASSED tests/test_arrow_writer.py::test_write_batch[None-None] [gw84] [ 37%] FAILED tests/features/test_video.py::test_dataset_with_video_feature [gw107] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_features[features3] [gw60] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_split[None] [gw3] [ 37%] RERUN tests/features/test_audio.py::test_audio_resampling tests/features/test_audio.py::test_audio_resampling tests/test_arrow_writer.py::test_write_batch[None-1] [gw22] [ 37%] FAILED tests/features/test_audio.py::test_load_dataset_with_audio_feature[False] tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_with_messages-config_kwargs13-expected13] tests/packaged_modules/test_folder_based_builder.py::test_default_folder_builder_not_usable tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_path_traversal_is_rejected[dummy/../../../etc/passwd] tests/test_arrow_dataset.py::BaseDatasetTest::test_format_polars_on_disk tests/test_arrow_dataset.py::test_dataset_from_csv_features[features4] tests/test_arrow_dataset.py::test_dataset_from_text_split[split1] [gw6] [ 37%] PASSED tests/test_arrow_writer.py::test_write_batch[None-1] tests/features/test_audio.py::test_load_dataset_with_audio_feature[True] [gw13] [ 37%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[jsonl_file_with_messages-config_kwargs13-expected13] [gw51] [ 37%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_format_polars_on_disk tests/test_arrow_writer.py::test_write_batch[None-10] [gw6] [ 37%] PASSED tests/test_arrow_writer.py::test_write_batch[None-10] tests/test_arrow_writer.py::test_write_row[fields2-None] tests/test_arrow_writer.py::test_write_table[None-None] tests/packaged_modules/test_json.py::test_config_raises_when_invalid_data_files[data_files2] tests/packaged_modules/test_hdf5.py::test_hdf5_mismatched_lengths_with_column_filtering tests/packaged_modules/test_videofolder.py::test_config_raises_when_invalid_data_files[data_files1] tests/features/test_mesh.py::test_mesh_feature_encode_example[2] tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[True-True] [gw86] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_keep_in_memory[True] [gw62] [ 37%] PASSED tests/features/test_image.py::test_formatted_dataset_with_image_feature [gw71] [ 37%] PASSED tests/io/test_json.py::test_dataset_from_json_keep_in_memory[True] [gw11] [ 37%] PASSED tests/packaged_modules/test_json.py::test_config_raises_when_invalid_data_files[data_files2] [gw51] [ 37%] PASSED tests/test_arrow_writer.py::test_write_row[fields2-None] [gw13] [ 37%] PASSED tests/test_arrow_writer.py::test_write_table[None-None] [gw35] [ 37%] PASSED tests/packaged_modules/test_videofolder.py::test_config_raises_when_invalid_data_files[data_files1] tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_with_indices_from_disk_on_disk [gw14] [ 37%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_metadata[True-True] tests/test_arrow_writer.py::test_write[fields3-1] tests/packaged_modules/test_cache.py::test_cache_multi_configs tests/test_arrow_writer.py::test_write_row[fields2-1] tests/test_arrow_writer.py::test_write[fields1-10] [gw124] [ 37%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_splits[2-True] [gw62] [ 37%] PASSED tests/test_arrow_writer.py::test_write[fields3-1] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence0-attention_mask-expected_dtype0] [gw51] [ 37%] PASSED tests/test_arrow_writer.py::test_write_row[fields2-1] [gw60] [ 37%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_split[split1] [gw71] [ 38%] PASSED tests/test_arrow_writer.py::test_write[fields1-10] [gw107] [ 38%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_features[features4] tests/test_arrow_writer.py::test_write_table[None-1] [gw14] [ 38%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence0-attention_mask-expected_dtype0] [gw13] [ 38%] PASSED tests/test_arrow_writer.py::test_write_table[None-1] tests/test_arrow_dataset.py::test_dataset_from_text_features[None] [gw86] [ 38%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_features[None] tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence0-optimized_int_type1-expected_dtype1] [gw35] [ 38%] PASSED tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence0-optimized_int_type1-expected_dtype1] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence1-attention_mask-expected_dtype0] tests/test_arrow_writer.py::test_write_row[fields2-10] tests/test_arrow_dataset.py::test_dataset_from_text_split[train] [gw41] [ 38%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_with_indices_from_disk_on_disk [gw77] [ 38%] PASSED tests/features/test_mesh.py::test_mesh_feature_encode_example[2] tests/features/test_video.py::test_video_feature_encode_example[3] [gw51] [ 38%] PASSED tests/test_arrow_writer.py::test_write_row[fields2-10] [gw11] [ 38%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence1-attention_mask-expected_dtype0] [gw46] [ 38%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_in_memory [gw9] [ 38%] RERUN tests/features/test_audio.py::test_dataset_with_audio_feature_tar_mp3 tests/features/test_audio.py::test_dataset_with_audio_feature_tar_mp3 tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence0-special_tokens_mask-expected_dtype1] tests/test_arrow_writer.py::test_write_table[None-10] tests/test_arrow_dataset.py::test_dataset_from_text_features[features1] tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence1-None-expected_dtype0] tests/test_arrow_dataset.py::test_dataset_from_csv_split[None] tests/test_arrow_writer.py::test_parquet_writer_writes_page_index [gw23] [ 38%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_mismatched_lengths_with_column_filtering [gw20] [ 38%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[0] [gw19] [ 38%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_keep_in_memory[False] [gw14] [ 38%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence0-special_tokens_mask-expected_dtype1] tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_specified_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_on_disk [gw35] [ 38%] PASSED tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence1-None-expected_dtype0] tests/features/test_audio.py::test_dataset_cast_to_audio_features[0] [gw13] [ 38%] PASSED tests/test_arrow_writer.py::test_write_table[None-10] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence1-special_tokens_mask-expected_dtype1] [gw77] [ 38%] PASSED tests/test_arrow_writer.py::test_parquet_writer_writes_page_index [gw60] [ 38%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_split[train] tests/test_arrow_writer.py::test_arrow_writer_closes_stream[False] tests/test_buckets.py::test_bucket_module_preserves_card_when_standalone_yaml_missing [gw11] [ 38%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence1-special_tokens_mask-expected_dtype1] tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_fn_kwargs_in_memory [gw86] [ 38%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_features[features1] tests/test_arrow_writer.py::test_write[fields2-None] [gw41] [ 38%] PASSED tests/test_buckets.py::test_bucket_module_preserves_card_when_standalone_yaml_missing [gw23] [ 38%] PASSED tests/test_arrow_writer.py::test_arrow_writer_closes_stream[False] tests/test_arrow_writer.py::test_write[fields3-10] tests/test_arrow_writer.py::test_writer_embed_local_files[False] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-16000] [gw62] [ 38%] PASSED tests/test_arrow_writer.py::test_write[fields3-10] tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence1-optimized_int_type1-expected_dtype1] tests/test_arrow_writer.py::test_write_table[fields1-None] [gw71] [ 38%] PASSED tests/test_arrow_writer.py::test_write[fields2-None] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence1-token_type_ids-expected_dtype2] [gw55] [ 38%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_specified_in_memory [gw127] [ 38%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_path_traversal_is_rejected[dummy/../../../etc/passwd] tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_single_split[csv-False] [gw13] [ 38%] PASSED tests/test_arrow_writer.py::test_write_table[fields1-None] [gw116] [ 38%] PASSED tests/test_arrow_reader.py::test_read_table[False] tests/test_builder.py::BuilderTest::test_download_and_prepare_with_base_path tests/test_arrow_dataset.py::test_dataset_from_text_split[test] tests/test_buckets.py::test_push_parquet_shards_reports_dataset_nbytes [gw44] [ 38%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_fn_kwargs_in_memory [gw11] [ 38%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence1-token_type_ids-expected_dtype2] tests/test_arrow_writer.py::test_write_row[None-1] [gw35] [ 39%] PASSED tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence1-optimized_int_type1-expected_dtype1] tests/test_arrow_writer.py::test_write[fields2-1] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence0-token_type_ids-expected_dtype2] tests/test_arrow_writer.py::test_write_with_features tests/test_arrow_reader.py::test_read_table[True] tests/test_arrow_writer.py::test_write_file [gw107] [ 39%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_split[None] [gw99] [ 39%] PASSED tests/test_arrow_dataset.py::test_map_cases[False] tests/packaged_modules/test_webdataset.py::test_image_webdataset tests/test_arrow_writer.py::test_arrow_writer_closes_stream[True] [gw127] [ 39%] PASSED tests/test_arrow_writer.py::test_write_row[None-1] [gw71] [ 39%] PASSED tests/test_arrow_writer.py::test_write[fields2-1] [gw77] [ 39%] PASSED tests/test_arrow_writer.py::test_writer_embed_local_files[False] [gw62] [ 39%] PASSED tests/test_arrow_writer.py::test_write_with_features [gw14] [ 39%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence0-token_type_ids-expected_dtype2] [gw51] [ 39%] PASSED tests/test_arrow_writer.py::test_write_file [gw125] [ 39%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-False] [gw23] [ 39%] PASSED tests/test_arrow_writer.py::test_arrow_writer_closes_stream[True] tests/test_builder.py::BuilderTest::test_cache_dir_no_args tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence1-input_ids-expected_dtype3] [gw60] [ 39%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_split[test] tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence2-None-expected_dtype0] tests/test_arrow_dataset.py::test_map_cases[mix] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-False] [gw11] [ 39%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence1-input_ids-expected_dtype3] tests/test_arrow_writer.py::test_write[fields2-10] [gw35] [ 39%] PASSED tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence2-None-expected_dtype0] tests/test_arrow_writer.py::test_writer_embed_local_files[True] tests/test_arrow_writer.py::test_write_row[None-10] tests/test_arrow_writer.py::test_write_with_keys[None] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence0-input_ids-expected_dtype3] tests/test_arrow_writer.py::test_arrow_writer_with_filesystem [gw71] [ 39%] PASSED tests/test_arrow_writer.py::test_write[fields2-10] [gw127] [ 39%] PASSED tests/test_arrow_writer.py::test_write_row[None-10] [gw62] [ 39%] PASSED tests/test_arrow_writer.py::test_write_with_keys[None] [gw77] [ 39%] PASSED tests/test_arrow_writer.py::test_writer_embed_local_files[True] [gw14] [ 39%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence0-input_ids-expected_dtype3] [gw23] [ 39%] PASSED tests/test_arrow_writer.py::test_arrow_writer_with_filesystem [gw3] [ 39%] RERUN tests/features/test_audio.py::test_audio_resampling [gw104] [ 39%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_default_folder_builder_not_usable tests/test_arrow_writer.py::test_write_row[fields1-None] tests/test_arrow_writer.py::test_always_nullable tests/features/test_audio.py::test_audio_resampling tests/test_arrow_writer.py::test_parquet_writer_write [gw127] [ 39%] PASSED tests/test_arrow_writer.py::test_write_row[fields1-None] [gw77] [ 39%] PASSED tests/test_arrow_writer.py::test_always_nullable [gw23] [ 39%] PASSED tests/test_arrow_writer.py::test_parquet_writer_write tests/test_arrow_writer.py::test_write_table[fields1-10] tests/test_arrow_writer.py::test_write_row[fields1-1] [gw127] [ 39%] PASSED tests/test_arrow_writer.py::test_write_row[fields1-1] tests/packaged_modules/test_hdf5.py::test_hdf5_invalid_features tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_legitimate_subdir_reference tests/packaged_modules/test_text.py::test_text_linebreaks[False] [gw104] [ 39%] PASSED tests/test_arrow_writer.py::test_write_table[fields1-10] tests/packaged_modules/test_imagefolder.py::test_generate_examples_with_labels [gw39] [ 39%] PASSED tests/packaged_modules/test_webdataset.py::test_image_webdataset tests/test_arrow_writer.py::test_write_table[fields2-None] tests/test_builder.py::test_generator_based_builder_as_dataset[True] [gw25] [ 39%] PASSED tests/packaged_modules/test_text.py::test_text_linebreaks[False] [gw110] [ 39%] PASSED tests/test_arrow_dataset.py::test_dataset_from_sql_keep_in_memory[True] tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_formatted_in_memory tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[False-False] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_torch_in_memory tests/test_builder.py::test_builder_download_and_prepare_with_relative_output_dir tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_unspecified_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_dataset_options_in_memory tests/packaged_modules/test_sql.py::test_config_raises_when_invalid_data_files[data_files1] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_load_from_cache_file_false_progress_bar_starts_at_zero_on_disk tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pl_dataframe_on_disk [gw104] [ 39%] PASSED tests/test_arrow_writer.py::test_write_table[fields2-None] [gw36] [ 39%] PASSED tests/packaged_modules/test_sql.py::test_config_raises_when_invalid_data_files[data_files1] [gw10] [ 40%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_pl_dataframe_on_disk tests/test_arrow_writer.py::test_write_table[fields2-1] [gw67] [ 40%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_tf_dataset_options_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_polars_in_memory [gw49] [ 40%] SKIPPED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_format_polars_in_memory [gw31] [ 40%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-16000] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-16000] [gw53] [ 40%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_torch_in_memory [gw41] [ 40%] PASSED tests/test_buckets.py::test_push_parquet_shards_reports_dataset_nbytes tests/test_data_files.py::test_resolve_pattern_locally_with_extensions[**-0-extensions2] tests/test_data_files.py::test_resolve_pattern_locallyreturns_hidden_dir_only_if_requested [gw50] [ 40%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_single_split[csv-False] [gw16] [ 40%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_legitimate_subdir_reference [gw67] [ 40%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_with_extensions[**-0-extensions2] [gw104] [ 40%] PASSED tests/test_arrow_writer.py::test_write_table[fields2-1] tests/test_data_files.py::test_resolve_pattern_locally_prefixed_archive_glob[zip_jsonl_path] tests/test_builder.py::test_builder_as_streaming_dataset_with_split_composition[train+test] tests/packaged_modules/test_json.py::test_json_generate_tables[json_file_with_list_of_strings-config_kwargs6-expected6] [gw55] [ 40%] PASSED tests/test_builder.py::BuilderTest::test_download_and_prepare_with_base_path [gw32] [ 40%] PASSED tests/packaged_modules/test_json.py::test_json_generate_tables[json_file_with_list_of_strings-config_kwargs6-expected6] [gw49] [ 40%] PASSED tests/test_data_files.py::test_resolve_pattern_locallyreturns_hidden_dir_only_if_requested [gw25] [ 40%] PASSED tests/test_builder.py::test_builder_download_and_prepare_with_relative_output_dir [gw66] [ 40%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_concatenate_formatted_in_memory tests/test_arrow_dataset.py::BaseDatasetTest::test_to_csv_in_memory [gw5] [ 40%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_invalid_features tests/test_builder.py::test_config_raises_when_invalid_data_files[data_files1] [gw28] [ 40%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_keep_features_after_transform_unspecified_on_disk tests/test_arrow_writer.py::test_write_table[fields2-10] [gw16] [ 40%] PASSED tests/test_builder.py::test_builder_as_streaming_dataset_with_split_composition[train+test] tests/test_buckets.py::test_get_updated_dataset_card_returns_legacy_infos_as_dict tests/test_builder.py::test_builder_config_version[DummyBuilderWithVersion-kwargs0] tests/test_builder.py::test_builder_with_filesystem_download_and_prepare tests/test_builder.py::test_arrow_based_builder_download_and_prepare_with_ambiguous_shards[1-expectation1] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[**/train.txt] tests/test_data_files.py::test_fail_resolve_pattern_locally [gw50] [ 40%] PASSED tests/test_builder.py::test_config_raises_when_invalid_data_files[data_files1] [gw41] [ 40%] PASSED tests/test_buckets.py::test_get_updated_dataset_card_returns_legacy_infos_as_dict [gw36] [ 40%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_prefixed_archive_glob[zip_jsonl_path] tests/test_builder.py::BuilderTest::test_error_download_and_prepare [gw55] [ 40%] PASSED tests/test_builder.py::BuilderTest::test_error_download_and_prepare tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_example_as_dict_value_in_memory tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[**] [gw5] [ 40%] PASSED tests/test_builder.py::test_builder_config_version[DummyBuilderWithVersion-kwargs0] tests/features/test_audio.py::test_dataset_with_audio_feature tests/test_data_files.py::test_resolve_pattern_locally_returns_special_dir_only_if_requested [gw67] [ 40%] PASSED tests/test_data_files.py::test_fail_resolve_pattern_locally [gw48] [ 40%] PASSED tests/test_arrow_dataset.py::test_dataset_from_file[True] tests/test_builder.py::test_arrow_based_builder_download_and_prepare_as_parquet tests/test_arrow_dataset.py::BaseDatasetTest::test_set_transform_in_memory [gw49] [ 40%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_returns_special_dir_only_if_requested tests/test_arrow_dataset.py::BaseDatasetTest::test_rename_column_in_memory [gw10] [ 40%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[**] [gw104] [ 40%] PASSED tests/test_arrow_writer.py::test_write_table[fields2-10] tests/test_data_files.py::test_pattern_results_fixture[**/train.txt] tests/features/test_audio.py::test_audio_feature_encode_example[7] tests/test_builder.py::test_builder_as_streaming_dataset_with_split_composition[split1] tests/test_arrow_dataset.py::test_dataset_from_csv_keep_in_memory[False] tests/test_builder.py::test_config_raises_when_invalid_data_files[data_files2] tests/test_builder.py::BuilderTest::test_generator_based_download_and_prepare [gw25] [ 40%] PASSED tests/test_builder.py::test_builder_with_filesystem_download_and_prepare [gw81] [ 40%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_return_example_as_dict_value_in_memory [gw32] [ 40%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[**/train.txt] [gw50] [ 41%] PASSED tests/test_builder.py::test_config_raises_when_invalid_data_files[data_files2] [gw83] [ 41%] PASSED tests/features/test_mesh.py::test_dataset_with_mesh_feature tests/test_buckets.py::test_get_updated_dataset_card_drops_removed_splits_when_replacing_split_set [gw41] [ 41%] PASSED tests/test_buckets.py::test_get_updated_dataset_card_drops_removed_splits_when_replacing_split_set tests/test_data_files.py::test_resolve_pattern_locally_with_absolute_path tests/test_arrow_dataset.py::BaseDatasetTest::test_restore_saved_format_in_memory [gw16] [ 41%] PASSED tests/test_builder.py::test_builder_as_streaming_dataset_with_split_composition[split1] [gw55] [ 41%] PASSED tests/test_builder.py::BuilderTest::test_generator_based_download_and_prepare tests/test_builder.py::test_builder_config_version[DummyBuilderWithBuilderConfigs-kwargs1] [gw38] [ 41%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_load_from_cache_file_false_progress_bar_starts_at_zero_on_disk [gw5] [ 41%] PASSED tests/test_builder.py::test_builder_config_version[DummyBuilderWithBuilderConfigs-kwargs1] [gw17] [ 41%] PASSED tests/packaged_modules/test_meshfolder.py::test_data_files_with_metadata_and_single_split[True] [gw65] [ 41%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_set_transform_in_memory tests/test_data_files.py::test_resolve_pattern_locally_special_base_path [gw63] [ 41%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_restore_saved_format_in_memory [gw3] [ 41%] FAILED tests/features/test_audio.py::test_audio_resampling [gw126] [ 41%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata[False-False] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_returns_special_dir_only_if_requested [gw81] [ 41%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_returns_special_dir_only_if_requested tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_base_path[**-4-None] [gw36] [ 41%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_with_absolute_path tests/test_data_files.py::test_resolve_pattern_locally_does_not_resolve_symbolic_links tests/features/test_mesh.py::test_dataset_with_mesh_feature_decode_false tests/test_data_files.py::test_resolve_pattern_locally[data/*] [gw67] [ 41%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_does_not_resolve_symbolic_links [gw27] [ 41%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_rename_column_in_memory tests/test_builder.py::test_builder_as_streaming_dataset_with_all_split[all] tests/test_builder.py::test_builder_with_filesystem_download_and_prepare_reload [gw49] [ 41%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_special_base_path [gw28] [ 41%] PASSED tests/test_data_files.py::test_pattern_results_fixture[**/train.txt] tests/test_data_files.py::test_pattern_results_fixture[**] [gw32] [ 41%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_base_path[**-4-None] [gw16] [ 41%] PASSED tests/test_builder.py::test_builder_as_streaming_dataset_with_all_split[all] tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[**/*.txt] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[**/*] tests/packaged_modules/test_pandas.py::test_config_raises_when_invalid_name tests/test_data_files.py::test_fail_resolve_pattern_in_dataset_repository tests/test_builder.py::test_config_raises_when_invalid_name tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_special_base_path tests/test_builder.py::test_arrow_based_download_and_prepare [gw25] [ 41%] PASSED tests/test_builder.py::test_builder_with_filesystem_download_and_prepare_reload tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[*.txt] [gw17] [ 41%] PASSED tests/packaged_modules/test_pandas.py::test_config_raises_when_invalid_name tests/test_data_files.py::test_resolve_pattern_locally[*] tests/test_arrow_dataset.py::BaseDatasetTest::test_sort_in_memory tests/test_data_files.py::test_resolve_pattern_locally_with_extensions[**-4-extensions0] [gw22] [ 41%] RERUN tests/features/test_audio.py::test_load_dataset_with_audio_feature[True] tests/features/test_audio.py::test_load_dataset_with_audio_feature[True] [gw81] [ 41%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_special_base_path [gw10] [ 41%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[**/*] [gw55] [ 41%] PASSED tests/test_builder.py::test_config_raises_when_invalid_name tests/test_data_files.py::test_resolve_pattern_locally_sorted_files tests/packaged_modules/test_pandas.py::test_config_raises_when_invalid_data_files[str_path] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_base_path[**-4-data] [gw31] [ 41%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-16000] tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-16000] [gw50] [ 41%] PASSED tests/test_builder.py::test_arrow_based_download_and_prepare tests/test_builder.py::test_builder_config_version[DummyBuilderWithCustomBuilderConfigs-kwargs2] [gw17] [ 41%] PASSED tests/packaged_modules/test_pandas.py::test_config_raises_when_invalid_data_files[str_path] [gw99] [ 41%] PASSED tests/test_arrow_dataset.py::test_map_cases[mix] [gw67] [ 41%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_sorted_files [gw49] [ 41%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_with_extensions[**-4-extensions0] tests/test_data_files.py::test_resolve_pattern_locally_with_double_dots tests/test_builder.py::test_generator_based_builder_download_and_prepare_as_parquet [gw44] [ 41%] PASSED tests/test_builder.py::BuilderTest::test_cache_dir_no_args [gw38] [ 42%] PASSED tests/test_data_files.py::test_resolve_pattern_locally[data/*] [gw63] [ 42%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[*.txt] [gw82] [ 42%] RERUN tests/features/test_video.py::test_load_dataset_with_video_feature[False] tests/features/test_video.py::test_load_dataset_with_video_feature[False] [gw27] [ 42%] PASSED tests/test_data_files.py::test_fail_resolve_pattern_in_dataset_repository tests/test_builder.py::test_builder_as_streaming_dataset_with_all_split[split1] [gw36] [ 42%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_with_double_dots [gw32] [ 42%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_base_path[**-4-data] [gw5] [ 42%] PASSED tests/test_builder.py::test_builder_config_version[DummyBuilderWithCustomBuilderConfigs-kwargs2] [gw28] [ 42%] PASSED tests/test_data_files.py::test_resolve_pattern_locally[*] [gw126] [ 42%] PASSED tests/test_data_files.py::test_pattern_results_fixture[**] [gw16] [ 42%] PASSED tests/test_builder.py::test_builder_as_streaming_dataset_with_all_split[split1] tests/test_arrow_dataset.py::BaseDatasetTest::test_with_transform_in_memory tests/test_builder.py::BuilderTest::test_concurrent_download_and_prepare [gw39] [ 42%] PASSED tests/test_builder.py::test_generator_based_builder_as_dataset[True] tests/test_builder.py::test_builder_config_version[DummyBuilderWithCustomBuilderConfigs-kwargs3] [gw65] [ 42%] PASSED tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[**/*.txt] tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[**/train.txt] [gw25] [ 42%] PASSED tests/test_builder.py::test_generator_based_builder_download_and_prepare_as_parquet tests/test_data_files.py::test_resolve_pattern_fs [gw83] [ 42%] PASSED tests/features/test_mesh.py::test_dataset_with_mesh_feature_decode_false [gw5] [ 42%] PASSED tests/test_builder.py::test_builder_config_version[DummyBuilderWithCustomBuilderConfigs-kwargs3] tests/test_builder.py::test_builder_as_dataset[False-None-DatasetDict-10] [gw81] [ 42%] PASSED tests/test_data_files.py::test_resolve_pattern_fs tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[data/*] tests/test_data_files.py::test_resolve_pattern_locally[**/*.txt] tests/packaged_modules/test_pandas.py::test_config_raises_when_invalid_data_files[data_files1] tests/test_data_files.py::test_resolve_pattern_locally[**] [gw58] [ 42%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_with_transform_in_memory [gw17] [ 42%] PASSED tests/packaged_modules/test_pandas.py::test_config_raises_when_invalid_data_files[data_files1] tests/test_builder.py::test_custom_writer_batch_size[None-None-1] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_returns_hidden_file_only_if_requested tests/features/test_mesh.py::test_dataset_cast_to_mesh_features [gw68] [ 42%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_sort_in_memory [gw33] [ 42%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_csv_in_memory [gw65] [ 42%] PASSED tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[**/train.txt] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[*.txt] tests/test_data_files.py::test_pattern_results_fixture[**/*] [gw26] [ 42%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[7] tests/features/test_audio.py::test_audio_feature_encode_example[7] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_base_path[**-0-data/subdir2] [gw39] [ 42%] PASSED tests/test_builder.py::test_custom_writer_batch_size[None-None-1] tests/packaged_modules/test_pandas.py::test_config_raises_when_invalid_data_files[data_files2] tests/test_data_files.py::test_DataFilesList_from_patterns_locally_with_extra_files tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[*] [gw2] [ 42%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_with_labels tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository_with_base_path[**-4-None-train] tests/test_data_files.py::test_resolve_pattern_locally_returns_hidden_file_only_if_requested [gw66] [ 42%] PASSED tests/test_builder.py::test_arrow_based_builder_download_and_prepare_as_parquet [gw38] [ 42%] PASSED tests/test_data_files.py::test_resolve_pattern_locally[**/*.txt] [gw28] [ 42%] PASSED tests/test_data_files.py::test_resolve_pattern_locally[**] [gw27] [ 42%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_returns_hidden_file_only_if_requested tests/test_arrow_dataset.py::BaseDatasetTest::test_to_sql_in_memory [gw7] [ 42%] FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[6] [gw63] [ 42%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[data/*] [gw10] [ 42%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[*.txt] [gw17] [ 42%] PASSED tests/packaged_modules/test_pandas.py::test_config_raises_when_invalid_data_files[data_files2] [gw126] [ 43%] PASSED tests/test_data_files.py::test_pattern_results_fixture[**/*] tests/test_builder.py::test_custom_writer_batch_size[None-5-20] [gw36] [ 43%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_returns_hidden_file_only_if_requested [gw33] [ 43%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_base_path[**-0-data/subdir2] [gw68] [ 43%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository_with_base_path[**-4-None-train] [gw58] [ 43%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[*] [gw53] [ 43%] PASSED tests/test_builder.py::test_arrow_based_builder_download_and_prepare_with_ambiguous_shards[1-expectation1] tests/test_builder.py::test_generator_based_builder_download_and_prepare_with_max_shard_size tests/test_builder.py::test_arrow_based_builder_download_and_prepare_sharded tests/test_data_files.py::test_resolve_pattern_locally[**/train.txt] tests/test_data_files.py::test_resolve_pattern_locally[**/*] tests/features/test_audio.py::test_dataset_concatenate_audio_features tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_hidden_base_path tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[**/*.txt] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[data/*] tests/packaged_modules/test_parquet.py::test_config_raises_when_invalid_name tests/test_data_files.py::test_pattern_results_fixture[*.txt] [gw31] [ 43%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-16000] [gw38] [ 43%] PASSED tests/test_data_files.py::test_resolve_pattern_locally[**/train.txt] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_extensions[**-4-extensions0] [gw28] [ 43%] PASSED tests/test_data_files.py::test_resolve_pattern_locally[**/*] [gw27] [ 43%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_hidden_base_path [gw10] [ 43%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[data/*] [gw63] [ 43%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[**/*.txt] tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository_with_base_path[**-4-data-train] tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[**] tests/test_builder.py::test_arrow_based_builder_download_and_prepare_with_ambiguous_shards[2-expectation2] [gw17] [ 43%] PASSED tests/packaged_modules/test_parquet.py::test_config_raises_when_invalid_name [gw66] [ 43%] PASSED tests/test_builder.py::test_arrow_based_builder_download_and_prepare_sharded [gw39] [ 43%] PASSED tests/test_builder.py::test_custom_writer_batch_size[None-5-20] [gw126] [ 43%] PASSED tests/test_data_files.py::test_pattern_results_fixture[*.txt] [gw2] [ 43%] PASSED tests/test_builder.py::test_generator_based_builder_download_and_prepare_with_max_shard_size [gw68] [ 43%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository_with_base_path[**-4-data-train] [gw53] [ 43%] PASSED tests/test_builder.py::test_arrow_based_builder_download_and_prepare_with_ambiguous_shards[2-expectation2] [gw33] [ 43%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_extensions[**-4-extensions0] [gw116] [ 43%] PASSED tests/test_arrow_reader.py::test_read_table[True] tests/test_builder.py::test_builder_as_dataset[False-train+test[:30%]-Dataset-13] tests/test_data_files.py::test_resolve_pattern_locally_with_dot_in_base_path [gw58] [ 43%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[**] [gw91] [ 43%] FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[False] tests/test_builder.py::test_arrow_based_builder_download_and_prepare_with_max_shard_size tests/test_builder.py::test_custom_writer_batch_size[10-None-10] tests/test_data_files.py::test_pattern_results_fixture[data/*] [gw38] [ 43%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_with_dot_in_base_path tests/test_builder.py::test_generator_based_builder_download_and_prepare_with_num_proc tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository_with_base_path[**-2-data/subdir-train] tests/test_data_files.py::test_is_inside_unrequested_special_dir [gw44] [ 43%] PASSED tests/test_builder.py::BuilderTest::test_concurrent_download_and_prepare tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_extensions[**-4-None] tests/test_arrow_reader.py::test_read_files[False] [gw66] [ 43%] PASSED tests/test_builder.py::test_arrow_based_builder_download_and_prepare_with_max_shard_size [gw126] [ 43%] PASSED tests/test_data_files.py::test_pattern_results_fixture[data/*] tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[**/*] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[True] [gw68] [ 43%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository_with_base_path[**-2-data/subdir-train] [gw53] [ 43%] PASSED tests/test_data_files.py::test_is_inside_unrequested_special_dir [gw33] [ 43%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_extensions[**-4-None] [gw39] [ 43%] PASSED tests/test_builder.py::test_custom_writer_batch_size[10-None-10] tests/test_builder.py::BuilderTest::test_config_names tests/test_builder.py::test_arrow_based_builder_download_and_prepare_with_num_proc [gw26] [ 43%] RERUN tests/features/test_audio.py::test_audio_feature_encode_example[7] tests/test_data_files.py::test_is_unrequested_hidden_file_or_is_inside_unrequested_hidden_dir [gw44] [ 43%] PASSED tests/test_builder.py::BuilderTest::test_config_names [gw58] [ 43%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[**/*] [gw61] [ 44%] RERUN tests/features/test_video.py::test_video_feature_encode_example[3] [gw53] [ 44%] PASSED tests/test_data_files.py::test_is_unrequested_hidden_file_or_is_inside_unrequested_hidden_dir [gw72] [ 44%] PASSED tests/test_arrow_dataset.py::StratifiedTest::test_train_test_split_startify tests/features/test_audio.py::test_audio_feature_encode_example[7] tests/features/test_video.py::test_video_feature_encode_example[3] tests/test_builder.py::BuilderTest::test_download_and_prepare tests/test_arrow_dataset.py::test_dataset_estimate_nbytes tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[0-expected_shape0-in_memory] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[False-True] tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_from_polars [gw44] [ 44%] PASSED tests/test_builder.py::BuilderTest::test_download_and_prepare tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_archives[True] tests/test_arrow_dataset.py::test_dataset_iter_batch[False-5] [gw56] [ 44%] SKIPPED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_from_polars tests/test_arrow_dataset.py::test_sort_with_none[first] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split1-my_dir] [gw59] [ 44%] PASSED tests/test_arrow_dataset.py::test_dataset_iter_batch[False-5] tests/packaged_modules/test_hdf5.py::test_hdf5_feature_specification tests/test_arrow_dataset.py::test_concatenate_datasets_duplicate_columns tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split4-mock://] tests/test_arrow_dataset.py::test_dataset_add_item[item1-True-transform3] [gw85] [ 44%] PASSED tests/test_arrow_dataset.py::test_sort_with_none[first] [gw59] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split4-mock://] tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params2-False] tests/test_arrow_dataset.py::test_dataset_add_column[None-True-column0-string] [gw89] [ 44%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets_duplicate_columns [gw56] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split1-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split5-my_dir] [gw87] [ 44%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets_with_concatenation_tables[0-expected_shape0-in_memory] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split7-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split2-] tests/test_arrow_dataset.py::test_dataset_add_column[transform3-True-column0-string] tests/test_arrow_dataset.py::test_dataset_add_item[item2-True-transform1] tests/test_data_files.py::test_DataFilesDict_from_patterns_locally_or_remote_hashing tests/test_arrow_dataset.py::BaseDatasetTest::test_to_pandas_in_memory tests/test_arrow_dataset.py::test_concatenate_datasets[1-expected_shape1-in_memory] tests/test_arrow_dataset.py::test_dataset_add_column[transform1-True-column0-string] [gw106] [ 44%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[None-True-column0-string] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split4-my_dir] tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_indices_on_disk tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[None-False] [gw114] [ 44%] PASSED tests/test_arrow_dataset.py::test_pickle_dataset_after_transforming_the_table[method_and_params2-False] tests/packaged_modules/test_hdf5.py::test_hdf5_nested_groups [gw59] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split4-my_dir] [gw89] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split7-] [gw100] [ 44%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item1-True-transform3] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split12-mock://] [gw85] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split5-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split13-my_dir] [gw72] [ 44%] PASSED tests/test_arrow_dataset.py::test_dataset_estimate_nbytes [gw56] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split2-] [gw69] [ 44%] PASSED tests/test_arrow_dataset.py::test_concatenate_datasets[1-expected_shape1-in_memory] [gw113] [ 44%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item2-True-transform1] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split5-] [gw8] [ 44%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_feature_specification tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split7-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split11-] [gw114] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split13-my_dir] [gw29] [ 44%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_pandas_in_memory [gw106] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split12-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split6-] tests/test_arrow_dataset.py::test_dataset_to_iterable_dataset [gw59] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split5-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split2-mock://] [gw93] [ 44%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform3-True-column0-string] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split16-mock://] [gw89] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split7-mock://] [gw100] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split11-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split19-] [gw85] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split6-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split8-mock://] [gw56] [ 44%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split2-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split14-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split15-] [gw26] [ 44%] FAILED tests/features/test_audio.py::test_audio_feature_encode_example[7] [gw69] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split16-mock://] [gw64] [ 45%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform1-True-column0-string] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split12-my_dir] [gw113] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split19-] [gw8] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split8-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split9-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split7-my_dir] [gw114] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split14-] [gw29] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split15-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split11-mock://] [gw20] [ 45%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[0] [gw106] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split12-my_dir] [gw115] [ 45%] PASSED tests/packaged_modules/test_audiofolder.py::test_generate_examples_drop_labels[None-False] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split6-mock://] [gw125] [ 45%] FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-False] [gw118] [ 45%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata[False-True] [gw93] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split9-my_dir] [gw65] [ 45%] PASSED tests/test_data_files.py::test_DataFilesList_from_patterns_locally_with_extra_files [gw22] [ 45%] RERUN tests/features/test_audio.py::test_load_dataset_with_audio_feature[True] [gw24] [ 45%] PASSED tests/packaged_modules/test_hdf5.py::test_hdf5_nested_groups [gw89] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split7-my_dir] [gw34] [ 45%] RERUN tests/features/test_audio.py::test_dataset_with_audio_feature tests/test_data_files.py::TestDataFilesDict::test_key_order_after_copy [gw30] [ 45%] PASSED tests/packaged_modules/test_imagefolder.py::test_data_files_with_metadata_and_archives[True] [gw100] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split11-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split16-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split23-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split19-mock://] [gw85] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split6-mock://] tests/features/test_audio.py::test_dataset_cast_to_audio_features[0] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split8-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split14-mock://] [gw26] [ 45%] PASSED tests/test_data_files.py::TestDataFilesDict::test_key_order_after_copy tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split15-mock://] [gw69] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split16-my_dir] [gw64] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split23-] [gw113] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split19-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split13-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split21-my_dir] tests/features/test_audio.py::test_load_dataset_with_audio_feature[True] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-True] tests/features/test_audio.py::test_dataset_with_audio_feature tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split0-mock://] [gw8] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split8-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split10-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split17-my_dir] [gw114] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split14-mock://] [gw18] [ 45%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_flatten_indices_on_disk tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split3-] [gw29] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split15-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split11-my_dir] [gw106] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split13-] [gw61] [ 45%] RERUN tests/features/test_video.py::test_video_feature_encode_example[3] [gw115] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split21-my_dir] [gw118] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split0-mock://] [gw93] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split10-] [gw24] [ 45%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split17-my_dir] [gw72] [ 45%] PASSED tests/test_arrow_dataset.py::test_dataset_to_iterable_dataset tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[*] [gw30] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split3-] [gw100] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split11-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split17-] [gw50] [ 46%] PASSED tests/test_builder.py::test_builder_as_dataset[False-None-DatasetDict-10] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split23-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split19-my_dir] tests/features/test_video.py::test_video_feature_encode_example[3] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split9-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split20-mock://] [gw26] [ 46%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[*] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split15-my_dir] [gw47] [ 46%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_multiprocessing_in_memory [gw69] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split17-] [gw64] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split23-mock://] [gw113] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split19-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split22-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split0-my_dir] [gw8] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split9-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split10-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split18-] tests/test_arrow_dataset.py::test_dataset_format_with_unformatted_image [gw29] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split15-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split3-mock://] [gw115] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split22-] [gw18] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split20-mock://] [gw24] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split18-] [gw93] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split10-mock://] tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[**] [gw30] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split3-mock://] tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_multiprocessing_on_disk tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split23-my_dir] [gw26] [ 46%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[**] [gw64] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split23-my_dir] [gw118] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split0-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split22-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split20-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split18-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split3-my_dir] [gw115] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split22-mock://] [gw24] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split18-mock://] [gw30] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split3-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split1-] [gw118] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split1-] tests/test_arrow_dataset.py::test_from_spark_different_cache tests/test_arrow_dataset.py::test_dataset_from_json_path_type[list] [gw112] [ 46%] SKIPPED tests/test_arrow_dataset.py::test_from_spark_different_cache tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_to_list_and_to_dict_decode_nested_json tests/test_arrow_dataset.py::test_dataset_add_column[transform4-True-column0-string] tests/test_arrow_dataset.py::test_dataset_add_item[item1-False-transform1] tests/test_arrow_dataset.py::test_dataset_add_column[transform2-True-column0-string] tests/test_arrow_dataset.py::test_dataset_from_dict_with_large_list [gw96] [ 46%] PASSED tests/test_arrow_dataset.py::test_dataset_from_dict_with_large_list tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split25-my_dir] [gw18] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split20-my_dir] [gw92] [ 46%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item1-False-transform1] tests/test_arrow_dataset.py::test_dataset_add_item[item3-False-transform3] tests/test_arrow_dataset.py::test_dataset_batch tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_in_memory tests/test_arrow_dataset.py::test_dataset_from_json_with_class_label_feature [gw105] [ 46%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_path_type[list] tests/test_arrow_dataset.py::test_dataset_from_sql_features[features2] [gw102] [ 46%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform4-True-column0-string] [gw74] [ 46%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform2-True-column0-string] [gw112] [ 46%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split25-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split21-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split31-] tests/test_arrow_dataset.py::BaseDatasetTest::test_select_then_map_in_memory tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split35-] tests/test_arrow_dataset.py::StratifiedTest::test_errors_train_test_split_stratify [gw79] [ 47%] PASSED tests/test_arrow_dataset.py::MiscellaneousDatasetTest::test_to_list_and_to_dict_decode_nested_json tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split28-mock://] tests/test_arrow_dataset.py::test_dataset_from_generator_split[split3] tests/test_arrow_dataset.py::test_from_polars_save_to_disk_and_load_from_disk_round_trip_with_large_list tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split32-mock://] [gw111] [ 47%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_with_class_label_feature tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split27-] tests/test_arrow_dataset.py::test_build_local_temp_path[relative/path] tests/test_arrow_dataset.py::test_dataset_add_item_introduce_feature_type [gw98] [ 47%] SKIPPED tests/test_arrow_dataset.py::test_from_polars_save_to_disk_and_load_from_disk_round_trip_with_large_list [gw96] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split35-] [gw102] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split31-] [gw109] [ 47%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_split[split3] [gw92] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split32-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split24-mock://] [gw94] [ 47%] PASSED tests/test_arrow_dataset.py::test_build_local_temp_path[relative/path] [gw74] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split28-mock://] [gw18] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split21-] [gw105] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split27-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split26-] [gw116] [ 47%] PASSED tests/test_arrow_reader.py::test_read_files[False] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split28-my_dir] [gw121] [ 47%] PASSED tests/test_arrow_dataset.py::test_dataset_from_sql_features[features2] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split44-mock://] [gw120] [ 47%] PASSED tests/test_arrow_dataset.py::test_dataset_batch [gw52] [ 47%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item3-False-transform3] tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[False-None] tests/test_arrow_reader.py::test_make_file_instructions[train-train[:-200]-shard_lengths6-None] [gw45] [ 47%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item_introduce_feature_type tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split33-my_dir] tests/test_arrow_reader.py::test_make_file_instructions[train-train[:-200]-100-None] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split35-mock://] [gw79] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split24-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split27-mock://] [gw96] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split35-mock://] [gw112] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split26-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split43-] [gw78] [ 47%] PASSED tests/test_arrow_reader.py::test_make_file_instructions[train-train[:-200]-100-None] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split32-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split31-mock://] [gw105] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split27-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split36-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split45-my_dir] [gw109] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split44-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split29-my_dir] [gw74] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split28-my_dir] [gw4] [ 47%] PASSED tests/test_arrow_reader.py::test_make_file_instructions[train-train[:-200]-shard_lengths6-None] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split39-] tests/packaged_modules/test_webdataset.py::test_tensor_webdataset tests/test_arrow_dataset.py::test_dataset_from_generator_features[features2] [gw111] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split33-my_dir] [gw61] [ 47%] FAILED tests/features/test_video.py::test_video_feature_encode_example[3] [gw92] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split32-my_dir] [gw102] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split31-mock://] tests/test_arrow_writer.py::TypedSequenceTest::test_compatible_extension_type [gw0] [ 47%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_compatible_extension_type [gw94] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split43-] [gw98] [ 47%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split45-my_dir] [gw66] [ 47%] PASSED tests/test_builder.py::test_arrow_based_builder_download_and_prepare_with_num_proc tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split24-my_dir] tests/test_dataset_dict.py::DatasetDictTest::test_load_from_disk [gw120] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split39-] tests/test_arrow_writer.py::test_write[fields1-1] tests/test_builder.py::BuilderTest::test_cache_dir_for_config_kwargs [gw12] [ 48%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_reuses_cache_with_different_num_proc_in_memory tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split26-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split29-] tests/test_dataset_dict.py::DatasetDictTest::test_check_values_type tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split35-my_dir] [gw121] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split36-mock://] tests/test_arrow_reader.py::BaseReaderTest::test_read_files tests/test_data_files.py::test_get_data_patterns_from_directory_with_the_word_data_twice [gw15] [ 48%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_in_memory tests/test_dataset_dict.py::DatasetDictTest::test_shuffle tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split34-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split33-] [gw112] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split26-mock://] [gw74] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split29-] [gw98] [ 48%] PASSED tests/test_data_files.py::test_get_data_patterns_from_directory_with_the_word_data_twice tests/test_arrow_writer.py::TypedSequenceTest::test_try_type_and_type_forbidden [gw101] [ 48%] PASSED tests/test_arrow_writer.py::test_write[fields1-1] [gw92] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split33-] [gw96] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split35-my_dir] [gw123] [ 48%] PASSED tests/test_arrow_reader.py::BaseReaderTest::test_read_files [gw52] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split29-my_dir] [gw79] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split24-my_dir] [gw117] [ 48%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_try_type_and_type_forbidden [gw119] [ 48%] PASSED tests/test_arrow_dataset.py::test_dataset_from_generator_features[features2] [gw45] [ 48%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_check_values_type tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_reuses_cache_with_different_num_proc_on_disk [gw9] [ 48%] FAILED tests/features/test_audio.py::test_dataset_with_audio_feature_tar_mp3 [gw70] [ 48%] PASSED tests/test_arrow_dataset.py::StratifiedTest::test_errors_train_test_split_stratify tests/test_dataset_dict.py::DatasetDictTest::test_set_format_polars [gw40] [ 48%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_select_then_map_in_memory [gw78] [ 48%] SKIPPED tests/test_dataset_dict.py::DatasetDictTest::test_set_format_polars [gw111] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split34-] [gw4] [ 48%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_load_from_disk tests/test_arrow_dataset.py::test_dataset_from_parquet_features[features3] tests/test_arrow_writer.py::TypedSequenceTest::test_no_type tests/test_dataset_dict.py::test_datasetdict_from_csv_split[None] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split43-mock://] tests/test_arrow_dataset.py::test_dataset_from_parquet_path_type[str] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split25-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split44-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split40-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split31-my_dir] [gw42] [ 48%] PASSED tests/test_arrow_writer.py::TypedSequenceTest::test_no_type tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split30-] [gw94] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split43-mock://] tests/test_dataset_dict.py::test_datasetdict_from_csv_features[features1] [gw37] [ 48%] PASSED tests/packaged_modules/test_webdataset.py::test_tensor_webdataset [gw79] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split25-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split27-my_dir] tests/test_dataset_dict.py::test_dummy_datasetdict_serialize_fs tests/features/test_audio.py::test_dataset_with_audio_feature_with_none tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split36-my_dir] tests/test_dataset_dict.py::DatasetDictTest::test_align_labels_with_mapping tests/test_dataset_dict.py::DatasetDictTest::test_map tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split37-my_dir] [gw31] [ 48%] PASSED tests/test_builder.py::test_builder_as_dataset[False-train+test[:30%]-Dataset-13] [gw109] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split44-my_dir] tests/features/test_video.py::test_dataset_with_video_map_and_formatted [gw52] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split30-] [gw102] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split31-my_dir] [gw105] [ 48%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split27-my_dir] tests/test_dataset_dict.py::DatasetDictTest::test_filter tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split41-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split34-mock://] [gw75] [ 48%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_features[features3] tests/test_builder.py::test_builder_as_dataset[True-None-DatasetDict-10] tests/test_arrow_writer.py::test_write_batch[fields1-None] tests/test_dataset_dict.py::test_datasetdict_from_json_keep_in_memory[False] tests/test_dataset_dict.py::DatasetDictTest::test_set_format_tf tests/test_dataset_dict.py::test_datasetdict_from_json_splits[split1] [gw76] [ 49%] PASSED tests/test_arrow_dataset.py::test_dataset_from_parquet_path_type[str] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split43-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split39-mock://] [gw111] [ 49%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split34-mock://] [gw21] [ 49%] PASSED tests/packaged_modules/test_imagefolder.py::test_generate_examples_drop_labels[False-None] [gw78] [ 49%] SKIPPED tests/test_dataset_dict.py::DatasetDictTest::test_set_format_tf [gw72] [ 49%] PASSED tests/test_arrow_dataset.py::test_dataset_format_with_unformatted_image [gw6] [ 49%] PASSED tests/test_arrow_writer.py::test_write_batch[fields1-None] [gw15] [ 49%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split40-mock://] [gw120] [ 49%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split39-mock://] [gw123] [ 49%] PASSED tests/test_dataset_dict.py::test_dummy_datasetdict_serialize_fs tests/test_dataset_dict.py::DatasetDictTest::test_select_columns [gw70] [ 49%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split41-my_dir] [gw101] [ 49%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_split[None] [gw121] [ 49%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split36-my_dir] [gw98] [ 49%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_align_labels_with_mapping [gw94] [ 49%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split43-my_dir] [gw119] [ 49%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_features[features1] tests/test_dataset_dict.py::test_datasetdict_from_csv_features[features2] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split45-] tests/test_dataset_dict.py::test_datasetdict_from_parquet_keep_in_memory[True] [gw109] [ 49%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split45-] tests/test_dataset_dict.py::test_datasetdict_from_csv_keep_in_memory[False] [gw40] [ 49%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split37-my_dir] tests/test_dataset_dict.py::DatasetDictTest::test_iterable_dataset_dict_push_to_hub_forwards_max_shard_size_to_each_split [gw9] [ 49%] PASSED tests/features/test_audio.py::test_dataset_with_audio_feature_with_none tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split30-mock://] tests/test_dataset_dict.py::test_datasetdict_from_parquet_split[train] tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_archives[False] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split37-] tests/test_dataset_dict.py::test_datasetdict_from_json_features[features2] [gw91] [ 49%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[True] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[True] [gw125] [ 49%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-True] tests/test_dataset_dict.py::DatasetDictTest::test_set_format_torch tests/test_arrow_dataset.py::test_dataset_from_json_keep_in_memory[True] [gw2] [ 49%] PASSED tests/test_builder.py::test_generator_based_builder_download_and_prepare_with_num_proc [gw52] [ 49%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split30-mock://] tests/test_dataset_dict.py::test_datasetdict_from_csv_split[split1] tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split38-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split40-my_dir] tests/test_arrow_dataset.py::test_dataset_from_text_features[features2] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split42-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split39-my_dir] [gw75] [ 49%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_splits[split1] [gw121] [ 49%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split37-] [gw119] [ 49%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_features[features2] [gw4] [ 49%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_map [gw1] [ 49%] PASSED tests/packaged_modules/test_meshfolder.py::test_generate_examples_with_labels [gw22] [ 49%] FAILED tests/features/test_audio.py::test_load_dataset_with_audio_feature[True] [gw6] [ 49%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_split[train] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-True] [gw101] [ 49%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_split[split1] [gw0] [ 49%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_shuffle [gw86] [ 49%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_features[features2] [gw70] [ 50%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split42-] [gw37] [ 50%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_select_columns tests/test_builder.py::test_generator_based_builder_download_and_prepare_with_ambiguous_shards[None-expectation0] [gw120] [ 50%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split39-my_dir] [gw7] [ 50%] RERUN tests/features/test_audio.py::test_dataset_concatenate_audio_features tests/test_dataset_dict.py::test_datasetdict_from_json_splits[train] [gw21] [ 50%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_iterable_dataset_dict_push_to_hub_forwards_max_shard_size_to_each_split tests/test_dataset_dict.py::test_datasetdict_from_csv_features[features3] tests/test_dataset_dict.py::DatasetDictTest::test_remove_columns tests/features/test_audio.py::test_dataset_with_audio_feature_loaded_from_cache tests/test_dataset_dict.py::test_datasetdict_from_parquet_split[test] [gw40] [ 50%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split38-] [gw2] [ 50%] PASSED tests/test_builder.py::test_generator_based_builder_download_and_prepare_with_ambiguous_shards[None-expectation0] tests/test_dataset_dict.py::test_datasetdict_from_csv_split[train] tests/test_dataset_dict.py::DatasetDictTest::test_sort tests/test_dataset_dict.py::test_datasetdict_from_text_split[test] [gw75] [ 50%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_splits[train] [gw54] [ 50%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_multiprocessing_in_memory [gw119] [ 50%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_features[features3] [gw4] [ 50%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_remove_columns tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split42-mock://] tests/features/test_audio.py::test_dataset_concatenate_audio_features tests/test_dataset_dict.py::DatasetDictTest::test_serialization [gw6] [ 50%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_split[test] [gw15] [ 50%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split40-my_dir] [gw101] [ 50%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_split[train] [gw0] [ 50%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_sort [gw86] [ 50%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_text_split[test] tests/test_dataset_dict.py::DatasetDictTest::test_iterable_dataset_dict_push_to_hub_max_shard_size_and_num_shards_are_mutually_exclusive [gw70] [ 50%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split42-mock://] [gw83] [ 50%] PASSED tests/features/test_mesh.py::test_dataset_cast_to_mesh_features tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split38-mock://] tests/test_builder.py::test_generator_based_builder_download_and_prepare_with_ambiguous_shards[1-expectation1] [gw78] [ 50%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_set_format_torch tests/test_dataset_dict.py::test_datasetdict_from_json_splits[test] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_multiprocessing_on_disk [gw21] [ 50%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_iterable_dataset_dict_push_to_hub_max_shard_size_and_num_shards_are_mutually_exclusive [gw40] [ 50%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split38-mock://] tests/test_dataset_dict.py::test_datasetdict_from_text_keep_in_memory[False] [gw2] [ 50%] PASSED tests/test_builder.py::test_generator_based_builder_download_and_prepare_with_ambiguous_shards[1-expectation1] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split41-] tests/test_dataset_list.py::DatasetListTest::test_create [gw75] [ 50%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_splits[test] tests/features/test_mesh.py::test_dataset_concatenate_mesh_features tests/test_dataset_dict.py::DatasetDictTest::test_with_format [gw15] [ 50%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split41-] [gw86] [ 50%] PASSED tests/test_dataset_list.py::DatasetListTest::test_create tests/test_dataset_dict.py::DatasetDictTest::test_iterable_filter [gw0] [ 50%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_with_format [gw34] [ 50%] RERUN tests/features/test_audio.py::test_dataset_with_audio_feature [gw31] [ 50%] PASSED tests/test_builder.py::test_builder_as_dataset[True-None-DatasetDict-10] [gw21] [ 50%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_iterable_filter [gw82] [ 50%] RERUN tests/features/test_video.py::test_load_dataset_with_video_feature[False] [gw45] [ 50%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_filter tests/features/test_audio.py::test_dataset_with_audio_feature tests/features/test_video.py::test_load_dataset_with_video_feature[False] tests/test_builder.py::test_builder_as_dataset[True-train-Dataset-10] tests/test_dataset_dict.py::DatasetDictTest::test_flatten tests/test_arrow_writer.py::test_write_table[fields1-1] [gw13] [ 50%] PASSED tests/test_arrow_writer.py::test_write_table[fields1-1] tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence0-None-expected_dtype0] [gw46] [ 50%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_on_disk tests/test_arrow_writer.py::test_write_with_keys[2] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence1-other-expected_dtype4] tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence2-optimized_int_type1-expected_dtype1] [gw51] [ 51%] PASSED tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence0-None-expected_dtype0] tests/test_arrow_writer.py::test_write[fields3-None] [gw11] [ 51%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence1-other-expected_dtype4] [gw62] [ 51%] PASSED tests/test_arrow_writer.py::test_write_with_keys[2] [gw71] [ 51%] PASSED tests/test_arrow_writer.py::test_write[fields3-None] tests/test_arrow_dataset.py::test_dataset_from_text_path_type[str] tests/test_buckets.py::test_bucket_module_uses_dataset_card_data_not_card [gw83] [ 51%] PASSED tests/features/test_mesh.py::test_dataset_concatenate_mesh_features tests/test_distributed.py::test_split_dataset_by_node_iterable_sharded[2] tests/test_dataset_list.py::DatasetListTest::test_list_dict_equivalent [gw19] [ 51%] PASSED tests/test_arrow_dataset.py::test_dataset_from_json_keep_in_memory[True] [gw35] [ 51%] PASSED tests/test_arrow_writer.py::test_optimized_int_type_for_typed_sequence[sequence2-optimized_int_type1-expected_dtype1] [gw77] [ 51%] PASSED tests/test_buckets.py::test_bucket_module_uses_dataset_card_data_not_card tests/test_download_manager.py::test_download_manager_download[dict] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence0-other-expected_dtype4] [gw123] [ 51%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_keep_in_memory[False] tests/test_exceptions.py::test_error_not_deprecated[SplitsVerificationError] tests/test_arrow_writer.py::test_write_row[fields1-10] [gw77] [ 51%] PASSED tests/test_exceptions.py::test_error_not_deprecated[SplitsVerificationError] tests/test_arrow_dataset.py::test_dataset_from_csv_split[split1] [gw14] [ 51%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence0-other-expected_dtype4] [gw13] [ 51%] PASSED tests/test_dataset_list.py::DatasetListTest::test_list_dict_equivalent tests/test_arrow_writer.py::test_parquet_writer_uses_content_defined_chunking [gw45] [ 51%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_flatten [gw11] [ 51%] PASSED tests/test_download_manager.py::test_download_manager_download[dict] tests/test_arrow_dataset.py::test_dataset_to_json [gw127] [ 51%] PASSED tests/test_arrow_writer.py::test_write_row[fields1-10] tests/test_download_manager.py::test_download_manager_extract[False-list] [gw124] [ 51%] PASSED tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_metadata_and_archives[False] tests/test_dataset_dict.py::test_datasetdict_from_csv_keep_in_memory[True] tests/test_download_manager.py::test_download_manager_extract[True-list] [gw42] [ 51%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_features[features2] tests/test_dataset_dict.py::test_datasetdict_from_text_split[None] [gw23] [ 51%] PASSED tests/test_arrow_writer.py::test_parquet_writer_uses_content_defined_chunking tests/test_dataset_dict.py::test_datasetdict_from_text_features[None] tests/test_download_manager.py::test_iter_archive_path[tar_jsonl_path] tests/test_exceptions.py::test_error_not_deprecated[UnexpectedSplitsError] [gw35] [ 51%] PASSED tests/test_download_manager.py::test_download_manager_extract[False-list] [gw77] [ 51%] PASSED tests/test_exceptions.py::test_error_not_deprecated[UnexpectedSplitsError] tests/features/test_mesh.py::test_mesh_feature_encode_trimesh_object tests/test_dataset_dict.py::test_datasetdict_from_json_features[features3] tests/test_dataset_list.py::DatasetListTest::test_uneven_records [gw60] [ 51%] PASSED tests/test_arrow_dataset.py::test_dataset_from_text_path_type[str] tests/test_download_manager.py::test_download_manager_extract[False-dict] [gw83] [ 51%] PASSED tests/features/test_mesh.py::test_mesh_feature_encode_trimesh_object tests/test_exceptions.py::test_error_not_deprecated[UnexpectedDownloadedFileError] tests/test_distributed.py::test_distributed_shuffle_iterable tests/test_download_manager.py::test_iter_archive_file[zip_nested_jsonl_path] [gw23] [ 51%] PASSED tests/test_exceptions.py::test_error_not_deprecated[UnexpectedDownloadedFileError] [gw19] [ 51%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_text_split[None] [gw71] [ 51%] PASSED tests/test_download_manager.py::test_download_manager_extract[True-list] [gw35] [ 51%] PASSED tests/test_download_manager.py::test_download_manager_extract[False-dict] tests/test_exceptions.py::test_error_not_deprecated[NonMatchingSplitsSizesError] [gw13] [ 51%] PASSED tests/test_dataset_list.py::DatasetListTest::test_uneven_records [gw110] [ 51%] PASSED tests/test_arrow_dataset.py::test_dataset_to_json [gw42] [ 51%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_features[features3] [gw61] [ 51%] PASSED tests/test_builder.py::BuilderTest::test_cache_dir_for_config_kwargs [gw14] [ 51%] PASSED tests/test_download_manager.py::test_iter_archive_file[zip_nested_jsonl_path] [gw76] [ 52%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_keep_in_memory[True] [gw6] [ 52%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_text_keep_in_memory[False] tests/test_dataset_dict.py::test_datasetdict_from_text_split[split1] [gw127] [ 52%] PASSED tests/test_exceptions.py::test_error_not_deprecated[NonMatchingSplitsSizesError] tests/test_exceptions.py::test_error_not_deprecated[ExpectedMoreDownloadedFilesError] [gw23] [ 52%] PASSED tests/test_exceptions.py::test_error_not_deprecated[ExpectedMoreDownloadedFilesError] tests/test_builder.py::BuilderTest::test_cache_dir_for_configured_builder tests/test_dataset_dict.py::test_datasetdict_from_parquet_features[None] [gw62] [ 52%] PASSED tests/test_download_manager.py::test_iter_archive_path[tar_jsonl_path] tests/test_extract.py::test_base_extractors[bz2-False] tests/test_download_manager.py::test_download_manager_extract[True-dict] tests/test_download_manager.py::test_download_manager_download[dict_of_dict] [gw19] [ 52%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_text_split[split1] tests/test_buckets.py::test_get_updated_dataset_card_keeps_existing_splits_when_appending [gw61] [ 52%] PASSED tests/test_builder.py::BuilderTest::test_cache_dir_for_configured_builder [gw20] [ 52%] FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[0] tests/test_arrow_writer.py::test_write_row[None-None] tests/test_dataset_dict.py::test_datasetdict_from_json_features[features4] [gw11] [ 52%] PASSED tests/test_download_manager.py::test_download_manager_download[dict_of_dict] tests/test_download_manager.py::test_iter_files [gw41] [ 52%] PASSED tests/test_buckets.py::test_get_updated_dataset_card_keeps_existing_splits_when_appending [gw107] [ 52%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_split[split1] [gw71] [ 52%] PASSED tests/test_download_manager.py::test_download_manager_extract[True-dict] [gw104] [ 52%] PASSED tests/test_arrow_writer.py::test_write_row[None-None] [gw124] [ 52%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_text_features[None] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[*] [gw14] [ 52%] PASSED tests/test_download_manager.py::test_iter_files tests/test_experimental.py::TestExperimentalFlag::test_experimental_warning [gw127] [ 52%] PASSED tests/test_experimental.py::TestExperimentalFlag::test_experimental_warning tests/test_download_manager.py::test_iter_archive_path[zip_jsonl_path] tests/test_data_files.py::test_resolve_pattern_locally_with_extensions[**-4-None] [gw42] [ 52%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_features[features4] tests/features/test_audio.py::test_dataset_cast_to_audio_features[1] tests/test_arrow_dataset.py::test_map_async [gw110] [ 52%] PASSED tests/test_extract.py::test_base_extractors[bz2-False] [gw103] [ 52%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[table-dict-keys5-data] [gw49] [ 52%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_with_extensions[**-4-None] tests/test_builder.py::test_config_raises_when_invalid_data_files[str_path] [gw55] [ 52%] PASSED tests/test_builder.py::test_config_raises_when_invalid_data_files[str_path] [gw60] [ 52%] PASSED tests/test_distributed.py::test_distributed_shuffle_iterable tests/test_download_manager.py::test_download_manager_download[str] [gw76] [ 52%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_features[None] [gw62] [ 52%] PASSED tests/test_download_manager.py::test_iter_archive_path[zip_jsonl_path] tests/test_builder.py::BuilderTest::test_cache_dir_for_data_dir tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_invalidproc [gw103] [ 52%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_invalidproc tests/features/test_audio.py::test_audio_decode_example_mp3 tests/test_dataset_dict.py::test_datasetdict_from_text_features[features1] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_base_path[**-2-data/subdir] tests/test_extract.py::test_base_extractors[gzip-False] tests/test_extract.py::test_base_extractors[zstd-False] [gw61] [ 52%] PASSED tests/test_builder.py::BuilderTest::test_cache_dir_for_data_dir tests/test_extract.py::test_base_extractors[tar-True] tests/test_builder.py::test_generator_based_builder_download_and_prepare_sharded tests/test_file_utils.py::test_extracted_datasets_path[True-True] [gw110] [ 52%] PASSED tests/test_extract.py::test_base_extractors[gzip-False] [gw67] [ 52%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[*] tests/test_dataset_dict.py::test_datasetdict_from_parquet_features[features1] tests/test_builder.py::test_builder_streaming_works_in_subprocess [gw60] [ 52%] PASSED tests/test_download_manager.py::test_download_manager_download[str] tests/test_builder.py::test_builder_download_and_prepare_with_absolute_output_dir tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_compression[gzip-gz] tests/test_extract.py::test_extractor[xz-False] [gw5] [ 52%] PASSED tests/test_builder.py::test_builder_download_and_prepare_with_absolute_output_dir tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[*] tests/test_builder.py::BuilderTest::test_cache_dir_for_data_files [gw32] [ 52%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_base_path[**-2-data/subdir] [gw103] [ 52%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_compression[gzip-gz] tests/test_file_utils.py::test_cached_path_extract[gzip] [gw49] [ 53%] PASSED tests/test_file_utils.py::test_extracted_datasets_path[True-True] tests/test_file_utils.py::test_extracted_datasets_path[True-False] [gw49] [ 53%] PASSED tests/test_file_utils.py::test_extracted_datasets_path[True-False] [gw41] [ 53%] PASSED tests/test_extract.py::test_base_extractors[tar-True] tests/test_distributed.py::test_split_dataset_by_node_map_style [gw84] [ 53%] RERUN tests/features/test_video.py::test_dataset_with_video_map_and_formatted tests/features/test_video.py::test_dataset_with_video_map_and_formatted tests/test_file_utils.py::test_extracted_datasets_path[False-False] tests/test_data_files.py::test_resolve_pattern_locally[*.txt] [gw55] [ 53%] PASSED tests/test_extract.py::test_extractor[xz-False] [gw67] [ 53%] PASSED tests/test_file_utils.py::test_cached_path_extract[gzip] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[**/*.txt] [gw81] [ 53%] PASSED tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[*] [gw25] [ 53%] PASSED tests/test_builder.py::test_generator_based_builder_download_and_prepare_sharded [gw31] [ 53%] PASSED tests/test_builder.py::test_builder_as_dataset[True-train-Dataset-10] tests/test_data_files.py::test_resolve_pattern_locally_hidden_base_path [gw124] [ 53%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_text_features[features1] [gw76] [ 53%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_features[features1] [gw36] [ 53%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_hidden_base_path [gw104] [ 53%] PASSED tests/test_extract.py::test_base_extractors[zstd-False] [gw117] [ 53%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_keep_in_memory[False] [gw107] [ 53%] PASSED tests/test_distributed.py::test_split_dataset_by_node_map_style [gw10] [ 53%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository[**/*.txt] tests/test_data_files.py::test_pattern_results_fixture[**/*.txt] [gw32] [ 53%] PASSED tests/test_file_utils.py::test_extracted_datasets_path[False-False] tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[**/train.txt] tests/test_extract.py::test_extractor[zip-True] [gw55] [ 53%] PASSED tests/test_extract.py::test_extractor[zip-True] [gw99] [ 53%] PASSED tests/test_arrow_dataset.py::test_map_async [gw28] [ 53%] PASSED tests/test_data_files.py::test_resolve_pattern_locally[*.txt] tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository_with_base_path[**-0-data/subdir2-train] [gw125] [ 53%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-True] tests/test_extract.py::test_extractor[7z-True] tests/test_dataset_dict.py::test_datasetdict_from_json_keep_in_memory[True] tests/test_extract.py::test_base_extractors[xz-False] tests/packaged_modules/test_parquet.py::test_config_raises_when_invalid_data_files[str_path] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-True] tests/test_dataset_dict.py::test_datasetdict_from_text_features[features2] tests/test_extract.py::test_tar_extract_insecure_files[tar_file_with_dot_dot-illegal path] tests/test_file_utils.py::test_cached_path_local tests/test_builder.py::test_builder_as_streaming_dataset [gw41] [ 53%] PASSED tests/test_extract.py::test_base_extractors[xz-False] [gw17] [ 53%] PASSED tests/packaged_modules/test_parquet.py::test_config_raises_when_invalid_data_files[str_path] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_compression[bz2-bz2] [gw104] [ 53%] SKIPPED tests/test_extract.py::test_extractor[7z-True] [gw68] [ 53%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository_with_base_path[**-0-data/subdir2-train] tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://domain.org/data.txt-download_config3-https://domain.org/data.txt-expected_storage_options3] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_returns_hidden_dir_only_if_requested tests/test_data_files.py::test_resolve_pattern_locally_prefixed_archive_glob[tar_jsonl_path] [gw103] [ 53%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_compression[bz2-bz2] tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://domain.org/data.txt-download_config6-https://domain.org/data.txt-expected_storage_options6] [gw63] [ 53%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[**/train.txt] tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_extensions[**-0-extensions2] [gw32] [ 53%] PASSED tests/test_file_utils.py::test_cached_path_local [gw81] [ 53%] PASSED tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://domain.org/data.txt-download_config6-https://domain.org/data.txt-expected_storage_options6] [gw126] [ 53%] PASSED tests/test_data_files.py::test_pattern_results_fixture[**/*.txt] tests/test_file_utils.py::test_cached_path_extract[xz] tests/test_file_utils.py::test_xjoin[/build/python-datasets/src/datasets-5.0.1-paths_to_join4-/build/python-datasets/src/datasets-5.0.1/file.txt] [gw38] [ 53%] PASSED tests/test_data_files.py::test_resolve_pattern_locally_prefixed_archive_glob[tar_jsonl_path] tests/test_builder.py::test_builder_as_dataset[True-train+test[:30%]-Dataset-13] tests/test_file_utils.py::test_xsplit[zip://file.txt::https://host.com/archive.zip-expected_head_and_tail2] [gw25] [ 54%] PASSED tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://domain.org/data.txt-download_config3-https://domain.org/data.txt-expected_storage_options3] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_compression[xz-xz] tests/test_file_utils.py::test_xexists[tmp_path/file_that_doesnt_exist.txt-False] tests/test_distributed.py::test_split_dataset_by_node_iterable [gw67] [ 54%] PASSED tests/test_file_utils.py::test_cached_path_extract[xz] [gw28] [ 54%] PASSED tests/test_file_utils.py::test_xjoin[/build/python-datasets/src/datasets-5.0.1-paths_to_join4-/build/python-datasets/src/datasets-5.0.1/file.txt] [gw10] [ 54%] PASSED tests/test_file_utils.py::test_xexists[tmp_path/file_that_doesnt_exist.txt-False] [gw17] [ 54%] PASSED tests/test_file_utils.py::test_xsplit[zip://file.txt::https://host.com/archive.zip-expected_head_and_tail2] [gw80] [ 54%] PASSED tests/features/test_mesh.py::test_mesh_decode_example tests/test_data_files.py::test_pattern_results_fixture[*] [gw27] [ 54%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_returns_hidden_dir_only_if_requested [gw124] [ 54%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_text_features[features2] [gw103] [ 54%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_compression[xz-xz] tests/test_file_utils.py::test_xjoin[zip://::https://host.com/archive.zip-paths_to_join1-zip://file.txt::https://host.com/archive.zip] tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://huggingface.co/datasets/hf-internal-testing/dataset_with_data_files/resolve/main/data/train.txt-download_config0-hf://datasets/hf-internal-testing/dataset_with_data_files@main/data/train.txt-expected_storage_options0] [gw5] [ 54%] PASSED tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://huggingface.co/datasets/hf-internal-testing/dataset_with_data_files/resolve/main/data/train.txt-download_config0-hf://datasets/hf-internal-testing/dataset_with_data_files@main/data/train.txt-expected_storage_options0] tests/test_file_utils.py::test_xsplitext[/build/python-datasets/src/datasets-5.0.1/tests/test_file_utils.py-expected_path_and_ext0] [gw99] [ 54%] PASSED tests/test_extract.py::test_tar_extract_insecure_files[tar_file_with_dot_dot-illegal path] [gw39] [ 54%] PASSED tests/test_builder.py::test_builder_as_streaming_dataset tests/test_file_utils.py::test_xisdir[tmp_path-True] [gw39] [ 54%] PASSED tests/test_file_utils.py::test_xisdir[tmp_path-True] tests/test_file_utils.py::test_xexists_private [gw33] [ 54%] PASSED tests/test_data_files.py::test_resolve_pattern_in_dataset_repository_with_extensions[**-0-extensions2] [gw53] [ 54%] PASSED tests/test_data_files.py::test_pattern_results_fixture[*] [gw38] [ 54%] PASSED tests/test_file_utils.py::test_xsplitext[/build/python-datasets/src/datasets-5.0.1/tests/test_file_utils.py-expected_path_and_ext0] tests/test_builder.py::BuilderTest::test_download_and_prepare_checksum_computation [gw36] [ 54%] PASSED tests/test_file_utils.py::test_xjoin[zip://::https://host.com/archive.zip-paths_to_join1-zip://file.txt::https://host.com/archive.zip] tests/test_file_utils.py::test_xlistdir[mock://top_level-expected_paths2] tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[*.txt] tests/test_file_utils.py::test_xdirname[zip://file.txt::https://host.com/archive.zip-zip://::https://host.com/archive.zip] tests/test_file_utils.py::test_xsplitext[zip://folder::https://host.com/archive.zip-expected_path_and_ext3] tests/test_arrow_writer.py::test_write_batch[fields1-1] tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://huggingface.co/datasets/hf-internal-testing/dataset_with_data_files/resolve/main/data/train.txt-download_config1-hf://datasets/hf-internal-testing/dataset_with_data_files@main/data/train.txt-expected_storage_options1] tests/test_file_utils.py::test_xexists[mock://top_level/second_level/date=2019-10-01/a.parquet-True] tests/test_file_utils.py::test_xisdir[tmp_path/file.txt-False] tests/test_file_utils.py::test_xsplitext[https://host.com/archive.zip-expected_path_and_ext1] [gw5] [ 54%] PASSED tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://huggingface.co/datasets/hf-internal-testing/dataset_with_data_files/resolve/main/data/train.txt-download_config1-hf://datasets/hf-internal-testing/dataset_with_data_files@main/data/train.txt-expected_storage_options1] tests/test_extract.py::test_tar_extract_insecure_files[tar_file_with_sym_link-Symlink] [gw33] [ 54%] PASSED tests/test_file_utils.py::test_xlistdir[mock://top_level-expected_paths2] [gw107] [ 54%] PASSED tests/test_distributed.py::test_split_dataset_by_node_iterable [gw126] [ 54%] PASSED tests/test_file_utils.py::test_xsplitext[zip://folder::https://host.com/archive.zip-expected_path_and_ext3] tests/test_file_utils.py::test_xisfile[tmp_path/file.txt-True] [gw38] [ 54%] PASSED tests/test_file_utils.py::test_xsplitext[https://host.com/archive.zip-expected_path_and_ext1] [gw53] [ 54%] PASSED tests/test_file_utils.py::test_xisfile[tmp_path/file.txt-True] [gw27] [ 54%] PASSED tests/test_file_utils.py::test_xdirname[zip://file.txt::https://host.com/archive.zip-zip://::https://host.com/archive.zip] tests/test_file_utils.py::test_xopen_remote [gw58] [ 54%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[*.txt] [gw39] [ 54%] PASSED tests/test_file_utils.py::test_xisdir[tmp_path/file.txt-False] [gw80] [ 54%] PASSED tests/test_arrow_writer.py::test_write_batch[fields1-1] [gw10] [ 54%] PASSED tests/test_file_utils.py::test_xexists[mock://top_level/second_level/date=2019-10-01/a.parquet-True] tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://raw.githubusercontent.com/data.txt-download_config7-https://raw.githubusercontent.com/data.txt-expected_storage_options7] [gw81] [ 54%] PASSED tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://raw.githubusercontent.com/data.txt-download_config7-https://raw.githubusercontent.com/data.txt-expected_storage_options7] [gw61] [ 54%] PASSED tests/test_builder.py::BuilderTest::test_cache_dir_for_data_files tests/test_file_utils.py::test_xdirname[/build/python-datasets/src/datasets-5.0.1/tests/test_file_utils.py-/build/python-datasets/src/datasets-5.0.1/tests] tests/test_file_utils.py::test_xsplit[zip://folder::https://host.com/archive.zip-expected_head_and_tail3] [gw17] [ 54%] PASSED tests/test_file_utils.py::test_xsplit[zip://folder::https://host.com/archive.zip-expected_head_and_tail3] [gw44] [ 55%] PASSED tests/test_builder.py::BuilderTest::test_download_and_prepare_checksum_computation tests/test_file_utils.py::test_xjoin[zip://folder::https://host.com/archive.zip-paths_to_join2-zip://folder/file.txt::https://host.com/archive.zip] [gw99] [ 55%] PASSED tests/test_extract.py::test_tar_extract_insecure_files[tar_file_with_sym_link-Symlink] [gw28] [ 55%] PASSED tests/test_file_utils.py::test_xdirname[/build/python-datasets/src/datasets-5.0.1/tests/test_file_utils.py-/build/python-datasets/src/datasets-5.0.1/tests] tests/test_arrow_writer.py::test_write_batch[fields1-10] tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://domain.org/data.txt-download_config4-https://domain.org/data.txt-expected_storage_options4] [gw36] [ 55%] PASSED tests/test_file_utils.py::test_xjoin[zip://folder::https://host.com/archive.zip-paths_to_join2-zip://folder/file.txt::https://host.com/archive.zip] [gw48] [ 55%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_keep_in_memory[False] tests/test_file_utils.py::test_xisfile[tmp_path/file_that_doesnt_exist.txt-False] [gw51] [ 55%] PASSED tests/test_distributed.py::test_split_dataset_by_node_iterable_sharded[2] tests/test_file_utils.py::test_xsplitext[zip://::https://host.com/archive.zip-expected_path_and_ext4] tests/test_file_utils.py::test_xisfile[mock://top_level/second_level/date=2019-10-01/a.parquet-True] [gw80] [ 55%] PASSED tests/test_arrow_writer.py::test_write_batch[fields1-10] tests/test_file_utils.py::test_xlistdir[mock://top_level/second_level/date=2019-10-01-expected_paths3] tests/test_file_utils.py::test_xdirname[zip://folder/file.txt::https://host.com/archive.zip-zip://folder::https://host.com/archive.zip] [gw53] [ 55%] PASSED tests/test_file_utils.py::test_xisfile[tmp_path/file_that_doesnt_exist.txt-False] [gw25] [ 55%] PASSED tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://domain.org/data.txt-download_config4-https://domain.org/data.txt-expected_storage_options4] [gw126] [ 55%] PASSED tests/test_file_utils.py::test_xsplitext[zip://::https://host.com/archive.zip-expected_path_and_ext4] [gw123] [ 55%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_keep_in_memory[True] [gw27] [ 55%] PASSED tests/test_file_utils.py::test_xdirname[zip://folder/file.txt::https://host.com/archive.zip-zip://folder::https://host.com/archive.zip] tests/test_arrow_dataset.py::test_dataset_from_csv_keep_in_memory[True] [gw33] [ 55%] PASSED tests/test_file_utils.py::test_xlistdir[mock://top_level/second_level/date=2019-10-01-expected_paths3] [gw44] [ 55%] PASSED tests/test_file_utils.py::test_xisfile[mock://top_level/second_level/date=2019-10-01/a.parquet-True] tests/test_arrow_writer.py::test_write_batch[fields2-None] [gw12] [ 55%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_reuses_cache_with_different_num_proc_on_disk tests/test_distributed.py::test_split_dataset_by_node_iterable_sharded[3] tests/test_file_utils.py::test_xisfile_private tests/test_arrow_dataset.py::BaseDatasetTest::test_map_crash_subprocess_in_memory [gw80] [ 55%] PASSED tests/test_arrow_writer.py::test_write_batch[fields2-None] tests/test_arrow_writer.py::test_write_batch[fields2-1] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split2-my_dir] tests/test_file_utils.py::test_xisdir[mock://top_level-True] [gw58] [ 55%] PASSED tests/test_file_utils.py::test_xisdir[mock://top_level-True] [gw90] [ 55%] PASSED tests/io/test_csv.py::test_dataset_to_csv_multiproc [gw51] [ 55%] PASSED tests/test_distributed.py::test_split_dataset_by_node_iterable_sharded[3] tests/test_data_files.py::test_DataFilesList_from_patterns_raises_FileNotFoundError [gw80] [ 55%] PASSED tests/test_arrow_writer.py::test_write_batch[fields2-1] [gw65] [ 55%] PASSED tests/test_data_files.py::test_DataFilesList_from_patterns_raises_FileNotFoundError tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split5-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split8-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split6-my_dir] tests/test_file_utils.py::test_xisdir[mock://dir_that_doesnt_exist-False] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split13-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split14-my_dir] [gw59] [ 55%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split5-mock://] [gw56] [ 55%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split2-my_dir] [gw58] [ 55%] PASSED tests/test_file_utils.py::test_xisdir[mock://dir_that_doesnt_exist-False] [gw85] [ 55%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split6-my_dir] [gw106] [ 55%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split13-mock://] [gw89] [ 55%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split8-] tests/test_file_utils.py::test_xglob[tmp_path/*.txt-expected_paths0] tests/test_file_utils.py::test_xrelpath[dir1/dir2/file.txt-dir1-dir2/file.txt] tests/test_file_utils.py::test_xgetsize[mock://-0] [gw114] [ 55%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split14-my_dir] [gw85] [ 55%] PASSED tests/test_file_utils.py::test_xrelpath[dir1/dir2/file.txt-dir1-dir2/file.txt] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split17-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split20-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split12-] tests/test_file_utils.py::test_xrelpath[zip://folder/file.txt::https://host.com/archive.zip-zip://::https://host.com/archive.zip-folder/file.txt] [gw56] [ 55%] PASSED tests/test_file_utils.py::test_xglob[tmp_path/*.txt-expected_paths0] [gw59] [ 55%] PASSED tests/test_file_utils.py::test_xgetsize[mock://-0] [gw91] [ 55%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[True] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[True] [gw69] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split17-mock://] tests/test_file_utils.py::test_xwalk[tmp_path-expected_outputs0] [gw114] [ 56%] PASSED tests/test_file_utils.py::test_xrelpath[zip://folder/file.txt::https://host.com/archive.zip-zip://::https://host.com/archive.zip-folder/file.txt] tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[**/*] [gw31] [ 56%] PASSED tests/test_builder.py::test_builder_as_dataset[True-train+test[:30%]-Dataset-13] [gw100] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split12-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split18-my_dir] tests/test_builder.py::test_builder_as_dataset[False-train-Dataset-10] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split9-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split4-] [gw89] [ 56%] PASSED tests/test_file_utils.py::test_xwalk[tmp_path-expected_outputs0] [gw122] [ 56%] PASSED tests/packaged_modules/test_cache.py::test_cache_single_config [gw113] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split20-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split10-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split22-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split16-] tests/test_file_utils.py::TestxPath::test_xpath_exists[tmp_path/file.txt-True] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split24-] tests/test_file_utils.py::test_xrelpath[dir1/dir2/file.txt-dir1/dir2-file.txt] tests/test_file_utils.py::test_xrelpath[zip://folder/file.txt::https://host.com/archive.zip-zip://folder::https://host.com/archive.zip-file.txt] [gw30] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split4-] tests/test_file_utils.py::TestxPath::test_xpath_str[zip://file.txt::https://host.com/archive.zip] [gw106] [ 56%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_str[zip://file.txt::https://host.com/archive.zip] tests/packaged_modules/test_cache.py::test_cache_capital_letters [gw26] [ 56%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository[**/*] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split1-mock://] [gw85] [ 56%] PASSED tests/test_file_utils.py::test_xrelpath[dir1/dir2/file.txt-dir1/dir2-file.txt] [gw115] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split22-my_dir] [gw114] [ 56%] PASSED tests/test_file_utils.py::test_xrelpath[zip://folder/file.txt::https://host.com/archive.zip-zip://folder::https://host.com/archive.zip-file.txt] [gw69] [ 56%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_exists[tmp_path/file.txt-True] [gw24] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split18-my_dir] tests/test_file_utils.py::test_xglob[mock://*-expected_paths1] [gw56] [ 56%] PASSED tests/test_file_utils.py::test_xglob[mock://*-expected_paths1] [gw29] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split16-] [gw64] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split24-] tests/test_file_utils.py::TestxPath::test_xpath_str[/build/python-datasets/src/datasets-5.0.1/file.txt] [gw8] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split9-mock://] tests/test_file_utils.py::TestxPath::test_xpath_exists[mock://top_level/second_level/date=2019-10-01/file_that_doesnt_exist.parquet-False] tests/test_file_utils.py::test_xglob[mock://top_level/second_level/date=2019-10-0[1-4]-expected_paths3] [gw65] [ 56%] PASSED tests/test_file_utils.py::test_xglob[mock://top_level/second_level/date=2019-10-0[1-4]-expected_paths3] tests/test_file_utils.py::TestxPath::test_xpath_rglob[tmp_path-*.txt-expected_paths0] [gw118] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split1-mock://] [gw93] [ 56%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split10-my_dir] tests/test_file_utils.py::test_xgetsize[mock://top_level/second_level/date=2019-10-01/a.parquet-100] [gw100] [ 56%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_str[/build/python-datasets/src/datasets-5.0.1/file.txt] [gw29] [ 56%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_rglob[tmp_path-*.txt-expected_paths0] tests/test_file_utils.py::TestxPath::test_xpath_parent[zip://file.txt::https://host.com/archive.zip-zip://::https://host.com/archive.zip] tests/test_file_utils.py::test_xwalk[mock://top_level/second_level-expected_outputs1] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split21-mock://] [gw113] [ 56%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_exists[mock://top_level/second_level/date=2019-10-01/file_that_doesnt_exist.parquet-False] tests/test_file_utils.py::TestxPath::test_xpath_stem[https://host.com/archive.zip-archive] tests/test_arrow_reader.py::test_read_files[True] [gw59] [ 56%] PASSED tests/test_file_utils.py::test_xgetsize[mock://top_level/second_level/date=2019-10-01/a.parquet-100] [gw115] [ 56%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_stem[https://host.com/archive.zip-archive] [gw89] [ 56%] PASSED tests/test_file_utils.py::test_xwalk[mock://top_level/second_level-expected_outputs1] tests/test_file_utils.py::TestxPath::test_xpath_glob[mock://-top_*-expected_paths2] tests/test_file_utils.py::TestxPath::test_xpath_parent[/build/python-datasets/src/datasets-5.0.1/file.txt-/build/python-datasets/src/datasets-5.0.1] [gw7] [ 56%] RERUN tests/features/test_audio.py::test_dataset_concatenate_audio_features [gw64] [ 56%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_parent[/build/python-datasets/src/datasets-5.0.1/file.txt-/build/python-datasets/src/datasets-5.0.1] tests/test_file_utils.py::TestxPath::test_xpath_stem[file.txt-file] [gw30] [ 56%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_stem[file.txt-file] [gw26] [ 56%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_parent[zip://file.txt::https://host.com/archive.zip-zip://::https://host.com/archive.zip] tests/test_file_utils.py::test_xglob[mock://top_level/second_level/date=2019-10-0[1-4]/*-expected_paths4] tests/test_file_utils.py::TestxPath::test_xpath_suffix[zip://file.txt::https://host.com/archive.zip-.txt] tests/test_file_utils.py::TestxPath::test_xpath_name[zip://dir/file.txt::https://host.com/archive.zip-file.txt] tests/test_file_utils.py::TestxPath::test_xpath_glob[tmp_path-*.txt-expected_paths0] [gw18] [ 57%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split21-mock://] tests/features/test_audio.py::test_dataset_concatenate_audio_features tests/test_file_utils.py::TestxPath::test_xpath_as_posix[https://host.com/archive.zip-https://host.com/archive.zip] [gw8] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_glob[mock://-top_*-expected_paths2] [gw65] [ 57%] PASSED tests/test_file_utils.py::test_xglob[mock://top_level/second_level/date=2019-10-0[1-4]/*-expected_paths4] [gw24] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_name[zip://dir/file.txt::https://host.com/archive.zip-file.txt] [gw100] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_as_posix[https://host.com/archive.zip-https://host.com/archive.zip] tests/test_file_utils.py::TestxPath::test_xpath_exists[tmp_path/file_that_doesnt_exist.txt-False] [gw69] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_exists[tmp_path/file_that_doesnt_exist.txt-False] tests/test_file_utils.py::TestxPath::test_xpath_rglob[mock://-date=2019-10-0[1-4]/*-expected_paths3] tests/test_file_utils.py::TestxPath::test_xpath_rglob[mock://-date=2019-10-0[1-4]-expected_paths1] [gw118] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_suffix[zip://file.txt::https://host.com/archive.zip-.txt] [gw87] [ 57%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_locally_or_remote_hashing [gw29] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_rglob[mock://-date=2019-10-0[1-4]-expected_paths1] [gw113] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_glob[tmp_path-*.txt-expected_paths0] [gw93] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_rglob[mock://-date=2019-10-0[1-4]/*-expected_paths3] tests/test_file_utils.py::TestxPath::test_xpath_str[zip://dir/file.txt::https://host.com/archive.zip] tests/test_data_files.py::test_DataFilesPatternsList [gw108] [ 57%] PASSED tests/io/test_sql.py::test_dataset_to_sql_multiproc tests/test_builder.py::test_arrow_based_builder_download_and_prepare_with_ambiguous_shards[None-expectation0] [gw106] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_str[zip://dir/file.txt::https://host.com/archive.zip] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split36-] [gw84] [ 57%] RERUN tests/features/test_video.py::test_dataset_with_video_map_and_formatted tests/features/test_video.py::test_dataset_with_video_map_and_formatted tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split26-my_dir] [gw34] [ 57%] FAILED tests/features/test_audio.py::test_dataset_with_audio_feature [gw96] [ 57%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split36-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split33-mock://] [gw92] [ 57%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split33-mock://] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split29-mock://] tests/test_file_utils.py::TestxPath::test_xpath_glob[mock://top_level/second_level-date=2019-10-0[1-4]-expected_paths3] [gw87] [ 57%] PASSED tests/test_data_files.py::test_DataFilesPatternsList tests/test_file_utils.py::TestxPath::test_xpath_stem[zip://file.txt::https://host.com/archive.zip-file] [gw97] [ 57%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_lines_multiproc[False-load_json] [gw112] [ 57%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split26-my_dir] tests/test_file_utils.py::TestxPath::test_xpath_stem[/build/python-datasets/src/datasets-5.0.1/file.txt-file] [gw8] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_glob[mock://top_level/second_level-date=2019-10-0[1-4]-expected_paths3] tests/test_file_utils.py::TestxPath::test_xpath_parent[zip://dir/file.txt::https://host.com/archive.zip-zip://dir::https://host.com/archive.zip] tests/test_file_utils.py::TestxPath::test_xpath_name[https://host.com/archive.zip-archive.zip] [gw115] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_stem[zip://file.txt::https://host.com/archive.zip-file] tests/test_file_utils.py::TestxPath::test_xpath_name[file.txt-file.txt] [gw74] [ 57%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split29-mock://] [gw30] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_stem[/build/python-datasets/src/datasets-5.0.1/file.txt-file] tests/test_file_utils.py::TestxPath::test_xpath_suffix[zip://dir/file.txt::https://host.com/archive.zip-.txt] [gw64] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_name[https://host.com/archive.zip-archive.zip] tests/test_file_utils.py::TestxPath::test_xpath_suffix[/build/python-datasets/src/datasets-5.0.1/file.txt-.txt] tests/test_file_utils.py::TestxPath::test_xpath_rglob[mock://top_level-date=2019-10-0[1-4]/*-expected_paths4] [gw118] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_suffix[zip://dir/file.txt::https://host.com/archive.zip-.txt] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[records-list-keys0-None] [gw26] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_parent[zip://dir/file.txt::https://host.com/archive.zip-zip://dir::https://host.com/archive.zip] [gw24] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_name[file.txt-file.txt] [gw66] [ 57%] PASSED tests/test_builder.py::test_arrow_based_builder_download_and_prepare_with_ambiguous_shards[None-expectation0] tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[**] tests/io/test_sql.py::test_dataset_to_sql_invalidproc tests/test_file_utils.py::test_get_extraction_protocol[https://github.com/user/what-time-is-it/blob/master/gutenberg_time_phrases.zip?raw=true-zip] tests/test_filesystem.py::test_mockfs [gw93] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_rglob[mock://top_level-date=2019-10-0[1-4]/*-expected_paths4] tests/test_file_utils.py::test_streaming_gg_drive [gw18] [ 57%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_suffix[/build/python-datasets/src/datasets-5.0.1/file.txt-.txt] [gw112] [ 57%] PASSED tests/test_file_utils.py::test_get_extraction_protocol[https://github.com/user/what-time-is-it/blob/master/gutenberg_time_phrases.zip?raw=true-zip] tests/test_data_files.py::test_DataFilesPatternsDict [gw92] [ 57%] SKIPPED tests/test_file_utils.py::test_streaming_gg_drive [gw96] [ 58%] PASSED tests/test_filesystem.py::test_mockfs [gw87] [ 58%] PASSED tests/test_data_files.py::test_DataFilesPatternsDict [gw108] [ 58%] PASSED tests/io/test_sql.py::test_dataset_to_sql_invalidproc [gw82] [ 58%] FAILED tests/features/test_video.py::test_load_dataset_with_video_feature[False] tests/test_file_utils.py::test_get_extraction_protocol[https://zenodo.org/record/2787612/files/SICK.zip?download=1-zip] tests/test_file_utils.py::test_get_extraction_protocol[zip://train-00000.json.gz::https://foo.bar/data.zip-gzip] tests/features/test_video.py::test_load_dataset_with_video_feature[True] tests/test_file_utils.py::TestxPath::test_xpath_with_suffix[https://host.com/archive.zip-.ann-https://host.com/archive.ann] [gw66] [ 58%] PASSED tests/test_file_utils.py::test_get_extraction_protocol[zip://train-00000.json.gz::https://foo.bar/data.zip-gzip] [gw34] [ 58%] PASSED tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[**] [gw74] [ 58%] PASSED tests/test_file_utils.py::test_get_extraction_protocol[https://zenodo.org/record/2787612/files/SICK.zip?download=1-zip] tests/io/test_sql.py::test_dataset_to_sql_preserves_nullable_int[int64-9007199254740993] tests/test_filesystem.py::test_non_mockfs tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split25-mock://] tests/test_file_utils.py::test_get_extraction_protocol_gg_drive[https://drive.google.com/uc?export=download&id=1Bt4Garpf0QLiwkJhHJzXaVa0I0H5Qhwz-gzip] tests/test_file_utils.py::test_get_extraction_protocol[https://github.com/user/repo/blob/master/data/morph_train.tsv?raw=true-None] [gw112] [ 58%] PASSED tests/test_file_utils.py::test_get_extraction_protocol[https://github.com/user/repo/blob/master/data/morph_train.tsv?raw=true-None] [gw96] [ 58%] PASSED tests/test_filesystem.py::test_non_mockfs [gw74] [ 58%] SKIPPED tests/test_file_utils.py::test_get_extraction_protocol_gg_drive[https://drive.google.com/uc?export=download&id=1Bt4Garpf0QLiwkJhHJzXaVa0I0H5Qhwz-gzip] [gw108] [ 58%] PASSED tests/io/test_sql.py::test_dataset_to_sql_preserves_nullable_int[int64-9007199254740993] [gw18] [ 58%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_with_suffix[https://host.com/archive.zip-.ann-https://host.com/archive.ann] tests/test_file_utils.py::test_get_extraction_protocol[https://foo.bar/train.json.gz?dl=1-gzip] [gw79] [ 58%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split25-mock://] tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[**/*] [gw117] [ 58%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_keep_in_memory[True] tests/test_file_utils.py::test_xnumpy_load [gw66] [ 58%] PASSED tests/test_file_utils.py::test_get_extraction_protocol[https://foo.bar/train.json.gz?dl=1-gzip] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split32-] [gw12] [ 58%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_crash_subprocess_in_memory tests/io/test_sql.py::test_dataset_to_sql_preserves_nullable_int[uint64-9007199254740993] tests/test_dataset_dict.py::test_datasetdict_from_json_features[None] [gw125] [ 58%] FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-True] [gw102] [ 58%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split32-] [gw92] [ 58%] PASSED tests/test_file_utils.py::test_xnumpy_load tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split28-] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_crash_subprocess_on_disk tests/test_filesystem.py::test_compression_filesystems[Bz2FileSystem] [gw105] [ 58%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split28-] [gw34] [ 58%] PASSED tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[**/*] [gw47] [ 58%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_multiprocessing_on_disk [gw108] [ 58%] PASSED tests/io/test_sql.py::test_dataset_to_sql_preserves_nullable_int[uint64-9007199254740993] tests/test_filesystem.py::test_compression_filesystems[XzFileSystem] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split34-my_dir] tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[*.txt] tests/test_filesystem.py::test_fs_isfile[gzip] tests/packaged_modules/test_audiofolder.py::test_data_files_with_wrong_metadata_file_name [gw111] [ 58%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split34-my_dir] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split44-] [gw117] [ 58%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_features[None] [gw105] [ 58%] PASSED tests/test_filesystem.py::test_fs_isfile[gzip] tests/test_dataset_dict.py::DatasetDictTest::test_cast [gw102] [ 58%] PASSED tests/test_filesystem.py::test_compression_filesystems[XzFileSystem] [gw79] [ 58%] PASSED tests/test_filesystem.py::test_compression_filesystems[Bz2FileSystem] tests/test_arrow_dataset.py::test_dataset_with_torch_dataloader[1] [gw94] [ 58%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split44-] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split45-mock://] tests/test_fingerprint.py::TokenizersHashTest::test_hash_regex tests/test_fingerprint.py::TokenizersHashTest::test_hash_tokenizer_with_cache [gw105] [ 58%] SKIPPED tests/test_fingerprint.py::TokenizersHashTest::test_hash_regex tests/test_filesystem.py::test_compression_filesystems[ZstdFileSystem] [gw109] [ 58%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split45-mock://] [gw34] [ 58%] PASSED tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[*.txt] [gw111] [ 58%] SKIPPED tests/test_fingerprint.py::TokenizersHashTest::test_hash_tokenizer_with_cache [gw3] [ 59%] RERUN tests/features/test_audio.py::test_audio_decode_example_mp3 tests/features/test_audio.py::test_audio_decode_example_mp3 [gw102] [ 59%] PASSED tests/test_filesystem.py::test_compression_filesystems[ZstdFileSystem] tests/packaged_modules/test_meshfolder.py::test_data_files_with_metadata_and_single_split[False] tests/test_fingerprint.py::RecurseHashTest::test_recurse_hash_for_method tests/test_filesystem.py::test_compression_filesystems[GzipFileSystem] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split37-mock://] tests/test_fingerprint.py::HashingTest::test_hash_tiktoken_encoding [gw94] [ 59%] PASSED tests/test_fingerprint.py::RecurseHashTest::test_recurse_hash_for_method tests/test_fingerprint.py::RecurseHashTest::test_hash_ignores_line_definition_of_function [gw121] [ 59%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split37-mock://] [gw109] [ 59%] SKIPPED tests/test_fingerprint.py::HashingTest::test_hash_tiktoken_encoding [gw79] [ 59%] PASSED tests/test_filesystem.py::test_compression_filesystems[GzipFileSystem] [gw111] [ 59%] PASSED tests/test_fingerprint.py::RecurseHashTest::test_hash_ignores_line_definition_of_function tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split30-my_dir] tests/test_dataset_dict.py::test_datasetdict_from_csv_features[features4] tests/test_dataset_dict.py::DatasetDictTest::test_rename_column tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split42-my_dir] tests/test_fingerprint.py::HashingTest::test_hash_update tests/test_dataset_dict.py::test_datasetdict_from_csv_split[test] tests/test_fingerprint.py::HashingTest::test_hash_arrow_table_is_independent_of_chunking tests/test_fingerprint.py::HashingTest::test_hash_torch_compiled_function [gw68] [ 59%] PASSED tests/test_file_utils.py::test_xopen_remote [gw98] [ 59%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_cast [gw121] [ 59%] PASSED tests/test_fingerprint.py::HashingTest::test_hash_update [gw109] [ 59%] SKIPPED tests/test_fingerprint.py::HashingTest::test_hash_torch_compiled_function tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split40-] tests/test_builder.py::test_generator_based_builder_download_and_prepare_with_ambiguous_shards[2-expectation2] [gw4] [ 59%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_rename_column tests/test_dataset_dict.py::test_datasetdict_from_parquet_keep_in_memory[False] [gw70] [ 59%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split42-my_dir] tests/test_file_utils.py::test_xlistdir[tmp_path-expected_paths0] [gw72] [ 59%] PASSED tests/test_arrow_dataset.py::test_dataset_with_torch_dataloader[1] [gw94] [ 59%] PASSED tests/test_fingerprint.py::HashingTest::test_hash_arrow_table_is_independent_of_chunking [gw120] [ 59%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split40-] [gw101] [ 59%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_split[test] [gw2] [ 59%] PASSED tests/test_builder.py::test_generator_based_builder_download_and_prepare_with_ambiguous_shards[2-expectation2] [gw68] [ 59%] PASSED tests/test_file_utils.py::test_xlistdir[tmp_path-expected_paths0] [gw119] [ 59%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_features[features4] [gw52] [ 59%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split30-my_dir] [gw125] [ 59%] PASSED tests/packaged_modules/test_audiofolder.py::test_data_files_with_wrong_metadata_file_name tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split41-mock://] tests/test_formatting.py::ArrowExtractorTest::test_numpy_extractor_flat_numeric_with_nulls tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split38-my_dir] tests/test_fingerprint.py::HashingTest::test_hash_same_strings tests/test_dataset_dict.py::DatasetDictTest::test_iterable_map tests/test_formatting.py::ArrowExtractorTest::test_pandas_extractor_temporal tests/test_dataset_list.py::DatasetListTest::test_create_empty tests/test_fingerprint.py::RecurseHashTest::test_recurse_hash_for_class tests/test_formatting.py::ArrowExtractorTest::test_numpy_extractor_temporal [gw4] [ 59%] PASSED tests/test_formatting.py::ArrowExtractorTest::test_numpy_extractor_flat_numeric_with_nulls tests/test_fingerprint.py::HashingTest::test_hash_torch_generator [gw98] [ 59%] PASSED tests/test_fingerprint.py::RecurseHashTest::test_recurse_hash_for_class [gw86] [ 59%] PASSED tests/test_dataset_list.py::DatasetListTest::test_create_empty tests/test_formatting.py::ArrowExtractorTest::test_numpy_extractor_nested [gw101] [ 59%] PASSED tests/test_formatting.py::ArrowExtractorTest::test_numpy_extractor_temporal [gw72] [ 59%] PASSED tests/test_fingerprint.py::HashingTest::test_hash_same_strings [gw15] [ 59%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split41-mock://] [gw4] [ 59%] PASSED tests/test_formatting.py::ArrowExtractorTest::test_numpy_extractor_nested tests/test_fingerprint.py::HashingTest::test_set_doesnt_depend_on_order [gw121] [ 59%] PASSED tests/test_fingerprint.py::HashingTest::test_set_doesnt_depend_on_order [gw70] [ 60%] PASSED tests/test_formatting.py::ArrowExtractorTest::test_pandas_extractor_temporal [gw40] [ 60%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split38-my_dir] tests/test_dataset_dict.py::DatasetDictTest::test_set_transform tests/test_dataset_dict.py::DatasetDictTest::test_with_transform tests/packaged_modules/test_audiofolder.py::test_data_files_with_custom_audio_file_name_column_in_metadata_file tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_partial_remap_in_memory tests/test_fingerprint.py::test_fingerprint_when_transform_version_changes [gw0] [ 60%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_with_transform [gw21] [ 60%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_iterable_map tests/test_fingerprint.py::RecurseHashTest::test_recurse_hash_for_function tests/test_fingerprint.py::HashingTest::test_hash_simple tests/test_formatting.py::FormatterTest::test_jax_formatter_image tests/test_dataset_dict.py::DatasetDictTest::test_flatten_indices tests/test_exceptions.py::test_error_not_deprecated[ExpectedMoreSplitsError] tests/test_download_manager.py::test_download_manager_extract[True-str] [gw98] [ 60%] PASSED tests/test_fingerprint.py::RecurseHashTest::test_recurse_hash_for_function [gw77] [ 60%] PASSED tests/test_exceptions.py::test_error_not_deprecated[ExpectedMoreSplitsError] tests/test_formatting.py::FormatterTest::test_pandas_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_formatting.py::ArrowExtractorTest::test_polars_extractor [gw70] [ 60%] SKIPPED tests/test_formatting.py::ArrowExtractorTest::test_polars_extractor [gw35] [ 60%] PASSED tests/test_download_manager.py::test_download_manager_extract[True-str] [gw119] [ 60%] PASSED tests/test_fingerprint.py::test_fingerprint_when_transform_version_changes tests/test_formatting.py::FormatterTest::test_tf_formatter [gw2] [ 60%] SKIPPED tests/test_formatting.py::FormatterTest::test_jax_formatter_image tests/features/test_mesh.py::test_require_decoding [gw83] [ 60%] PASSED tests/features/test_mesh.py::test_require_decoding tests/test_fingerprint.py::test_temp_cache_dir_without_tmpdir [gw43] [ 60%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_sql_on_disk [gw86] [ 60%] PASSED tests/test_formatting.py::FormatterTest::test_pandas_formatter [gw72] [ 60%] PASSED tests/test_fingerprint.py::HashingTest::test_hash_simple [gw40] [ 60%] SKIPPED tests/test_formatting.py::FormatterTest::test_jax_formatter tests/test_exceptions.py::test_error_not_deprecated[NonMatchingChecksumError] [gw120] [ 60%] PASSED tests/test_fingerprint.py::test_temp_cache_dir_without_tmpdir [gw21] [ 60%] SKIPPED tests/test_formatting.py::FormatterTest::test_tf_formatter tests/test_dataset_dict.py::test_datasetdict_from_text_keep_in_memory[True] tests/test_dataset_list.py::DatasetListTest::test_variable_list_records tests/test_fingerprint.py::test_dependency_on_dill tests/test_formatting.py::ArrowExtractorTest::test_pandas_extractor tests/test_formatting.py::FormatterTest::test_python_formatter [gw23] [ 60%] PASSED tests/test_exceptions.py::test_error_not_deprecated[NonMatchingChecksumError] [gw119] [ 60%] PASSED tests/test_fingerprint.py::test_dependency_on_dill tests/test_dataset_dict.py::test_datasetdict_from_text_split[train] [gw101] [ 60%] PASSED tests/test_formatting.py::ArrowExtractorTest::test_pandas_extractor tests/test_arrow_dataset.py::BaseDatasetTest::test_train_test_split_in_memory tests/test_formatting.py::FormatterTest::test_jax_formatter_audio [gw13] [ 60%] PASSED tests/test_dataset_list.py::DatasetListTest::test_variable_list_records tests/test_formatting.py::QueryTest::test_query_table_invalid_key_type [gw0] [ 60%] PASSED tests/test_formatting.py::FormatterTest::test_python_formatter [gw40] [ 60%] SKIPPED tests/test_formatting.py::FormatterTest::test_jax_formatter_audio tests/test_download_manager.py::test_download_manager_extract[False-str] tests/test_download_manager.py::test_download_manager_delete_extracted_files [gw35] [ 60%] PASSED tests/test_formatting.py::QueryTest::test_query_table_invalid_key_type tests/test_formatting.py::FormatterTest::test_numpy_formatter_image [gw52] [ 60%] PASSED tests/test_fingerprint.py::HashingTest::test_hash_torch_generator [gw78] [ 60%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_set_transform tests/test_formatting.py::FormatterTest::test_torch_formatter_image tests/test_dataset_dict.py::test_datasetdict_from_json_splits[None] [gw71] [ 60%] PASSED tests/test_download_manager.py::test_download_manager_delete_extracted_files tests/test_download_manager.py::test_iter_archive_file[tar_nested_jsonl_path] [gw11] [ 60%] PASSED tests/test_download_manager.py::test_download_manager_extract[False-str] tests/test_extract.py::test_base_extractors[7z-True] tests/test_formatting.py::ArrowExtractorTest::test_polars_temporal [gw62] [ 60%] PASSED tests/test_download_manager.py::test_iter_archive_file[tar_nested_jsonl_path] [gw19] [ 60%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_text_split[train] tests/test_formatting.py::test_tf_formatter_sets_default_dtypes[cast_schema1] tests/test_fingerprint.py::HashingTest::test_hash_torch_tensor tests/test_exceptions.py::test_error_not_deprecated[ChecksumVerificationError] [gw14] [ 60%] PASSED tests/test_exceptions.py::test_error_not_deprecated[ChecksumVerificationError] tests/test_formatting.py::QueryTest::test_query_table_range [gw78] [ 61%] SKIPPED tests/test_formatting.py::ArrowExtractorTest::test_polars_temporal tests/test_formatting.py::QueryTest::test_query_table_indexable_type tests/test_extract.py::test_base_extractors[lz4-False] [gw125] [ 61%] PASSED tests/packaged_modules/test_audiofolder.py::test_data_files_with_custom_audio_file_name_column_in_metadata_file tests/test_formatting.py::test_torch_formatter_sets_default_dtypes[cast_schema3] [gw45] [ 61%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_flatten_indices tests/test_hub.py::test_dataset_url[None-filename with blanks.csv-canonical_dataset_name] [gw62] [ 61%] PASSED tests/test_hub.py::test_dataset_url[None-filename with blanks.csv-canonical_dataset_name] tests/test_formatting.py::test_torch_formatter_sets_default_dtypes[cast_schema1] [gw13] [ 61%] PASSED tests/test_formatting.py::QueryTest::test_query_table_range [gw50] [ 61%] PASSED tests/test_builder.py::test_builder_as_dataset[False-train-Dataset-10] [gw110] [ 61%] SKIPPED tests/test_extract.py::test_base_extractors[lz4-False] [gw23] [ 61%] SKIPPED tests/test_formatting.py::test_tf_formatter_sets_default_dtypes[cast_schema1] [gw83] [ 61%] PASSED tests/test_formatting.py::QueryTest::test_query_table_indexable_type tests/test_download_manager.py::test_download_manager_download[list] tests/test_formatting.py::test_tf_formatter_sets_default_dtypes[cast_schema3] [gw19] [ 61%] SKIPPED tests/test_formatting.py::test_tf_formatter_sets_default_dtypes[cast_schema3] tests/test_formatting.py::ArrowExtractorTest::test_python_extractor tests/test_formatting.py::FormatterTest::test_torch_formatter tests/test_file_utils.py::TestxPath::test_xpath_as_posix[zip://dir/file.txt::https://host.com/archive.zip-zip://dir/file.txt::https://host.com/archive.zip] [gw50] [ 61%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_as_posix[zip://dir/file.txt::https://host.com/archive.zip-zip://dir/file.txt::https://host.com/archive.zip] [gw60] [ 61%] PASSED tests/test_download_manager.py::test_download_manager_download[list] [gw78] [ 61%] PASSED tests/test_formatting.py::ArrowExtractorTest::test_python_extractor [gw3] [ 61%] RERUN tests/features/test_audio.py::test_audio_decode_example_mp3 tests/features/test_audio.py::test_audio_decode_example_mp3 [gw127] [ 61%] SKIPPED tests/test_extract.py::test_base_extractors[7z-True] [gw75] [ 61%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_keep_in_memory[False] [gw42] [ 61%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_splits[None] [gw9] [ 61%] RERUN tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature tests/test_fingerprint.py::test_temp_cache_dir_tmpdir_creation_failure [gw120] [ 61%] PASSED tests/test_fingerprint.py::test_temp_cache_dir_tmpdir_creation_failure [gw43] [ 61%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_train_test_split_in_memory tests/test_hub.py::test_dataset_url[v2-filename.csv-canonical_dataset_name] tests/test_file_utils.py::test_extracted_datasets_path[False-True] tests/test_formatting.py::test_iterable_dataset_of_arrays_format_to_numpy tests/test_hub.py::test_dataset_url[v2-filename with blanks.csv-canonical_dataset_name] [gw110] [ 61%] PASSED tests/test_hub.py::test_dataset_url[v2-filename.csv-canonical_dataset_name] [gw49] [ 61%] PASSED tests/test_file_utils.py::test_extracted_datasets_path[False-True] tests/test_dataset_dict.py::test_datasetdict_from_parquet_features[features2] tests/test_dataset_dict.py::test_datasetdict_from_text_features[features3] [gw60] [ 61%] PASSED tests/test_hub.py::test_dataset_url[v2-filename with blanks.csv-canonical_dataset_name] tests/test_extract.py::test_extractor[zstd-False] [gw84] [ 61%] FAILED tests/features/test_video.py::test_dataset_with_video_map_and_formatted [gw82] [ 61%] RERUN tests/features/test_video.py::test_load_dataset_with_video_feature[True] tests/features/test_video.py::test_load_dataset_with_video_feature[True] tests/test_formatting.py::test_iterable_dataset_of_arrays_format_to_tf [gw14] [ 61%] PASSED tests/test_formatting.py::test_iterable_dataset_of_arrays_format_to_numpy tests/test_file_utils.py::TestxPath::test_xpath_as_posix[file.txt-file.txt] [gw50] [ 61%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_as_posix[file.txt-file.txt] tests/test_extract.py::test_extractor[bz2-False] [gw55] [ 61%] PASSED tests/test_extract.py::test_extractor[zstd-False] tests/test_file_utils.py::test_cached_path_missing_local tests/test_arrow_dataset.py::BaseDatasetTest::test_train_test_split_on_disk tests/test_file_utils.py::test_cached_path_extract[zstd] tests/test_dataset_dict.py::test_datasetdict_from_parquet_features[features3] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_fsspec tests/test_extract.py::test_base_extractors[zip-True] tests/test_formatting.py::FormatterTest::test_numpy_formatter [gw67] [ 61%] PASSED tests/test_file_utils.py::test_cached_path_extract[zstd] [gw104] [ 61%] PASSED tests/test_extract.py::test_extractor[bz2-False] tests/test_hub.py::test_delete_from_hub tests/test_hub.py::test_dataset_url[None-filename.csv-canonical_dataset_name] [gw41] [ 61%] PASSED tests/test_extract.py::test_base_extractors[zip-True] [gw75] [ 61%] PASSED tests/test_formatting.py::FormatterTest::test_numpy_formatter [gw32] [ 61%] PASSED tests/test_file_utils.py::test_cached_path_missing_local [gw42] [ 62%] PASSED tests/test_hub.py::test_dataset_url[None-filename.csv-canonical_dataset_name] [gw12] [ 62%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_crash_subprocess_on_disk [gw103] [ 62%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_fsspec tests/test_arrow_dataset.py::BaseDatasetTest::test_map_fn_kwargs_in_memory tests/test_info.py::test_dataset_infos_dict_dump_and_reload[dataset_infos_dict3] [gw127] [ 62%] SKIPPED tests/test_formatting.py::test_iterable_dataset_of_arrays_format_to_tf tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://huggingface.co/datasets/hf-internal-testing/dataset_with_data_files/resolve/main/data/train.txt-download_config2-hf://datasets/hf-internal-testing/dataset_with_data_files@main/data/train.txt-expected_storage_options2] [gw5] [ 62%] PASSED tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://huggingface.co/datasets/hf-internal-testing/dataset_with_data_files/resolve/main/data/train.txt-download_config2-hf://datasets/hf-internal-testing/dataset_with_data_files@main/data/train.txt-expected_storage_options2] [gw124] [ 62%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_text_features[features3] tests/test_file_utils.py::test_xexists[mock://top_level/second_level/date=2019-10-01/file_that_doesnt_exist.parquet-False] tests/test_file_utils.py::test_xsplitext[zip://file.txt::https://host.com/archive.zip-expected_path_and_ext2] tests/test_info.py::test_dataset_info_to_yaml_dict_empty tests/test_file_utils.py::test_xsplit[zip://::https://host.com/archive.zip-expected_head_and_tail4] [gw15] [ 62%] PASSED tests/test_formatting.py::FormatterTest::test_numpy_formatter_image tests/test_file_utils.py::test_xjoin[.-paths_to_join3-./file.txt] tests/test_file_utils.py::test_xdirname[https://host.com/archive.zip-https://host.com] tests/test_distributed.py::test_split_dataset_by_node_iterable_sharded[1] [gw17] [ 62%] PASSED tests/test_file_utils.py::test_xsplit[zip://::https://host.com/archive.zip-expected_head_and_tail4] tests/test_info.py::test_dataset_info_dump_and_reload[dataset_info1] [gw38] [ 62%] PASSED tests/test_file_utils.py::test_xsplitext[zip://file.txt::https://host.com/archive.zip-expected_path_and_ext2] [gw10] [ 62%] PASSED tests/test_file_utils.py::test_xexists[mock://top_level/second_level/date=2019-10-01/file_that_doesnt_exist.parquet-False] [gw104] [ 62%] PASSED tests/test_info.py::test_dataset_info_to_yaml_dict_empty [gw76] [ 62%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_features[features2] [gw41] [ 62%] PASSED tests/test_info.py::test_dataset_info_dump_and_reload[dataset_info1] tests/test_extract.py::test_is_zipfile_false_positive [gw67] [ 62%] PASSED tests/test_info.py::test_dataset_infos_dict_dump_and_reload[dataset_infos_dict3] [gw36] [ 62%] PASSED tests/test_file_utils.py::test_xjoin[.-paths_to_join3-./file.txt] tests/test_info.py::test_dataset_infos_dict_dump_and_reload[dataset_infos_dict1] tests/test_info.py::test_from_merge_same_dataset_infos[None] [gw28] [ 62%] PASSED tests/test_file_utils.py::test_xdirname[https://host.com/archive.zip-https://host.com] [gw103] [ 62%] PASSED tests/test_info.py::test_from_merge_same_dataset_infos[None] tests/test_file_utils.py::test_xisdir[mock://-True] [gw99] [ 62%] PASSED tests/test_extract.py::test_is_zipfile_false_positive tests/test_info_utils.py::test_is_small_dataset[default-None] tests/test_file_utils.py::test_xjoin[https://host.com/archive.zip-paths_to_join0-https://host.com/archive.zip/file.txt] tests/test_builder.py::BuilderTest::test_cache_dir_for_features [gw39] [ 62%] PASSED tests/test_file_utils.py::test_xisdir[mock://-True] [gw81] [ 62%] PASSED tests/test_file_utils.py::test_xjoin[https://host.com/archive.zip-paths_to_join0-https://host.com/archive.zip/file.txt] [gw107] [ 62%] PASSED tests/test_distributed.py::test_split_dataset_by_node_iterable_sharded[1] tests/test_file_utils.py::test_xisfile[mock://-False] [gw5] [ 62%] PASSED tests/test_info_utils.py::test_is_small_dataset[default-None] [gw12] [ 62%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_fn_kwargs_in_memory tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://domain.org/data.txt-download_config5-https://domain.org/data.txt-expected_storage_options5] [gw32] [ 62%] PASSED tests/test_info.py::test_dataset_infos_dict_dump_and_reload[dataset_infos_dict1] [gw53] [ 62%] PASSED tests/test_file_utils.py::test_xisfile[mock://-False] tests/test_dataset_dict.py::test_datasetdict_from_csv_features[None] tests/test_info_utils.py::test_is_small_dataset[104857600-None] tests/test_info_utils.py::test_is_small_dataset[104857600-629145600] tests/test_file_utils.py::test_xopen_local tests/test_iterable_dataset.py::test_convert_to_arrow[True-2] tests/test_info.py::test_from_dir[files3] tests/test_file_utils.py::test_xexists[tmp_path/file.txt-True] tests/test_info.py::test_from_dir[files1] tests/test_iterable_dataset.py::test_convert_to_arrow[False-3] [gw6] [ 62%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_text_keep_in_memory[True] [gw61] [ 62%] PASSED tests/test_builder.py::BuilderTest::test_cache_dir_for_features tests/test_formatting.py::QueryTest::test_query_table_str tests/test_iterable_dataset.py::test_convert_to_arrow[False-10] [gw39] [ 62%] PASSED tests/test_info_utils.py::test_is_small_dataset[104857600-None] [gw17] [ 62%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[False-3] tests/test_info_utils.py::test_is_small_dataset[943718400-419430400] [gw81] [ 62%] PASSED tests/test_info_utils.py::test_is_small_dataset[943718400-419430400] [gw126] [ 62%] PASSED tests/test_file_utils.py::test_xopen_local [gw36] [ 63%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[True-2] [gw6] [ 63%] PASSED tests/test_formatting.py::QueryTest::test_query_table_str [gw10] [ 63%] PASSED tests/test_info_utils.py::test_is_small_dataset[104857600-629145600] [gw55] [ 63%] PASSED tests/test_info.py::test_from_dir[files3] [gw123] [ 63%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_csv_features[None] [gw76] [ 63%] PASSED tests/test_info.py::test_from_dir[files1] [gw27] [ 63%] PASSED tests/test_file_utils.py::test_xexists[tmp_path/file.txt-True] tests/test_file_utils.py::test_xlistdir_private [gw99] [ 63%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[False-10] tests/test_arrow_writer.py::test_write_batch[fields2-10] [gw25] [ 63%] PASSED tests/test_file_utils.py::test_prepare_single_hop_path_and_storage_options[https://domain.org/data.txt-download_config5-https://domain.org/data.txt-expected_storage_options5] [gw80] [ 63%] PASSED tests/test_arrow_writer.py::test_write_batch[fields2-10] [gw43] [ 63%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_train_test_split_on_disk tests/test_info.py::test_from_merge_same_dataset_infos[dataset_info2] tests/io/test_csv.py::test_dataset_to_csv_invalidproc tests/test_iterable_dataset.py::test_examples_iterable_shuffle_data_sources tests/test_iterable_dataset.py::test_convert_to_arrow[True-9] [gw7] [ 63%] FAILED tests/features/test_audio.py::test_dataset_concatenate_audio_features tests/test_iterable_dataset.py::test_convert_to_arrow[False-1] tests/test_file_utils.py::test_xisdir_private tests/test_info_utils.py::test_is_small_dataset[0-419430400] [gw53] [ 63%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[True-9] tests/features/test_audio.py::test_dataset_concatenate_nested_audio_features tests/test_distributed.py::test_split_dataset_by_node_iterable_distributed [gw38] [ 63%] PASSED tests/test_info_utils.py::test_is_small_dataset[0-419430400] tests/test_info_utils.py::test_is_small_dataset[default-629145600] [gw126] [ 63%] PASSED tests/test_iterable_dataset.py::test_examples_iterable_shuffle_data_sources tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_dict_in_memory [gw124] [ 63%] PASSED tests/test_info.py::test_from_merge_same_dataset_infos[dataset_info2] [gw61] [ 63%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[False-1] [gw51] [ 63%] PASSED tests/test_distributed.py::test_split_dataset_by_node_iterable_distributed [gw90] [ 63%] PASSED tests/io/test_csv.py::test_dataset_to_csv_invalidproc tests/test_iterable_dataset.py::test_arrow_examples_iterable tests/test_iterable_dataset.py::test_convert_to_arrow[False-20] [gw107] [ 63%] PASSED tests/test_info_utils.py::test_is_small_dataset[default-629145600] tests/test_iterable_dataset.py::test_examples_iterable tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-2-tables1] [gw28] [ 63%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[False-20] tests/test_file_utils.py::test_xrelpath[zip://file.txt::https://host.com/archive.zip-zip://::https://host.com/archive.zip-file.txt] tests/test_iterable_dataset.py::test_convert_to_arrow[True-11] tests/test_builder.py::test_generator_based_builder_as_dataset[False] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-1-tables1] [gw43] [ 63%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_dict_in_memory [gw85] [ 63%] PASSED tests/test_file_utils.py::test_xrelpath[zip://file.txt::https://host.com/archive.zip-zip://::https://host.com/archive.zip-file.txt] tests/test_file_utils.py::test_xgetsize_private [gw27] [ 63%] PASSED tests/test_iterable_dataset.py::test_examples_iterable tests/test_file_utils.py::TestxPath::test_xpath_str[https://host.com/archive.zip] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-1-tables3] [gw84] [ 63%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_features[features3] [gw123] [ 63%] PASSED tests/test_iterable_dataset.py::test_arrow_examples_iterable [gw3] [ 63%] FAILED tests/features/test_audio.py::test_audio_decode_example_mp3 [gw25] [ 63%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[True-11] [gw80] [ 63%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-2-tables1] tests/test_file_utils.py::test_xwalk_private [gw90] [ 63%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-1-tables1] tests/test_extract.py::test_extractor[gzip-False] [gw114] [ 63%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_str[https://host.com/archive.zip] [gw51] [ 63%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-1-tables3] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-3-tables3] tests/test_dataset_dict.py::test_datasetdict_from_parquet_features[features4] tests/test_file_utils.py::test_xglob[mock://top_*-expected_paths2] tests/test_file_utils.py::test_xglob_private tests/test_file_utils.py::TestxPath::test_xpath_as_posix[zip://file.txt::https://host.com/archive.zip-zip://file.txt::https://host.com/archive.zip] [gw56] [ 63%] PASSED tests/test_file_utils.py::test_xglob[mock://top_*-expected_paths2] tests/test_file_utils.py::TestxPath::test_xpath_str[file.txt] tests/test_file_utils.py::TestxPath::test_xpath_exists[mock://top_level/second_level/date=2019-10-01/a.parquet-True] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-7-tables1] tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_dict_on_disk [gw85] [ 64%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-3-tables3] tests/test_file_utils.py::TestxPath::test_xpath_glob[mock://top_level/second_level-date=2019-10-0[1-4]/*-expected_paths4] tests/test_file_utils.py::TestxPath::test_xpath_glob[mock://-*-expected_paths1] [gw114] [ 64%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-7-tables1] [gw100] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_as_posix[zip://file.txt::https://host.com/archive.zip-zip://file.txt::https://host.com/archive.zip] [gw113] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_glob[mock://-*-expected_paths1] [gw69] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_exists[mock://top_level/second_level/date=2019-10-01/a.parquet-True] [gw106] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_str[file.txt] tests/test_file_utils.py::TestxPath::test_xpath_rglob[mock://top_level-date=2019-10-0[1-4]-expected_paths2] [gw84] [ 64%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_features[features4] [gw8] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_glob[mock://top_level/second_level-date=2019-10-0[1-4]/*-expected_paths4] tests/test_file_utils.py::TestxPath::test_xpath_parent[file.txt-] tests/test_file_utils.py::TestxPath::test_xpath_suffix[file.txt-.txt] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-10-tables3] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-13-tables3] [gw29] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_rglob[mock://top_level-date=2019-10-0[1-4]-expected_paths2] tests/test_file_utils.py::TestxPath::test_xpath_name[zip://file.txt::https://host.com/archive.zip-file.txt] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-11-tables1] [gw3] [ 64%] PASSED tests/test_extract.py::test_extractor[gzip-False] tests/test_file_utils.py::TestxPath::test_xpath_parent[https://host.com/archive.zip-https://host.com] [gw20] [ 64%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[1] tests/features/test_audio.py::test_dataset_cast_to_audio_features[1] [gw52] [ 64%] PASSED tests/test_fingerprint.py::HashingTest::test_hash_torch_tensor [gw48] [ 64%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_keep_in_memory[True] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-20-tables1] [gw106] [ 64%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-13-tables3] [gw69] [ 64%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-11-tables1] [gw100] [ 64%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-10-tables3] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-13-tables1] [gw64] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_name[zip://file.txt::https://host.com/archive.zip-file.txt] [gw93] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_parent[https://host.com/archive.zip-https://host.com] [gw118] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_suffix[file.txt-.txt] [gw26] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_parent[file.txt-] [gw8] [ 64%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-20-tables1] tests/test_file_utils.py::TestxPath::test_xpath_with_suffix[zip://file.txt::https://host.com/archive.zip-.ann-zip://file.ann::https://host.com/archive.zip] tests/test_file_utils.py::TestxPath::test_xpath_name[/build/python-datasets/src/datasets-5.0.1/file.txt-file.txt] tests/test_dataset_dict.py::test_datasetdict_from_parquet_split[None] tests/test_filesystem.py::test_is_remote_filesystem tests/test_file_utils.py::TestxPath::test_xpath_stem[zip://dir/file.txt::https://host.com/archive.zip-file] [gw113] [ 64%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-13-tables1] tests/test_extract.py::test_extractor[lz4-False] [gw115] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_stem[zip://dir/file.txt::https://host.com/archive.zip-file] [gw43] [ 64%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_dict_on_disk tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-2-tables3] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-11-tables3] [gw96] [ 64%] PASSED tests/test_filesystem.py::test_is_remote_filesystem tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-1-tables3] [gw18] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_with_suffix[zip://file.txt::https://host.com/archive.zip-.ann-zip://file.ann::https://host.com/archive.zip] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-7-tables3] tests/test_file_utils.py::test_get_extraction_protocol[http://opus.nlpl.eu/download.php?f=Bianet/v1/moses/en-ku.txt.zip-zip] tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split0-] tests/io/test_text.py::test_dataset_from_text_keep_in_memory[False] tests/test_file_utils.py::test_get_extraction_protocol_gg_drive[https://drive.google.com/uc?export=download&id=1k92sUfpHxKq8PXWRr7Y5aNHXwOCNUmqh-zip] tests/test_file_utils.py::TestxPath::test_xpath_suffix[https://host.com/archive.zip-.zip] [gw30] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_suffix[https://host.com/archive.zip-.zip] [gw24] [ 64%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_name[/build/python-datasets/src/datasets-5.0.1/file.txt-file.txt] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-2-tables1] [gw3] [ 64%] SKIPPED tests/test_extract.py::test_extractor[lz4-False] [gw26] [ 64%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-2-tables3] tests/test_filelock.py::test_long_path [gw87] [ 64%] PASSED tests/test_data_files.py::test_get_data_files_patterns[data_file_per_split0-] [gw29] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-11-tables3] [gw91] [ 65%] FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[True] tests/test_file_utils.py::test_get_extraction_protocol[https://repo.org/bitstream/handle/20.500.12185/346/annotated_corpus.zip?sequence=3&isAllowed=y-zip] [gw92] [ 65%] PASSED tests/test_filelock.py::test_long_path tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-3-tables3] [gw112] [ 65%] PASSED tests/test_file_utils.py::test_get_extraction_protocol[https://repo.org/bitstream/handle/20.500.12185/346/annotated_corpus.zip?sequence=3&isAllowed=y-zip] [gw74] [ 65%] SKIPPED tests/test_file_utils.py::test_get_extraction_protocol_gg_drive[https://drive.google.com/uc?export=download&id=1k92sUfpHxKq8PXWRr7Y5aNHXwOCNUmqh-zip] [gw66] [ 65%] PASSED tests/test_file_utils.py::test_get_extraction_protocol[http://opus.nlpl.eu/download.php?f=Bianet/v1/moses/en-ku.txt.zip-zip] tests/test_dataset_dict.py::test_datasetdict_from_json_features[features1] [gw64] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-1-tables3] [gw84] [ 65%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_split[None] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-3-tables1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-10-tables1] [gw118] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-2-tables1] [gw56] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-7-tables3] tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_on_disk tests/test_fingerprint.py::TokenizersHashTest::test_hash_tokenizer tests/test_filesystem.py::test_fs_isfile[zip] tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[data/*] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-9-tables1] [gw93] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-3-tables3] [gw105] [ 65%] SKIPPED tests/test_fingerprint.py::TokenizersHashTest::test_hash_tokenizer tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-11-tables1] [gw24] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-3-tables1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-9-tables3] [gw74] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-9-tables3] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-10-tables3] [gw102] [ 65%] PASSED tests/test_filesystem.py::test_fs_isfile[zip] [gw92] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-11-tables1] [gw96] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-9-tables1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-20-tables1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-7-tables3] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-7-tables1] [gw105] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-20-tables1] [gw117] [ 65%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_json_features[features1] [gw112] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-7-tables3] [gw66] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-10-tables3] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-20-tables3] tests/test_file_utils.py::test_xlistdir[mock://-expected_paths1] [gw18] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-10-tables1] tests/test_fingerprint.py::HashingTest::test_hash_torch_compiled_module tests/test_iterable_dataset.py::test_buffer_shuffled_examples_iterable[1337] [gw87] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-7-tables1] [gw68] [ 65%] PASSED tests/test_file_utils.py::test_xlistdir[mock://-expected_paths1] [gw109] [ 65%] SKIPPED tests/test_fingerprint.py::HashingTest::test_hash_torch_compiled_module [gw82] [ 65%] RERUN tests/features/test_video.py::test_load_dataset_with_video_feature[True] tests/features/test_video.py::test_load_dataset_with_video_feature[True] [gw115] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-20-tables3] tests/test_fingerprint.py::RecurseHashTest::test_hash_ipython_function tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-1-tables1] [gw102] [ 65%] PASSED tests/test_iterable_dataset.py::test_buffer_shuffled_examples_iterable[1337] tests/test_filesystem.py::test_compression_filesystems[Lz4FileSystem] tests/test_fingerprint.py::HashingTest::test_set_stable tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-first_exhausted-probabilities2] [gw79] [ 65%] SKIPPED tests/test_filesystem.py::test_compression_filesystems[Lz4FileSystem] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable[probabilities1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-13-tables3] tests/test_formatting.py::ArrowExtractorTest::test_numpy_extractor_nested_with_nulls [gw111] [ 65%] PASSED tests/test_fingerprint.py::RecurseHashTest::test_hash_ipython_function [gw4] [ 65%] PASSED tests/test_formatting.py::ArrowExtractorTest::test_numpy_extractor_nested_with_nulls [gw34] [ 65%] PASSED tests/test_data_files.py::test_DataFilesList_from_patterns_in_dataset_repository_[data/*] tests/test_formatting.py::FormatterTest::test_jax_formatter_jnp_array_kwargs [gw30] [ 65%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-1-tables1] tests/test_fingerprint.py::RecurseHashTest::test_recurse_hash_for_function_with_shuffled_globals tests/test_formatting.py::ArrowExtractorTest::test_polars_nested [gw31] [ 66%] PASSED tests/test_builder.py::test_generator_based_builder_as_dataset[False] [gw47] [ 66%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_on_disk tests/test_fingerprint.py::HashingTest::test_hash_class_instance [gw117] [ 66%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-13-tables3] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-all_exhausted-probabilities1] [gw98] [ 66%] PASSED tests/test_fingerprint.py::RecurseHashTest::test_recurse_hash_for_function_with_shuffled_globals tests/test_iterable_dataset.py::test_sharded_cycling_multi_sources_examples_iterable tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-11-tables3] [gw94] [ 66%] PASSED tests/test_fingerprint.py::HashingTest::test_hash_class_instance tests/test_formatting.py::ArrowExtractorTest::test_numpy_extractor tests/test_formatting.py::ArrowExtractorTest::test_pandas_extractor_nested tests/test_fingerprint.py::HashingTest::test_hash_spacy_model tests/test_formatting.py::FormatterTest::test_python_formatter_lazy [gw70] [ 66%] SKIPPED tests/test_formatting.py::ArrowExtractorTest::test_polars_nested tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-3-tables1] tests/test_formatting.py::FormatterTest::test_polars_formatter [gw101] [ 66%] PASSED tests/test_formatting.py::ArrowExtractorTest::test_pandas_extractor_nested tests/test_formatting.py::FormatterTest::test_tf_formatter_audio [gw0] [ 66%] PASSED tests/test_formatting.py::FormatterTest::test_python_formatter_lazy [gw47] [ 66%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-11-tables3] [gw68] [ 66%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-first_exhausted-probabilities2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-20-tables3] [gw2] [ 66%] SKIPPED tests/test_formatting.py::FormatterTest::test_jax_formatter_jnp_array_kwargs [gw86] [ 66%] SKIPPED tests/test_formatting.py::FormatterTest::test_polars_formatter tests/test_formatting.py::FormatterTest::test_jax_formatter_device tests/test_iterable_dataset.py::test_buffer_shuffled_examples_iterable[123456] [gw72] [ 66%] SKIPPED tests/test_fingerprint.py::HashingTest::test_hash_spacy_model [gw88] [ 66%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_to_sql_in_memory tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-first_exhausted-None] [gw21] [ 66%] SKIPPED tests/test_formatting.py::FormatterTest::test_tf_formatter_audio [gw34] [ 66%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-20-tables3] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-first_exhausted-probabilities2] [gw119] [ 66%] PASSED tests/test_formatting.py::ArrowExtractorTest::test_numpy_extractor [gw31] [ 66%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-3-tables1] [gw40] [ 66%] SKIPPED tests/test_formatting.py::FormatterTest::test_jax_formatter_device tests/packaged_modules/test_audiofolder.py::test_data_files_with_with_metadata_in_different_formats tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-first_exhausted-None] tests/test_formatting.py::QueryTest::test_query_table_iterable tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-first_exhausted-None] tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[data/*] tests/test_formatting.py::test_tf_formatter_sets_default_dtypes[cast_schema2] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-all_exhausted-probabilities1] [gw79] [ 66%] PASSED tests/test_iterable_dataset.py::test_buffer_shuffled_examples_iterable[123456] [gw77] [ 66%] PASSED tests/test_formatting.py::FormatterTest::test_torch_formatter_image tests/test_formatting.py::QueryTest::test_query_table_slice tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-first_exhausted-None] tests/test_formatting.py::test_torch_formatter_sets_default_dtypes[None] [gw94] [ 66%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-first_exhausted-None] [gw35] [ 66%] PASSED tests/test_formatting.py::QueryTest::test_query_table_iterable tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-all_exhausted-probabilities1] [gw23] [ 66%] SKIPPED tests/test_formatting.py::test_tf_formatter_sets_default_dtypes[cast_schema2] tests/test_formatting.py::QueryTest::test_query_table_int [gw101] [ 66%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-first_exhausted-probabilities2] [gw4] [ 66%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-all_exhausted-probabilities1] tests/test_hub.py::test_dataset_url[None-filename with blanks.csv-org-name/dataset-name] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-first_exhausted-probabilities2] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-all_exhausted-probabilities1] [gw13] [ 66%] PASSED tests/test_formatting.py::QueryTest::test_query_table_slice [gw88] [ 66%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[data/*] [gw111] [ 66%] PASSED tests/test_iterable_dataset.py::test_sharded_cycling_multi_sources_examples_iterable [gw83] [ 66%] PASSED tests/test_formatting.py::QueryTest::test_query_table_int tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-first_exhausted-probabilities2] [gw62] [ 67%] PASSED tests/test_hub.py::test_dataset_url[None-filename with blanks.csv-org-name/dataset-name] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-first_exhausted-probabilities2] tests/test_formatting.py::LazyDictTest::test_lazy_dict_copy tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[**/*.txt] [gw0] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-first_exhausted-None] tests/test_hub.py::test_dataset_url[v2-filename.csv-org-name/dataset-name] [gw110] [ 67%] PASSED tests/test_hub.py::test_dataset_url[v2-filename.csv-org-name/dataset-name] [gw78] [ 67%] PASSED tests/test_formatting.py::LazyDictTest::test_lazy_dict_copy tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-all_exhausted-probabilities1] tests/test_file_utils.py::TestxPath::test_xpath_as_posix[/build/python-datasets/src/datasets-5.0.1/file.txt-/build/python-datasets/src/datasets-5.0.1/file.txt] [gw21] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-all_exhausted-probabilities1] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-all_exhausted-probabilities1] tests/test_fingerprint.py::test_temp_cache_dir_tmpdir_not_directory tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-first_exhausted-probabilities2] tests/test_hub.py::test_dataset_url[v2-filename with blanks.csv-org-name/dataset-name] [gw120] [ 67%] PASSED tests/test_fingerprint.py::test_temp_cache_dir_tmpdir_not_directory [gw50] [ 67%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_as_posix[/build/python-datasets/src/datasets-5.0.1/file.txt-/build/python-datasets/src/datasets-5.0.1/file.txt] [gw119] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-first_exhausted-None] [gw98] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-first_exhausted-probabilities2] [gw86] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-first_exhausted-probabilities2] [gw2] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-first_exhausted-None] tests/test_hub.py::test_dataset_url[None-filename.csv-org-name/dataset-name] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[25--True-10] tests/test_iterable_dataset.py::test_mapped_examples_iterable[3--True-1_1] tests/test_formatting.py::test_iterable_dataset_of_arrays_format_to_torch [gw60] [ 67%] PASSED tests/test_hub.py::test_dataset_url[v2-filename with blanks.csv-org-name/dataset-name] tests/test_iterable_dataset.py::test_mapped_examples_iterable[5--True-10] [gw40] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-first_exhausted-probabilities2] [gw110] [ 67%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[25--True-10] [gw35] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-all_exhausted-probabilities1] [gw88] [ 67%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[**/*.txt] [gw13] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-all_exhausted-probabilities1] [gw83] [ 67%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable[5--True-10] [gw62] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-first_exhausted-probabilities2] [gw108] [ 67%] PASSED tests/io/test_text.py::test_dataset_from_text_keep_in_memory[False] [gw125] [ 67%] PASSED tests/packaged_modules/test_audiofolder.py::test_data_files_with_with_metadata_in_different_formats [gw78] [ 67%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable[3--True-1_1] [gw42] [ 67%] PASSED tests/test_hub.py::test_dataset_url[None-filename.csv-org-name/dataset-name] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[-5--True-None] [gw95] [ 67%] PASSED tests/packaged_modules/test_cache.py::test_cache_multi_configs tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-first_exhausted-None] [gw50] [ 67%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[-5--True-None] [gw14] [ 67%] PASSED tests/test_formatting.py::test_iterable_dataset_of_arrays_format_to_torch [gw72] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-all_exhausted-probabilities1] tests/test_formatting.py::FormatterTest::test_numpy_formatter_audio tests/test_iterable_dataset.py::test_mapped_examples_iterable[3--False-None] tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[**/train.txt] tests/test_formatting.py::test_iterable_dataset_of_arrays_format_to_jax tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[5--True--1] [gw23] [ 67%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable[3--False-None] [gw70] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-all_exhausted-probabilities1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[-3--False-None] [gw127] [ 67%] SKIPPED tests/test_formatting.py::test_iterable_dataset_of_arrays_format_to_jax [gw125] [ 67%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-first_exhausted-None] tests/test_formatting.py::FormatterTest::test_numpy_formatter_np_array_kwargs tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-13-tables1] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence2-attention_mask-expected_dtype0] [gw14] [ 68%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[-3--False-None] [gw9] [ 68%] RERUN tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature [gw60] [ 68%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[5--True--1] [gw108] [ 68%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-13-tables1] [gw95] [ 68%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence2-attention_mask-expected_dtype0] tests/test_info.py::test_dataset_infos_dict_dump_and_reload[dataset_infos_dict0] [gw104] [ 68%] PASSED tests/test_info.py::test_dataset_infos_dict_dump_and_reload[dataset_infos_dict0] [gw15] [ 68%] PASSED tests/test_formatting.py::FormatterTest::test_numpy_formatter_np_array_kwargs tests/test_info.py::test_from_merge_same_dataset_infos[dataset_info1] [gw88] [ 68%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_locally[**/train.txt] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[3--True-1_0] tests/test_info.py::test_dataset_infos_dict_dump_and_reload[dataset_infos_dict4] [gw67] [ 68%] PASSED tests/test_info.py::test_dataset_infos_dict_dump_and_reload[dataset_infos_dict4] [gw116] [ 68%] PASSED tests/test_arrow_reader.py::test_read_files[True] [gw103] [ 68%] PASSED tests/test_info.py::test_from_merge_same_dataset_infos[dataset_info1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[_wrap_async-5--True-None] tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns[3--False-None-remove_columns0] tests/test_info.py::test_dataset_info_to_yaml_dict [gw120] [ 68%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[3--True-1_0] [gw41] [ 68%] PASSED tests/test_info.py::test_dataset_info_to_yaml_dict tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence2-special_tokens_mask-expected_dtype1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns[50--True-8-remove_columns2] [gw15] [ 68%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns[3--False-None-remove_columns0] tests/test_info_utils.py::test_is_small_dataset[943718400-629145600] [gw42] [ 68%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[_wrap_async-5--True-None] [gw81] [ 68%] PASSED tests/test_info_utils.py::test_is_small_dataset[943718400-629145600] tests/test_info_utils.py::test_is_small_dataset[default-419430400] [gw121] [ 68%] PASSED tests/test_fingerprint.py::HashingTest::test_set_stable [gw95] [ 68%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence2-special_tokens_mask-expected_dtype1] [gw5] [ 68%] PASSED tests/test_info_utils.py::test_is_small_dataset[default-419430400] tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns[5--True--1-remove_columns4] tests/test_info.py::test_dataset_infos_dict_dump_and_reload[dataset_infos_dict2] tests/test_info.py::test_from_dir[files2] tests/test_formatting.py::test_tf_formatter_sets_default_dtypes[None] tests/test_file_utils.py::TestxPath::test_xpath_with_suffix[zip://dir/file.txt::https://host.com/archive.zip-.ann-zip://dir/file.ann::https://host.com/archive.zip] tests/test_info.py::test_dataset_info_dump_and_reload[dataset_info0] [gw109] [ 68%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable[probabilities1] tests/test_iterable_dataset.py::test_convert_to_arrow[False-9] [gw17] [ 68%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[False-9] [gw32] [ 68%] PASSED tests/test_info.py::test_dataset_infos_dict_dump_and_reload[dataset_infos_dict2] tests/test_iterable_dataset.py::test_convert_to_arrow[True-3] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_fn_kwargs_on_disk [gw104] [ 68%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns[5--True--1-remove_columns4] [gw6] [ 68%] SKIPPED tests/test_formatting.py::test_tf_formatter_sets_default_dtypes[None] [gw76] [ 68%] PASSED tests/test_info.py::test_from_dir[files2] [gw116] [ 68%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_with_suffix[zip://dir/file.txt::https://host.com/archive.zip-.ann-zip://dir/file.ann::https://host.com/archive.zip] [gw55] [ 68%] PASSED tests/test_info.py::test_dataset_info_dump_and_reload[dataset_info0] tests/test_info_utils.py::test_is_small_dataset[104857600-419430400] [gw39] [ 68%] PASSED tests/test_info_utils.py::test_is_small_dataset[104857600-419430400] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence2-token_type_ids-expected_dtype2] [gw1] [ 68%] PASSED tests/packaged_modules/test_meshfolder.py::test_data_files_with_metadata_and_single_split[False] [gw73] [ 68%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_lines_multiproc[True-load_json_lines] [gw36] [ 68%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[True-3] tests/test_info_utils.py::test_is_small_dataset[943718400-None] [gw10] [ 68%] PASSED tests/test_info_utils.py::test_is_small_dataset[943718400-None] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-None-2-True] tests/test_iterable_dataset.py::test_convert_to_arrow[True-10] tests/test_iterable_dataset.py::test_convert_to_arrow[False-11] [gw95] [ 69%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence2-token_type_ids-expected_dtype2] [gw53] [ 69%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[True-10] tests/test_file_utils.py::TestxPath::test_xpath_with_suffix[file.txt-.ann-file.ann] [gw99] [ 69%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[False-11] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-input_columns1-None-True] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-first_exhausted-None] tests/test_arrow_dataset.py::test_dataset_add_column[transform4-True-column1-int64] [gw103] [ 69%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-input_columns1-None-True] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-input_columns1-2-True] tests/test_iterable_dataset.py::test_examples_iterable_shuffle_shards_and_metadata tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-None-2-True] [gw116] [ 69%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_with_suffix[file.txt-.ann-file.ann] [gw12] [ 69%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_fn_kwargs_on_disk [gw127] [ 69%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns[50--True-8-remove_columns2] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-None-None-True] tests/test_info.py::test_dataset_info_from_dict_with_large_list [gw67] [ 69%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-None-2-True] tests/test_info_utils.py::test_is_small_dataset[0-629145600] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence2-input_ids-expected_dtype3] tests/test_iterable_dataset.py::test_convert_to_arrow[True-20] tests/test_fingerprint.py::test_fingerprint_in_multiprocessing tests/test_iterable_dataset.py::test_examples_iterable_with_kwargs [gw5] [ 69%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-input_columns1-2-True] [gw25] [ 69%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[True-20] tests/test_iterable_dataset.py::test_arrow_examples_iterable_with_kwargs tests/test_iterable_dataset.py::test_convert_to_arrow[False-2] [gw121] [ 69%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-first_exhausted-None] [gw41] [ 69%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-None-None-True] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-None-None-True] [gw95] [ 69%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence2-input_ids-expected_dtype3] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-2-tables0] [gw38] [ 69%] PASSED tests/test_info_utils.py::test_is_small_dataset[0-629145600] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-2-tables2] [gw124] [ 69%] PASSED tests/test_info.py::test_dataset_info_from_dict_with_large_list [gw27] [ 69%] PASSED tests/test_iterable_dataset.py::test_examples_iterable_with_kwargs [gw51] [ 69%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-2-tables0] tests/test_iterable_dataset.py::test_convert_to_arrow[True-1] [gw126] [ 69%] PASSED tests/test_iterable_dataset.py::test_examples_iterable_shuffle_shards_and_metadata [gw61] [ 69%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[False-2] [gw12] [ 69%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-None-None-True] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-1-tables2] tests/test_info_utils.py::test_is_small_dataset[0-None] [gw28] [ 69%] PASSED tests/test_iterable_dataset.py::test_convert_to_arrow[True-1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-7-tables2] [gw80] [ 69%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-2-tables2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-7-tables0] [gw85] [ 69%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-7-tables0] tests/test_fingerprint.py::HashingTest::test_hash_unpicklable [gw107] [ 69%] PASSED tests/test_info_utils.py::test_is_small_dataset[0-None] [gw114] [ 69%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-7-tables2] [gw7] [ 69%] RERUN tests/features/test_audio.py::test_dataset_concatenate_nested_audio_features tests/features/test_audio.py::test_dataset_concatenate_nested_audio_features [gw32] [ 69%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-None-2-True] [gw90] [ 69%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-1-tables2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-20-tables0] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-11-tables2] [gw73] [ 69%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform4-True-column1-int64] [gw52] [ 69%] PASSED tests/test_fingerprint.py::HashingTest::test_hash_unpicklable tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-11-tables0] tests/test_arrow_dataset.py::test_dataset_from_csv_features[None] [gw106] [ 69%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-20-tables0] [gw69] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-11-tables2] tests/test_arrow_dataset.py::test_dataset_add_column[transform4-True-column2-float64] [gw123] [ 70%] PASSED tests/test_iterable_dataset.py::test_arrow_examples_iterable_with_kwargs tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-20-tables2] tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_in_memory tests/test_extract.py::test_extractor[tar-True] [gw100] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-11-tables0] [gw48] [ 70%] PASSED tests/test_arrow_dataset.py::test_dataset_from_csv_features[None] tests/test_dataset_dict.py::test_datasetdict_from_parquet_split[split1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-3-tables0] [gw8] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-20-tables2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-13-tables2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-13-tables0] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-False] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-2-tables0] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-2-tables2] [gw26] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-3-tables0] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-9-tables0] [gw73] [ 70%] PASSED tests/test_arrow_dataset.py::test_dataset_add_column[transform4-True-column2-float64] [gw29] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-13-tables0] [gw64] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-2-tables0] [gw43] [ 70%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_transmit_format_in_memory [gw113] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-13-tables2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-3-tables2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-7-tables0] [gw56] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-9-tables0] [gw84] [ 70%] PASSED tests/test_dataset_dict.py::test_datasetdict_from_parquet_split[split1] [gw3] [ 70%] PASSED tests/test_extract.py::test_extractor[tar-True] [gw93] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-7-tables0] [gw82] [ 70%] FAILED tests/features/test_video.py::test_load_dataset_with_video_feature[True] tests/test_arrow_dataset.py::test_dataset_add_item[item0-False-None] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-9-tables2] [gw75] [ 70%] RERUN tests/test_formatting.py::FormatterTest::test_numpy_formatter_audio tests/test_formatting.py::FormatterTest::test_numpy_formatter_audio tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-20-tables2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-10-tables0] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-11-tables0] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-11-tables2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-7-tables2] [gw73] [ 70%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item0-False-None] [gw74] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-10-tables0] [gw118] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-2-tables2] [gw24] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-3-tables2] [gw66] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-11-tables0] [gw87] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-7-tables2] [gw96] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-9-tables2] [gw92] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-11-tables2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-9-tables0] [gw105] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-20-tables2] [gw112] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-9-tables0] tests/io/test_csv.py::test_dataset_from_csv_keep_in_memory[False] tests/test_iterable_dataset.py::test_buffer_shuffled_examples_iterable[101010] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-1-tables0] tests/test_arrow_dataset.py::test_dataset_add_item[item0-False-transform1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-10-tables2] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-20-tables0] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-1-tables2] [gw115] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-1-tables0] [gw102] [ 70%] PASSED tests/test_iterable_dataset.py::test_buffer_shuffled_examples_iterable[101010] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-13-tables0] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-all_exhausted-None] [gw117] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-20-tables0] tests/test_iterable_dataset.py::test_buffer_shuffled_examples_iterable[42] [gw18] [ 70%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-10-tables2] [gw73] [ 70%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item0-False-transform1] tests/test_arrow_dataset.py::test_dataset_add_item[item0-False-transform2] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-all_exhausted-probabilities2] [gw47] [ 71%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-13-tables0] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-all_exhausted-None] [gw34] [ 71%] PASSED tests/test_iterable_dataset.py::test_buffer_shuffled_examples_iterable[42] tests/test_iterable_dataset.py::test_cycling_multi_sources_examples_iterable tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-first_exhausted-probabilities1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-3-tables2] [gw68] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-all_exhausted-None] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable[None] [gw73] [ 71%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item0-False-transform2] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-first_exhausted-probabilities1] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-all_exhausted-None] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-all_exhausted-None] tests/test_formatting.py::FormatterTest::test_torch_formatter_torch_tensor_kwargs tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-all_exhausted-probabilities2] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[5--True-None] [gw101] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-all_exhausted-None] [gw30] [ 71%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-1-tables2] [gw77] [ 71%] PASSED tests/test_formatting.py::FormatterTest::test_torch_formatter_torch_tensor_kwargs [gw110] [ 71%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[5--True-None] [gw31] [ 71%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-3-tables2] tests/test_iterable_dataset.py::test_mapped_examples_iterable[25--True-10] [gw94] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-first_exhausted-probabilities1] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-all_exhausted-probabilities2] [gw86] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-all_exhausted-None] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-all_exhausted-None] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-first_exhausted-probabilities1] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-first_exhausted-probabilities1] [gw83] [ 71%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable[25--True-10] [gw98] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-all_exhausted-None] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-all_exhausted-probabilities2] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-all_exhausted-None] [gw119] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-first_exhausted-probabilities1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[-5--True--1] tests/test_iterable_dataset.py::test_mapped_examples_iterable[3--True-1_0] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[3--False-None] [gw50] [ 71%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[-5--True--1] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-all_exhausted-probabilities2] [gw23] [ 71%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable[3--True-1_0] [gw78] [ 71%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[3--False-None] [gw62] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-all_exhausted-None] [gw0] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-first_exhausted-probabilities1] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-first_exhausted-probabilities1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[-25--True-10] [gw46] [ 71%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_partial_remap_in_memory [gw20] [ 71%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[1] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-all_exhausted-probabilities2] [gw1] [ 71%] PASSED tests/test_fingerprint.py::test_fingerprint_in_multiprocessing [gw4] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[-1-all_exhausted-probabilities2] [gw14] [ 71%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[-25--True-10] tests/features/test_audio.py::test_dataset_cast_to_audio_features[1] [gw40] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-all_exhausted-None] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[3--True-1_1] [gw125] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-first_exhausted-probabilities1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-13-tables2] tests/test_formatting.py::FormatterTest::test_tf_formatter_image tests/test_fingerprint.py::test_temp_cache_dir_with_tmpdir_nonexistent [gw60] [ 71%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[3--True-1_1] tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository_hashing [gw46] [ 71%] SKIPPED tests/test_formatting.py::FormatterTest::test_tf_formatter_image tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns[25--True-10-remove_columns1] [gw13] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[300-all_exhausted-probabilities2] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-input_columns1-2-True] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[5--True-10] [gw2] [ 71%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-first_exhausted-probabilities1] [gw108] [ 71%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[True-13-tables2] [gw81] [ 71%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-input_columns1-2-True] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[_wrap_async-5--True--1] [gw120] [ 72%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch[5--True-10] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-input_columns1-2-False] [gw1] [ 72%] PASSED tests/test_fingerprint.py::test_temp_cache_dir_with_tmpdir_nonexistent tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable[probabilities2] [gw63] [ 72%] PASSED tests/test_file_utils.py::test_xexists_private [gw75] [ 72%] RERUN tests/test_formatting.py::FormatterTest::test_numpy_formatter_audio tests/test_formatting.py::FormatterTest::test_numpy_formatter_audio [gw17] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-input_columns1-2-False] [gw88] [ 72%] PASSED tests/test_data_files.py::test_DataFilesDict_from_patterns_in_dataset_repository_hashing tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-None-None-False] [gw15] [ 72%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns[25--True-10-remove_columns1] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-None-2-True] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-input_columns1-None-True] tests/test_file_utils.py::test_xsplit[/build/python-datasets/src/datasets-5.0.1/tests/test_file_utils.py-expected_head_and_tail0] [gw42] [ 72%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[_wrap_async-5--True--1] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-None-None-True] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-input_columns1-None-False] [gw63] [ 72%] PASSED tests/test_file_utils.py::test_xsplit[/build/python-datasets/src/datasets-5.0.1/tests/test_file_utils.py-expected_head_and_tail0] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-None-None-False] [gw82] [ 72%] PASSED tests/io/test_csv.py::test_dataset_from_csv_keep_in_memory[False] tests/io/test_csv.py::test_dataset_from_csv_keep_in_memory[True] [gw39] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-input_columns1-None-True] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-input_columns1-None-True] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-None-2-False] [gw55] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-None-2-True] [gw111] [ 72%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable[None] tests/test_file_utils.py::TestxPath::test_xpath_with_suffix[/build/python-datasets/src/datasets-5.0.1/file.txt-.ann-/build/python-datasets/src/datasets-5.0.1/file.ann] tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns[5--True-None-remove_columns3] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-input_columns1-2-False] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-None-None-False] [gw79] [ 72%] PASSED tests/test_iterable_dataset.py::test_cycling_multi_sources_examples_iterable [gw103] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-input_columns1-2-False] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-input_columns1-None-False] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-input_columns1-2-False] [gw76] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-input_columns1-None-False] [gw67] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-input_columns1-None-False] [gw35] [ 72%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[30-all_exhausted-probabilities2] [gw6] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-None-None-True] tests/test_iterable_dataset.py::test_iterable_dataset_map_batched_shrink_without_all_columns_raises [gw116] [ 72%] PASSED tests/test_file_utils.py::TestxPath::test_xpath_with_suffix[/build/python-datasets/src/datasets-5.0.1/file.txt-.ann-/build/python-datasets/src/datasets-5.0.1/file.ann] [gw104] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-None-None-False] [gw127] [ 72%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns[5--True-None-remove_columns3] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-None-None-True] tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence2-other-expected_dtype4] [gw5] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-None-None-False] [gw10] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-None-2-False] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-input_columns1-None-True] tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-first_exhausted-probabilities1] [gw36] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-None-None-False] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-None-2-False] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-None-2-False] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-None-2-False] [gw95] [ 72%] PASSED tests/test_arrow_writer.py::test_optimized_typed_sequence[sequence2-other-expected_dtype4] tests/test_iterable_dataset.py::test_iterable_dataset_map_batched_new_shorter_column_raises tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-input_columns1-2-True] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-input_columns1-None-False] [gw53] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-input_columns1-2-False] [gw99] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-input_columns1-None-True] tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs[3--False-None-None] [gw41] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-None-None-2-False] [gw12] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-None-2-False] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-None-None-False] tests/test_iterable_dataset.py::test_iterable_dataset_map_batched_expand_without_all_columns_raises [gw51] [ 72%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_map_batched_new_shorter_column_raises [gw114] [ 72%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs[3--False-None-None] [gw25] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_map_batched_shrink_without_all_columns_raises [gw109] [ 73%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable[probabilities2] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-None-2-True] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-input_columns1-2-True] [gw121] [ 73%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-first_exhausted-probabilities1] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-input_columns1-None-False] tests/test_iterable_dataset.py::test_iterable_dataset_map_batched_length_change_valid_patterns tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs[3--False-None-fn_kwargs1] [gw90] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_map_batched_expand_without_all_columns_raises tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs[5--True--1-fn_kwargs4] tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs[5--True-None-fn_kwargs3] [gw80] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-input_columns1-2-True] [gw69] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs[5--True--1-fn_kwargs4] tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs[25--True-10-fn_kwargs2] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[5--True-10] [gw106] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs[5--True-None-fn_kwargs3] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[3--True-1_0] tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-input_columns1-2-False] tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns[25--True-10-input_columns1] [gw38] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-None-input_columns1-2-True] tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns[3--False-None-input_columns0] tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns[5--True--1-input_columns3] [gw48] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs[25--True-10-fn_kwargs2] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[25--True-10] [gw32] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[False-remove_columns1-input_columns1-None-False] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[5--True-None] [gw28] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-input_columns1-None-False] tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns[5--True-None-input_columns2] [gw52] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs[3--False-None-fn_kwargs1] [gw26] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[3--True-1_0] [gw113] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns[5--True-None-input_columns2] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[3--True-1_0] [gw43] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns[5--True--1-input_columns3] [gw8] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns[25--True-10-input_columns1] [gw27] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-input_columns1-None-True] [gw84] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[5--True-None] [gw100] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns[3--False-None-input_columns0] [gw124] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-None-None-True] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[3--False-None] [gw61] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-None-2-False] [gw85] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_map_batched_length_change_valid_patterns [gw126] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-None-None-False] [gw107] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-None-2-True] [gw123] [ 73%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_vs_dataset_map[True-remove_columns1-input_columns1-2-False] [gw29] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[5--True-10] [gw93] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[3--True-1_0] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[3--False-None] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[3--True-1_0] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[5--True--1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[5--True-None] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[25--True-10] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[3--False-None] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[25--True-10] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[3--True-1_1] [gw87] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[25--True-10] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[5--True-10] [gw21] [ 73%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[20-all_exhausted-probabilities2] [gw66] [ 73%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[3--True-1_0] [gw74] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[5--True--1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[5--True-None] [gw96] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[5--True-None] [gw72] [ 74%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[5-all_exhausted-probabilities2] [gw112] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[3--False-None] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[5--True--1] [gw105] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[3--True-1_1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[3--True-1_1] [gw56] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[3--False-None] [gw115] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[5--True-None] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices_and_arrow_format[3--False-None] [gw70] [ 74%] PASSED tests/test_iterable_dataset.py::test_randomly_cycling_multi_sources_examples_iterable_state[0-all_exhausted-probabilities2] tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[5--True-10] [gw3] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[3--False-None] [gw102] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[5--True--1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices_and_arrow_format[5--True--1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices_and_arrow_format[5--True-None] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices_and_arrow_format[25--True-10] [gw18] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[5--True-10] tests/test_arrow_dataset.py::test_dataset_add_item[item0-False-transform3] [gw44] [ 74%] PASSED tests/test_file_utils.py::test_xisfile_private tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[3--True-1_1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns_arrow_format[5--True--1-remove_columns4] [gw68] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices_and_arrow_format[5--True-None] [gw24] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[5--True-10] tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns_arrow_format[5--True-None-remove_columns3] [gw9] [ 74%] FAILED tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature [gw117] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices_and_arrow_format[3--False-None] [gw118] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[3--True-1_1] [gw34] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices_and_arrow_format[5--True--1] tests/test_iterable_dataset.py::test_filtered_examples_iterable[3--False-None0] tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns_arrow_format[50--True-8-remove_columns2] tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature_mp3 tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns_and_arrow_format[3--False-None-input_columns0] tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns_and_arrow_format[5--True-None-input_columns2] tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns_arrow_format[3--False-None-remove_columns0] [gw77] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns_arrow_format[5--True-None-remove_columns3] tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns_and_arrow_format[25--True-10-input_columns1] [gw101] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns_arrow_format[5--True--1-remove_columns4] [gw73] [ 74%] PASSED tests/test_arrow_dataset.py::test_dataset_add_item[item0-False-transform3] [gw82] [ 74%] PASSED tests/io/test_csv.py::test_dataset_from_csv_keep_in_memory[True] tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs_and_arrow_format[5--True--1-fn_kwargs4] [gw75] [ 74%] FAILED tests/test_formatting.py::FormatterTest::test_numpy_formatter_audio [gw92] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format_from_arrow_examples_iterable[25--True-10] [gw110] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns_and_arrow_format[5--True-None-input_columns2] [gw30] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_drop_last_batch_and_arrow_format[3--True-1_1] tests/test_iterable_dataset.py::test_filtered_examples_iterable_with_indices[25--True-10] [gw98] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns_and_arrow_format[3--False-None-input_columns0] [gw119] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs_and_arrow_format[5--True--1-fn_kwargs4] [gw31] [ 74%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns_arrow_format[3--False-None-remove_columns0] [gw122] [ 74%] PASSED tests/packaged_modules/test_cache.py::test_cache_capital_letters tests/test_iterable_dataset.py::test_filtered_examples_iterable[3--True-10] [gw50] [ 74%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable[3--True-10] [gw83] [ 74%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable[3--False-None0] tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[_wrap_async-3--False-None] tests/test_iterable_dataset.py::test_filtered_examples_iterable[3--False-None1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs_and_arrow_format[25--True-10-fn_kwargs2] [gw23] [ 74%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable_with_indices[25--True-10] tests/test_iterable_dataset.py::test_filtered_examples_iterable_input_columns[3--False-None-input_columns0] tests/packaged_modules/test_conll.py::test_config_raises_when_invalid_name tests/test_iterable_dataset.py::test_filtered_examples_iterable[25--True-10] [gw78] [ 75%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable[3--False-None1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs_and_arrow_format[3--False-None-None] [gw75] [ 75%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[_wrap_async-3--False-None] [gw62] [ 75%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable[25--True-10] [gw122] [ 75%] PASSED tests/packaged_modules/test_conll.py::test_config_raises_when_invalid_name [gw14] [ 75%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable_input_columns[3--False-None-input_columns0] [gw64] [ 75%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[25--True-10] tests/test_iterable_dataset.py::test_filtered_examples_iterable_with_indices[5--True--1] tests/test_iterable_dataset.py::test_filtered_examples_iterable[3--True-1] tests/test_iterable_dataset.py::test_filtered_examples_iterable_input_columns[25--True-10-input_columns1] tests/packaged_modules/test_conll.py::test_config_raises_when_invalid_data_files[str_path] tests/test_formatting.py::FormatterTest::test_tf_formatter_tf_tensor_kwargs tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns_and_arrow_format[5--True--1-input_columns3] [gw46] [ 75%] SKIPPED tests/test_formatting.py::FormatterTest::test_tf_formatter_tf_tensor_kwargs [gw122] [ 75%] PASSED tests/packaged_modules/test_conll.py::test_config_raises_when_invalid_data_files[str_path] [gw125] [ 75%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable_with_indices[5--True--1] [gw4] [ 75%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs_and_arrow_format[3--False-None-None] tests/test_iterable_dataset.py::test_filtered_examples_iterable[5--True-None] tests/test_iterable_dataset.py::test_filtered_examples_iterable_input_columns[3--True-None-input_columns2] tests/test_fingerprint.py::test_temp_cache_dir_with_tmpdir_existing [gw60] [ 75%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable_input_columns[25--True-10-input_columns1] [gw40] [ 75%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable[3--True-1] tests/test_iterable_dataset.py::test_take_examples_iterable [gw13] [ 75%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns_and_arrow_format[5--True--1-input_columns3] [gw108] [ 75%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable_input_columns[3--True-None-input_columns2] [gw81] [ 75%] PASSED tests/test_iterable_dataset.py::test_take_examples_iterable tests/test_iterable_dataset.py::test_map_async tests/test_iterable_dataset.py::test_filtered_examples_iterable_input_columns[3--True-None-input_columns3] [gw1] [ 75%] PASSED tests/test_fingerprint.py::test_temp_cache_dir_with_tmpdir_existing tests/test_iterable_dataset.py::test_filter_async [gw2] [ 75%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable[5--True-None] tests/test_iterable_dataset.py::test_skip_arrow_examples_iterable[2] tests/packaged_modules/test_conll.py::test_config_raises_when_invalid_data_files[data_files1] [gw88] [ 75%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable_input_columns[3--True-None-input_columns3] tests/test_iterable_dataset.py::test_skip_examples_iterable tests/test_file_utils.py::test_xsplit[https://host.com/archive.zip-expected_head_and_tail1] [gw122] [ 75%] PASSED tests/packaged_modules/test_conll.py::test_config_raises_when_invalid_data_files[data_files1] [gw42] [ 75%] PASSED tests/test_iterable_dataset.py::test_skip_examples_iterable [gw63] [ 75%] PASSED tests/test_file_utils.py::test_xsplit[https://host.com/archive.zip-expected_head_and_tail1] [gw17] [ 75%] PASSED tests/test_iterable_dataset.py::test_skip_arrow_examples_iterable[2] tests/test_iterable_dataset.py::test_take_arrow_examples_iterable tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs_and_arrow_format[3--False-None-fn_kwargs1] [gw55] [ 75%] PASSED tests/test_iterable_dataset.py::test_take_arrow_examples_iterable tests/test_iterable_dataset.py::test_vertically_concatenated_examples_iterable_shuffle_data_sources tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns_arrow_format[25--True-10-remove_columns1] [gw86] [ 75%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_input_columns_and_arrow_format[25--True-10-input_columns1] tests/test_iterable_dataset.py::test_step_arrow_examples_iterable tests/test_iterable_dataset.py::test_vertically_concatenated_examples_iterable_with_different_columns tests/test_iterable_dataset.py::test_filtered_examples_iterable[5--True--1] tests/test_iterable_dataset.py::test_skip_arrow_examples_iterable[12] [gw116] [ 75%] PASSED tests/test_iterable_dataset.py::test_vertically_concatenated_examples_iterable_shuffle_data_sources tests/test_iterable_dataset.py::test_skip_arrow_examples_iterable[6] tests/test_iterable_dataset.py::test_skip_arrow_examples_iterable[4] [gw35] [ 75%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable[5--True--1] tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable5] [gw103] [ 75%] PASSED tests/test_iterable_dataset.py::test_vertically_concatenated_examples_iterable_with_different_columns [gw111] [ 75%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs_and_arrow_format[3--False-None-fn_kwargs1] tests/test_iterable_dataset.py::test_vertically_concatenated_examples_iterable tests/test_iterable_dataset.py::test_horizontally_concatenated_examples_iterable tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable1] [gw76] [ 75%] PASSED tests/test_iterable_dataset.py::test_skip_arrow_examples_iterable[12] tests/test_iterable_dataset.py::test_repeat_examples_iterable[3-None] [gw39] [ 75%] PASSED tests/test_iterable_dataset.py::test_step_arrow_examples_iterable tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable0] [gw5] [ 75%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable1] tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable4] tests/test_iterable_dataset.py::test_repeat_examples_iterable[3-0] [gw53] [ 76%] PASSED tests/test_iterable_dataset.py::test_repeat_examples_iterable[3-0] [gw95] [ 76%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable5] [gw67] [ 76%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable0] [gw104] [ 76%] PASSED tests/test_iterable_dataset.py::test_skip_arrow_examples_iterable[4] [gw6] [ 76%] PASSED tests/test_iterable_dataset.py::test_skip_arrow_examples_iterable[6] [gw10] [ 76%] PASSED tests/test_iterable_dataset.py::test_repeat_examples_iterable[3-None] [gw99] [ 76%] PASSED tests/test_iterable_dataset.py::test_vertically_concatenated_examples_iterable tests/test_iterable_dataset.py::test_repeat_examples_iterable[3-3] [gw127] [ 76%] PASSED tests/test_iterable_dataset.py::test_horizontally_concatenated_examples_iterable [gw41] [ 76%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable4] tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable2] tests/test_iterable_dataset.py::test_step_examples_iterable [gw36] [ 76%] PASSED tests/test_iterable_dataset.py::test_repeat_examples_iterable[3-3] [gw120] [ 76%] PASSED tests/test_iterable_dataset.py::test_map_async [gw109] [ 76%] PASSED tests/test_iterable_dataset.py::test_step_examples_iterable [gw114] [ 76%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable2] tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable2] tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable3] [gw91] [ 76%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-False] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-False] tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable9] tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable11] [gw12] [ 76%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable11] tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable7] [gw51] [ 76%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable9] [gw25] [ 76%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable2] [gw54] [ 76%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_multiprocessing_on_disk tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable14] [gw7] [ 76%] RERUN tests/features/test_audio.py::test_dataset_concatenate_nested_audio_features tests/features/test_audio.py::test_dataset_concatenate_nested_audio_features tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable10] [gw15] [ 76%] PASSED tests/test_iterable_dataset.py::test_filter_async tests/test_iterable_dataset.py::test_iterable_dataset tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable4] tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable3] tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable6] [gw48] [ 76%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable10] [gw90] [ 76%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable4] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_nested_in_memory tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable6] [gw11] [ 76%] PASSED tests/test_formatting.py::test_torch_formatter_sets_default_dtypes[cast_schema1] [gw80] [ 76%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable14] [gw26] [ 76%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset [gw32] [ 76%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable3] tests/test_iterable_dataset.py::test_iterable_dataset_from_generator tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable13] tests/test_iterable_dataset.py::test_iterable_dataset_push_to_hub_default_num_shards_uses_dataset_num_shards [gw19] [ 76%] PASSED tests/test_formatting.py::test_torch_formatter_sets_default_dtypes[None] tests/test_iterable_dataset.py::test_iterable_dataset_push_to_hub_max_shard_size_computes_num_shards_from_estimated_size tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable8] tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable9] tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable11] tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable5] [gw28] [ 76%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable13] tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable0] tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable12] [gw84] [ 76%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_from_generator [gw0] [ 76%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs_and_arrow_format[25--True-10-fn_kwargs2] [gw85] [ 76%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable0] [gw54] [ 76%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_nested_in_memory [gw106] [ 77%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable6] tests/test_iterable_dataset.py::test_mapped_examples_iterable[5--True-None] tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable7] [gw19] [ 77%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable[5--True-None] [gw113] [ 77%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_push_to_hub_max_shard_size_computes_num_shards_from_estimated_size tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable10] [gw121] [ 77%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable3] tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable8] tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable1] [gw100] [ 77%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable9] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_nested_on_disk [gw61] [ 77%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable12] [gw124] [ 77%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable7] tests/test_iterable_dataset.py::test_iterable_dataset_push_to_hub_max_shard_size_and_num_shards_are_mutually_exclusive tests/test_iterable_dataset.py::test_iterable_dataset_to_pandas_preserves_declared_features tests/test_iterable_dataset.py::test_iterable_dataset_torch_integration tests/test_iterable_dataset.py::test_iterable_dataset_torch_picklable tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs_and_arrow_format[5--True-None-fn_kwargs3] [gw107] [ 77%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable1] tests/test_iterable_dataset.py::test_from_spark_streaming_features [gw87] [ 77%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_torch_integration tests/test_iterable_dataset.py::test_filtered_examples_iterable_with_indices[3--False-None] tests/test_iterable_dataset.py::test_iterable_dataset_to_pandas_casts_when_schema_mismatch [gw66] [ 77%] SKIPPED tests/test_iterable_dataset.py::test_from_spark_streaming_features tests/test_iterable_dataset.py::test_sharded_iterable_dataset_torch_dataloader_parallel[2-1] [gw27] [ 77%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable8] [gw96] [ 77%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_torch_picklable tests/test_iterable_dataset.py::test_iterable_dataset_torch_dataloader_parallel [gw93] [ 77%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_to_pandas_preserves_declared_features [gw72] [ 77%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable_with_indices[3--False-None] [gw54] [ 77%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_nested_on_disk tests/test_iterable_dataset.py::test_iterable_dataset_push_to_hub_max_shard_size_respects_num_proc_floor [gw79] [ 77%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns_arrow_format[25--True-10-remove_columns1] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_new_features_in_memory [gw69] [ 77%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable7] tests/test_iterable_dataset.py::test_filtered_examples_iterable_with_indices[5--True-None] tests/test_iterable_dataset.py::test_sharded_iterable_dataset_torch_dataloader_parallel[2-2] tests/test_iterable_dataset.py::test_sharded_iterable_dataset_torch_dataloader_parallel[3-2] [gw126] [ 77%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable10] [gw74] [ 77%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_to_pandas_casts_when_schema_mismatch tests/test_iterable_dataset.py::test_iterable_dataset_from_generator_with_shards tests/test_iterable_dataset.py::test_iterable_dataset_from_hub_torch_dataloader_parallel[1] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle_buffer_uses_multiple_input_shards tests/test_iterable_dataset.py::test_iterable_dataset_from_file [gw52] [ 77%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable5] [gw8] [ 77%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable11] tests/test_iterable_dataset.py::test_sharded_iterable_dataset_torch_dataloader_parallel[2-3] tests/test_iterable_dataset.py::test_from_spark_streaming [gw70] [ 77%] PASSED tests/test_iterable_dataset.py::test_filtered_examples_iterable_with_indices[5--True-None] tests/test_file_utils.py::test_xgetsize[tmp_path/file.txt-100] tests/test_iterable_dataset.py::test_iterable_dataset_from_hub_torch_dataloader_parallel[2] [gw54] [ 77%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_new_features_in_memory [gw97] [ 77%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[records-list-keys0-None] [gw118] [ 77%] SKIPPED tests/test_iterable_dataset.py::test_from_spark_streaming tests/test_iterable_dataset.py::test_iterable_dataset_interleave_dataset_deterministic_across_iterations tests/test_iterable_dataset.py::test_iterable_dataset_iter_batch[False-5] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_new_features_on_disk [gw44] [ 77%] PASSED tests/test_file_utils.py::test_xgetsize[tmp_path/file.txt-100] tests/test_iterable_dataset.py::test_iterable_dataset_with_format_torch tests/io/test_csv.py::test_dataset_from_csv_features[None] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[split-dict-keys1-data] tests/test_iterable_dataset.py::test_iterable_dataset_interleave_dataset_with_multiple_workers [gw21] [ 77%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_fn_kwargs_and_arrow_format[5--True-None-fn_kwargs3] [gw123] [ 77%] PASSED tests/test_iterable_dataset.py::test_iter_arrow[ex_iterable8] tests/test_iterable_dataset.py::test_iterable_dataset_iter_batch[False-4] tests/test_iterable_dataset.py::test_iterable_dataset_iter_batch[True-4] [gw77] [ 77%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_iter_batch[False-5] [gw92] [ 77%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_with_format_torch [gw110] [ 77%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_iter_batch[True-4] [gw82] [ 78%] PASSED tests/io/test_csv.py::test_dataset_from_csv_features[None] tests/test_iterable_dataset.py::test_iterable_dataset_iter_batch[True-5] tests/test_iterable_dataset.py::test_iterable_dataset_map_complex_features tests/test_iterable_dataset.py::test_iterable_dataset_map tests/test_iterable_dataset.py::test_iterable_dataset_map_with_fn_kwargs tests/test_iterable_dataset.py::test_iterable_dataset_map_with_features [gw98] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_map [gw31] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_iter_batch[True-5] [gw54] [ 78%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_new_features_on_disk [gw50] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_map_complex_features tests/test_iterable_dataset.py::test_iterable_dataset_map_batched [gw23] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_map_with_features [gw119] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_map_batched tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[_wrap_async-25--True-10] tests/test_iterable_dataset.py::test_iterable_dataset_set_epoch_resuming tests/test_iterable_dataset.py::test_iterable_dataset_filter [gw62] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_filter tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[0-1337] [gw68] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle_buffer_uses_multiple_input_shards tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[None-42] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[1-42] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[0-101010] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[None-101010] [gw83] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_set_epoch_resuming tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[None-1337] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[0-42] [gw38] [ 78%] PASSED tests/test_iterable_dataset.py::test_no_iter_arrow[ex_iterable6] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[1-1337] [gw75] [ 78%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices[_wrap_async-25--True-10] [gw46] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[0-1337] tests/test_iterable_dataset.py::test_iterable_dataset_push_to_hub_single_shard_disables_multiprocessing [gw78] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_map_with_fn_kwargs [gw13] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[0-101010] [gw4] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[None-42] [gw108] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[1-42] [gw14] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[None-1337] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[None-123456] [gw81] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[1-1337] [gw60] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[0-42] [gw64] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_push_to_hub_single_shard_disables_multiprocessing [gw40] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[None-101010] [gw125] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[None-123456] [gw71] [ 78%] PASSED tests/test_formatting.py::test_torch_formatter_sets_default_dtypes[cast_schema3] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[0-123456] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[1-123456] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[None] tests/test_iterable_dataset.py::test_iterable_dataset_features[features1] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[arrow] [gw35] [ 78%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[arrow] tests/test_iterable_dataset.py::test_iterable_dataset_features_cast_to_python [gw88] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_features[features1] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[python] [gw63] [ 78%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[None] tests/packaged_modules/test_conll.py::test_config_raises_when_invalid_data_files[data_files2] [gw122] [ 78%] PASSED tests/packaged_modules/test_conll.py::test_config_raises_when_invalid_data_files[data_files2] [gw30] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_iter_batch[False-4] tests/test_iterable_dataset.py::test_iterable_dataset_set_epoch [gw42] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_features_cast_to_python [gw86] [ 78%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_set_epoch [gw55] [ 79%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[python] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[numpy] [gw20] [ 79%] FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[1] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[tf] [gw111] [ 79%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[tf] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[torch] [gw39] [ 79%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[torch] [gw1] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[1-123456] tests/test_iterable_dataset.py::test_iterable_dataset_take[2] [gw76] [ 79%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[numpy] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[np] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[jax] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[pd] tests/test_iterable_dataset.py::test_iterable_dataset_features[None] [gw53] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_take[2] tests/test_iterable_dataset.py::test_iterable_dataset_is_torch_iterable_dataset tests/test_iterable_dataset.py::test_iterable_dataset_take[0] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[pandas] tests/features/test_audio.py::test_dataset_cast_to_audio_features[2] [gw6] [ 79%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[pd] [gw17] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_features[None] [gw103] [ 79%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[np] [gw2] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[0-123456] [gw67] [ 79%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[jax] tests/test_iterable_dataset.py::test_iterable_dataset_take[10000000000] tests/test_iterable_dataset.py::test_iterable_dataset_skip[2] tests/test_iterable_dataset.py::test_iterable_dataset_skip[10000000000] [gw95] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_take[0] tests/test_iterable_dataset.py::test_iterable_dataset_skip[0] tests/test_iterable_dataset.py::test_iterable_dataset_repeat[0] tests/test_iterable_dataset.py::test_iterable_dataset_persists_epoch_in_torch_workers [gw5] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip[0] [gw10] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip[2] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[2-False-skip] [gw94] [ 79%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_remove_columns_arrow_format[50--True-8-remove_columns2] [gw99] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_take[10000000000] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[1-101010] [gw36] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip[10000000000] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[2-True-skip] [gw104] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_is_torch_iterable_dataset [gw41] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_repeat[0] [gw114] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[2-False-skip] tests/test_iterable_dataset.py::test_iterable_dataset_features[features2] tests/test_formatting.py::test_torch_formatter_sets_default_dtypes[cast_schema2] [gw120] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle[1-101010] tests/test_iterable_dataset.py::test_iterable_dataset_repeat[2] [gw11] [ 79%] PASSED tests/test_formatting.py::test_torch_formatter_sets_default_dtypes[cast_schema2] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[5-False-skip] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[11-True-skip] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[11-False-take] tests/test_iterable_dataset.py::test_iterable_dataset_shard tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[5-False-take] [gw90] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[5-False-skip] [gw12] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_repeat[2] [gw15] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_features[features2] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[2-False-take] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[11-True-take] tests/test_iterable_dataset.py::test_mapped_examples_iterable[5--True--1] [gw48] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[11-False-take] [gw80] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[5-False-take] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[5-True-take] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[5-False-skip] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[11-True-skip] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[2-True-take] [gw47] [ 79%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_with_indices_and_arrow_format[25--True-10] tests/test_iterable_dataset.py::test_iterable_dataset_filter_chaining_does_not_raise [gw109] [ 79%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[2-True-skip] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[11-False-skip] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[5-True-take] [gw19] [ 79%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable[5--True--1] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[2-False-take] [gw25] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[2-False-take] [gw85] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[11-True-skip] [gw28] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[2-True-take] [gw84] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[5-False-skip] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[2-True-take] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[5-True-skip] [gw113] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[2-False-take] [gw26] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[11-True-take] [gw100] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[5-True-skip] [gw106] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[5-True-take] tests/test_iterable_dataset.py::test_iterable_dataset_cast [gw124] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[5-True-take] tests/test_iterable_dataset.py::test_iterable_dataset_resolve_features_keep_order tests/test_iterable_dataset.py::test_iterable_dataset_select_columns tests/test_iterable_dataset.py::test_iterable_dataset_rename_columns [gw61] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[11-False-skip] [gw121] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[2-True-take] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[11-True-take] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[5-True-skip] tests/test_iterable_dataset.py::test_iterable_dataset_with_features_fill_with_none [gw96] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_resolve_features_keep_order [gw66] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_cast [gw32] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[11-True-skip] [gw87] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_select_columns [gw72] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_with_features_fill_with_none tests/test_iterable_dataset.py::test_iterable_dataset_add_column [gw93] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_rename_columns tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[5-False-take] [gw116] [ 80%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[pandas] [gw126] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[11-True-take] tests/test_iterable_dataset.py::test_iterable_dataset_with_format[tensorflow] tests/test_iterable_dataset.py::test_iterable_dataset_resolve_features [gw74] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_resolve_features tests/test_iterable_dataset.py::test_concatenate_datasets_axis_1_resolves_features [gw0] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_filter_chaining_does_not_raise tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[11-False-take] [gw69] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[5-True-skip] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[2-False-skip] [gw107] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_add_column [gw79] [ 80%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_with_format[tensorflow] tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[np] tests/test_iterable_dataset.py::test_iterable_dataset_cast_column [gw27] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[5-False-take] [gw52] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[2-False-skip] tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[torch] [gw118] [ 80%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[np] tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[jax] tests/test_iterable_dataset.py::test_iterable_dataset_rename_column tests/test_iterable_dataset.py::test_interleave_datasets[None-None-58-first_exhausted] [gw21] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_cast_column tests/test_iterable_dataset.py::test_interleave_datasets[probas1-None-20-first_exhausted] [gw77] [ 80%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[jax] [gw8] [ 80%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[11-False-take] [gw70] [ 80%] PASSED tests/test_iterable_dataset.py::test_concatenate_datasets_axis_1_resolves_features tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[pandas] [gw82] [ 81%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[pandas] tests/test_arrow_dataset.py::BaseDatasetTest::test_map_numpy_in_memory [gw123] [ 81%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_rename_column [gw29] [ 81%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_push_to_hub_max_shard_size_and_num_shards_are_mutually_exclusive tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[python] tests/test_iterable_dataset.py::test_interleave_datasets[None-None-60-all_exhausted] tests/test_iterable_dataset.py::test_interleave_datasets[probas3-42-None-first_exhausted] [gw44] [ 81%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[torch] [gw68] [ 81%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[python] [gw110] [ 81%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets[probas1-None-20-first_exhausted] [gw3] [ 81%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_from_generator_with_shards [gw9] [ 81%] RERUN tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature_mp3 tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature_mp3 tests/test_iterable_dataset.py::test_interleave_datasets[probas5-101010-None-first_exhausted] tests/test_iterable_dataset.py::test_interleave_datasets_with_oversampling [gw92] [ 81%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets[None-None-58-first_exhausted] tests/test_iterable_dataset.py::test_interleave_datasets_with_features [gw51] [ 81%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shard [gw54] [ 81%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_map_numpy_in_memory tests/test_iterable_dataset.py::test_interleave_datasets[probas7-42-None-all_exhausted] tests/test_iterable_dataset.py::test_map_array_are_not_converted_back_to_lists tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[11-False-skip] tests/test_iterable_dataset.py::test_interleave_datasets[probas8-1337-None-all_exhausted] tests/test_iterable_dataset.py::test_format_polars tests/test_iterable_dataset.py::test_interleave_datasets[probas4-1337-None-first_exhausted] [gw75] [ 81%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets_with_features tests/test_iterable_dataset.py::test_interleave_datasets[probas9-101010-None-all_exhausted] [gw62] [ 81%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets_with_oversampling tests/test_iterable_dataset.py::test_format_from_arrow [gw13] [ 81%] SKIPPED tests/test_iterable_dataset.py::test_format_polars [gw4] [ 81%] PASSED tests/test_iterable_dataset.py::test_format_from_arrow [gw50] [ 81%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets[None-None-60-all_exhausted] tests/test_iterable_dataset.py::test_with_format_torch [gw46] [ 81%] PASSED tests/test_iterable_dataset.py::test_map_array_are_not_converted_back_to_lists [gw38] [ 81%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_shuffle[11-False-skip] tests/test_iterable_dataset.py::test_format_pandas tests/test_iterable_dataset.py::test_formatted_map tests/test_iterable_dataset.py::test_format_arrow tests/test_iterable_dataset.py::test_interleave_dataset_with_sharding[2-2-2] tests/test_iterable_dataset.py::test_with_format_tf [gw14] [ 81%] PASSED tests/test_iterable_dataset.py::test_with_format_torch [gw64] [ 81%] SKIPPED tests/test_iterable_dataset.py::test_with_format_tf tests/test_formatting.py::test_iterable_dataset_of_arrays_format_to_arrow tests/test_iterable_dataset.py::test_interleave_dataset_with_sharding[2-1-1] tests/test_iterable_dataset.py::test_pickle_after_many_transforms [gw98] [ 81%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets[probas3-42-None-first_exhausted] [gw125] [ 81%] PASSED tests/test_iterable_dataset.py::test_formatted_map tests/test_iterable_dataset.py::test_resume_dataloader_twice[1] [gw60] [ 81%] PASSED tests/test_iterable_dataset.py::test_format_arrow [gw31] [ 81%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets[probas5-101010-None-first_exhausted] tests/test_iterable_dataset.py::test_interleave_datasets[probas2-None-20-first_exhausted] tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[True-1] tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[False-500] tests/test_iterable_dataset.py::test_resume_dataloader tests/test_iterable_dataset.py::test_resume_dataloader_twice[0] [gw88] [ 81%] PASSED tests/test_iterable_dataset.py::test_pickle_after_many_transforms [gw71] [ 81%] PASSED tests/test_formatting.py::test_iterable_dataset_of_arrays_format_to_arrow [gw42] [ 81%] SKIPPED tests/test_iterable_dataset.py::test_resume_dataloader_twice[0] [gw63] [ 81%] SKIPPED tests/test_iterable_dataset.py::test_resume_dataloader_twice[1] [gw119] [ 81%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets[probas4-1337-None-first_exhausted] tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[False-1] [gw122] [ 81%] SKIPPED tests/test_iterable_dataset.py::test_resume_dataloader [gw43] [ 81%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_push_to_hub_default_num_shards_uses_dataset_num_shards tests/test_iterable_dataset.py::test_interleave_dataset_with_sharding[1-3-1] tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[True-1500] tests/test_iterable_dataset.py::test_iterable_dataset_batch[7] tests/test_iterable_dataset.py::test_iterable_dataset_batch[2] [gw30] [ 82%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets[probas2-None-20-first_exhausted] tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column[3] tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[True-500] tests/test_iterable_dataset.py::test_resume_dataloader_twice[2] [gw22] [ 82%] PASSED tests/features/test_audio.py::test_dataset_with_audio_feature_loaded_from_cache tests/test_iterable_dataset.py::test_iterable_dataset_batch[1] tests/test_iterable_dataset.py::test_interleave_dataset_with_sharding[4-3-3] tests/test_iterable_dataset.py::test_iterable_dataset_batch[3] tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column_survives_resharding tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column[2] [gw35] [ 82%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[True-1] tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column[7] tests/features/test_audio.py::test_dataset_with_audio_feature_undecoded tests/test_iterable_dataset.py::test_iterable_dataset_info [gw17] [ 82%] SKIPPED tests/test_iterable_dataset.py::test_resume_dataloader_twice[2] tests/test_iterable_dataset.py::test_iterable_dataset_batch_with_polars_format tests/test_iterable_dataset.py::test_iterable_dataset_batch_with_table_format[pandas] [gw94] [ 82%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_info tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column[10] tests/test_iterable_dataset.py::TestIterableColumn::test_getitem_for_batched_dataset tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column[1] tests/test_metadata_util.py::test_metadata_configs_dataset_card_data[---\nconfigs:\n - config_name: custom\n data_dir: custom\n drop_labels: true\n - config_name: default\n data_dir: data\n drop_labels: false\n---\n-expected_metadata_configs_dict2-default] tests/test_iterable_dataset.py::TestIterableColumn::test_chained_getitem tests/test_iterable_dataset.py::test_decode tests/test_metadata_util.py::test_metadata_configs_dataset_card_data[---\nconfigs:\n - config_name: default\n features:\n - name: id\n dtype: int64\n - name: name\n dtype: string\n - name: score\n dtype: float64\n---\n-expected_metadata_configs_dict3-default] [gw39] [ 82%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch[2] tests/test_metadata_util.py::test_metadata_configs_dataset_card_data[---\nconfigs:\n - config_name: custom\n data_dir: v1\n drop_labels: true\n---\n-expected_metadata_configs_dict0-custom] [gw103] [ 82%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[True-500] [gw114] [ 82%] PASSED tests/test_iterable_dataset.py::TestIterableColumn::test_chained_getitem [gw111] [ 82%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[True-1500] tests/test_metadata_util.py::test_metadata_configs_dataset_card_data[---\nconfigs:\n - config_name: v1\n data_dir: v1\n drop_labels: true\n - config_name: v2\n data_dir: v2\n drop_labels: false\n default: true\n---\n-expected_metadata_configs_dict1-v2] [gw90] [ 82%] PASSED tests/test_metadata_util.py::test_metadata_configs_dataset_card_data[---\nconfigs:\n - config_name: custom\n data_dir: custom\n drop_labels: true\n - config_name: default\n data_dir: data\n drop_labels: false\n---\n-expected_metadata_configs_dict2-default] tests/test_patching.py::test_patch_submodule [gw15] [ 82%] PASSED tests/test_metadata_util.py::test_metadata_configs_dataset_card_data[---\nconfigs:\n - config_name: custom\n data_dir: v1\n drop_labels: true\n---\n-expected_metadata_configs_dict0-custom] tests/test_iterable_dataset.py::test_iterable_dataset_shuffle_with_multiple_workers_different_rng [gw11] [ 82%] PASSED tests/test_metadata_util.py::test_metadata_configs_dataset_card_data[---\nconfigs:\n - config_name: default\n features:\n - name: id\n dtype: int64\n - name: name\n dtype: string\n - name: score\n dtype: float64\n---\n-expected_metadata_configs_dict3-default] [gw48] [ 82%] PASSED tests/test_metadata_util.py::test_metadata_configs_dataset_card_data[---\nconfigs:\n - config_name: v1\n data_dir: v1\n drop_labels: true\n - config_name: v2\n data_dir: v2\n drop_labels: false\n default: true\n---\n-expected_metadata_configs_dict1-v2] [gw41] [ 82%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch_with_table_format[pandas] [gw5] [ 82%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch[3] [gw83] [ 82%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets[probas7-42-None-all_exhausted] [gw36] [ 82%] SKIPPED tests/test_iterable_dataset.py::test_iterable_dataset_batch_with_polars_format [gw76] [ 82%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch[1] [gw19] [ 82%] PASSED tests/test_patching.py::test_patch_submodule tests/test_metadata_util.py::test_metadata_configs_incorrect_yaml tests/test_parallel.py::test_parallel_backend_map_nested[2] [gw85] [ 82%] SKIPPED tests/test_parallel.py::test_parallel_backend_map_nested[2] [gw120] [ 82%] PASSED tests/test_iterable_dataset.py::test_decode [gw80] [ 82%] PASSED tests/test_metadata_util.py::test_metadata_configs_incorrect_yaml [gw53] [ 82%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch[7] [gw22] [ 82%] PASSED tests/features/test_audio.py::test_dataset_with_audio_feature_undecoded [gw67] [ 82%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column_survives_resharding tests/test_offline_util.py::test_offline_with_connection_error tests/test_iterable_dataset.py::TestIterableColumn::test_simple_getitem [gw40] [ 82%] PASSED tests/test_iterable_dataset.py::test_format_pandas [gw109] [ 82%] PASSED tests/test_iterable_dataset.py::TestIterableColumn::test_simple_getitem tests/test_offline_util.py::test_offline_with_datasets_offline_mode_enabled tests/test_metadata_util.py::test_split_order_in_metadata_configs_from_exported_parquet_files_and_dataset_infos tests/test_metadata_util.py::TestMetadataUtils::test_metadata_dict_from_readme tests/test_patching.py::test_patch_submodule_missing_builtin tests/test_patching.py::test_patch_submodule_builtin tests/test_patching.py::test_patch_submodule_start_and_stop tests/test_py_utils.py::test_map_nested[data_struct0-expected_result0-2-True-add_one_to_batch] [gw100] [ 82%] PASSED tests/test_patching.py::test_patch_submodule_missing_builtin [gw84] [ 82%] PASSED tests/test_offline_util.py::test_offline_with_datasets_offline_mode_enabled tests/test_patching.py::test_patch_submodule_successive [gw96] [ 82%] PASSED tests/test_py_utils.py::test_map_nested[data_struct0-expected_result0-2-True-add_one_to_batch] tests/test_parallel.py::test_parallel_backend_map_nested[-1] [gw106] [ 82%] SKIPPED tests/test_parallel.py::test_parallel_backend_map_nested[-1] [gw113] [ 83%] PASSED tests/test_patching.py::test_patch_submodule_builtin [gw26] [ 83%] PASSED tests/test_metadata_util.py::test_split_order_in_metadata_configs_from_exported_parquet_files_and_dataset_infos [gw28] [ 83%] PASSED tests/test_offline_util.py::test_offline_with_connection_error [gw25] [ 83%] PASSED tests/test_metadata_util.py::TestMetadataUtils::test_metadata_dict_from_readme tests/test_patching.py::test_patch_submodule_missing [gw121] [ 83%] PASSED tests/test_patching.py::test_patch_submodule_missing [gw124] [ 83%] PASSED tests/test_patching.py::test_patch_submodule_successive tests/test_offline_util.py::test_offline_with_timeout tests/test_py_utils.py::test_map_nested[data_struct0-expected_result0-None-False-add_one] tests/test_py_utils.py::test_map_nested[data_struct1-expected_result1-None-True-add_one_to_batch] [gw61] [ 83%] PASSED tests/test_patching.py::test_patch_submodule_start_and_stop [gw23] [ 83%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets[probas8-1337-None-all_exhausted] tests/test_py_utils.py::test_map_nested[1-2-None-False-add_one] [gw87] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct0-expected_result0-None-False-add_one] tests/test_parallel.py::test_parallel_backend_input tests/test_py_utils.py::test_map_nested[1-2-None-True-add_one_to_batch] [gw72] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct1-expected_result1-None-True-add_one_to_batch] [gw55] [ 83%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[False-1] [gw126] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[1-2-None-False-add_one] [gw74] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[1-2-None-True-add_one_to_batch] tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[False-1500] tests/test_py_utils.py::test_map_nested[data_struct1-expected_result1-None-False-add_one] tests/test_py_utils.py::test_map_nested[data_struct0-expected_result0-None-True-add_one_to_batch] [gw0] [ 83%] SKIPPED tests/test_parallel.py::test_parallel_backend_input [gw93] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct1-expected_result1-None-False-add_one] [gw32] [ 83%] PASSED tests/test_offline_util.py::test_offline_with_timeout [gw66] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct0-expected_result0-None-True-add_one_to_batch] tests/test_py_utils.py::test_map_nested[1-2-2-False-add_one] tests/test_py_utils.py::test_map_nested[data_struct1-expected_result1-2-False-add_one] tests/test_py_utils.py::test_map_nested[data_struct1-expected_result1-2-True-add_one_to_batch] tests/test_py_utils.py::test_map_nested[data_struct0-expected_result0-2-False-add_one] [gw52] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[1-2-2-False-add_one] [gw69] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct1-expected_result1-2-False-add_one] [gw79] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct1-expected_result1-2-True-add_one_to_batch] tests/test_py_utils.py::test_map_nested[data_struct5-expected_result5-None-False-add_one] [gw27] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct0-expected_result0-2-False-add_one] tests/test_iterable_dataset.py::test_concatenate_datasets_axis_1_arrow_format tests/test_patching.py::test_patch_submodule_doesnt_exist tests/test_py_utils.py::test_map_nested[data_struct3-expected_result3-None-False-add_one] tests/test_py_utils.py::test_map_nested[data_struct3-expected_result3-2-True-add_one_to_batch] tests/test_metadata_util.py::TestMetadataUtils::test_from_yaml_string tests/test_iterable_dataset.py::test_iterable_dataset_remove_columns tests/test_py_utils.py::test_map_nested[data_struct4-expected_result4-None-True-add_one_to_batch] tests/test_py_utils.py::test_map_nested[data_struct3-expected_result3-None-True-add_one_to_batch] tests/test_py_utils.py::test_map_nested[data_struct4-expected_result4-2-False-add_one] tests/test_py_utils.py::test_map_nested[1-2-2-True-add_one_to_batch] [gw82] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct5-expected_result5-None-False-add_one] tests/test_py_utils.py::test_map_nested[data_struct6-expected_result6-2-True-add_one_to_batch] tests/test_py_utils.py::test_map_nested[data_struct3-expected_result3-2-False-add_one] tests/test_py_utils.py::test_map_nested[data_struct7-expected_result7-None-False-add_one] [gw68] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct7-expected_result7-None-False-add_one] [gw77] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct4-expected_result4-None-True-add_one_to_batch] [gw86] [ 83%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[False-500] tests/test_py_utils.py::test_map_nested[data_struct4-expected_result4-None-False-add_one] [gw8] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct3-expected_result3-None-False-add_one] [gw107] [ 83%] PASSED tests/test_patching.py::test_patch_submodule_doesnt_exist [gw118] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct3-expected_result3-None-True-add_one_to_batch] [gw123] [ 83%] PASSED tests/test_py_utils.py::test_map_nested[data_struct4-expected_result4-None-False-add_one] [gw78] [ 83%] PASSED tests/test_iterable_dataset.py::test_interleave_datasets[probas9-101010-None-all_exhausted] [gw51] [ 83%] PASSED tests/test_metadata_util.py::TestMetadataUtils::test_from_yaml_string [gw70] [ 84%] PASSED tests/test_py_utils.py::test_map_nested[1-2-2-True-add_one_to_batch] tests/test_py_utils.py::test_map_nested[data_struct4-expected_result4-2-True-add_one_to_batch] tests/test_py_utils.py::test_map_nested[data_struct5-expected_result5-2-True-add_one_to_batch] [gw24] [ 84%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_from_file tests/test_py_utils.py::test_map_nested[data_struct6-expected_result6-None-False-add_one] tests/test_py_utils.py::test_map_nested[data_struct7-expected_result7-2-True-add_one_to_batch] tests/test_py_utils.py::test_map_nested[data_struct7-expected_result7-2-False-add_one] [gw29] [ 84%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_remove_columns [gw91] [ 84%] RERUN tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-False] tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-False] [gw50] [ 84%] PASSED tests/test_py_utils.py::test_map_nested[data_struct6-expected_result6-None-False-add_one] tests/test_py_utils.py::test_map_nested_num_proc[1-1-1] tests/test_py_utils.py::test_map_nested[data_struct8-expected_result8-2-True-add_one_to_batch] [gw64] [ 84%] PASSED tests/test_py_utils.py::test_map_nested_num_proc[1-1-1] tests/test_py_utils.py::test_map_nested[data_struct8-expected_result8-2-False-add_one] tests/test_py_utils.py::test_map_nested[data_struct8-expected_result8-None-False-add_one] tests/test_py_utils.py::test_map_nested[data_struct5-expected_result5-None-True-add_one_to_batch] tests/test_py_utils.py::test_map_nested[data_struct5-expected_result5-2-False-add_one] [gw98] [ 84%] PASSED tests/test_py_utils.py::test_map_nested[data_struct5-expected_result5-None-True-add_one_to_batch] tests/test_py_utils.py::TempSeedTest::test_numpy tests/test_py_utils.py::PyUtilsTest::test_temporary_assignment tests/test_py_utils.py::test_map_nested_num_proc[3-2-1] [gw46] [ 84%] PASSED tests/test_py_utils.py::test_map_nested[data_struct8-expected_result8-None-False-add_one] tests/test_py_utils.py::test_map_nested_num_proc[2-1-1] [gw3] [ 84%] PASSED tests/test_iterable_dataset.py::test_concatenate_datasets_axis_1_arrow_format [gw42] [ 84%] PASSED tests/test_py_utils.py::TempSeedTest::test_numpy [gw88] [ 84%] PASSED tests/test_py_utils.py::test_map_nested_num_proc[3-2-1] tests/test_py_utils.py::test_map_nested_num_proc[2-2-1] [gw12] [ 84%] PASSED tests/test_iterable_dataset.py::TestIterableColumn::test_getitem_for_batched_dataset tests/test_py_utils.py::test_map_nested_num_proc[17-16-16] [gw14] [ 84%] PASSED tests/test_py_utils.py::PyUtilsTest::test_temporary_assignment [gw125] [ 84%] PASSED tests/test_py_utils.py::test_map_nested_num_proc[2-1-1] [gw71] [ 84%] PASSED tests/test_py_utils.py::test_map_nested_num_proc[2-2-1] tests/test_py_utils.py::test_map_nested[data_struct6-expected_result6-2-False-add_one] [gw20] [ 84%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[2] tests/features/test_audio.py::test_dataset_cast_to_audio_features[2] tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[2-True-skip] tests/test_py_utils.py::test_map_nested_num_proc[2-3-1] [gw122] [ 84%] PASSED tests/test_py_utils.py::test_map_nested_num_proc[17-16-16] [gw35] [ 84%] PASSED tests/test_py_utils.py::test_map_nested_num_proc[2-3-1] tests/test_py_utils.py::test_map_nested_num_proc[1-None-1] tests/test_py_utils.py::test_map_nested_num_proc[16-16-16] [gw63] [ 84%] PASSED tests/test_py_utils.py::test_map_nested_num_proc[16-16-16] [gw43] [ 84%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_skip_or_take_after_split_by_node[2-True-skip] [gw60] [ 84%] PASSED tests/test_py_utils.py::test_map_nested_num_proc[1-None-1] tests/test_py_utils.py::test_flatten[data5-expected_output5] tests/test_py_utils.py::test_map_nested_num_proc[16-17-16] [gw30] [ 84%] PASSED tests/test_py_utils.py::test_map_nested_num_proc[16-17-16] tests/test_py_utils.py::test_string_to_dict tests/test_py_utils.py::test_nested_data_structure_data[input_data0] tests/test_py_utils.py::test_flatten[data6-expected_output6] [gw17] [ 84%] PASSED tests/test_py_utils.py::test_flatten[data5-expected_output5] tests/test_py_utils.py::test_flatten[data17-expected_output17] tests/test_py_utils.py::test_flatten[data12-expected_output12] [gw114] [ 84%] PASSED tests/test_py_utils.py::test_flatten[data17-expected_output17] [gw111] [ 84%] PASSED tests/test_py_utils.py::test_nested_data_structure_data[input_data0] tests/test_search.py::IndexableDatasetTest::test_add_faiss_index_errors [gw94] [ 84%] PASSED tests/test_py_utils.py::test_flatten[data12-expected_output12] [gw90] [ 84%] PASSED tests/test_py_utils.py::test_string_to_dict tests/test_py_utils.py::test_flatten[data16-expected_output16] [gw41] [ 84%] PASSED tests/test_py_utils.py::test_flatten[data16-expected_output16] [gw103] [ 84%] PASSED tests/test_py_utils.py::test_flatten[data6-expected_output6] [gw48] [ 84%] SKIPPED tests/test_search.py::IndexableDatasetTest::test_add_faiss_index_errors [gw56] [ 84%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_push_to_hub_max_shard_size_respects_num_proc_floor [gw7] [ 84%] FAILED tests/features/test_audio.py::test_dataset_concatenate_nested_audio_features tests/test_py_utils.py::test_asdict tests/test_search.py::FaissIndexTest::test_custom [gw19] [ 84%] SKIPPED tests/test_search.py::FaissIndexTest::test_custom tests/test_search.py::IndexableDatasetTest::test_add_faiss_index [gw120] [ 85%] PASSED tests/test_py_utils.py::test_asdict tests/test_py_utils.py::test_iflatmap_unordered tests/test_py_utils.py::test_flatten[data0-expected_output0] tests/test_py_utils.py::test_flatten[data8-expected_output8] [gw15] [ 85%] SKIPPED tests/test_search.py::IndexableDatasetTest::test_add_faiss_index [gw39] [ 85%] PASSED tests/test_py_utils.py::test_flatten[data0-expected_output0] tests/test_py_utils.py::test_flatten[data14-expected_output14] tests/test_py_utils.py::test_map_nested_num_proc[2-None-1] tests/test_search.py::IndexableDatasetTest::test_add_faiss_index_from_external_arrays [gw67] [ 85%] PASSED tests/test_py_utils.py::test_flatten[data8-expected_output8] tests/test_py_utils.py::test_flatten[foo-expected_output2] [gw36] [ 85%] PASSED tests/test_py_utils.py::test_flatten[data14-expected_output14] tests/test_search.py::FaissIndexTest::test_factory [gw85] [ 85%] SKIPPED tests/test_search.py::FaissIndexTest::test_factory tests/test_py_utils.py::test_flatten[data10-expected_output10] [gw5] [ 85%] PASSED tests/test_py_utils.py::test_flatten[data10-expected_output10] tests/test_py_utils.py::test_map_nested[data_struct7-expected_result7-None-True-add_one_to_batch] tests/test_search.py::IndexableDatasetTest::test_serialization [gw109] [ 85%] SKIPPED tests/test_search.py::IndexableDatasetTest::test_serialization [gw83] [ 85%] PASSED tests/test_py_utils.py::test_map_nested[data_struct7-expected_result7-None-True-add_one_to_batch] [gw80] [ 85%] SKIPPED tests/test_search.py::IndexableDatasetTest::test_add_faiss_index_from_external_arrays [gw76] [ 85%] PASSED tests/test_py_utils.py::test_flatten[foo-expected_output2] tests/test_py_utils.py::test_flatten[data3-expected_output3] tests/test_sharding_utils.py::test_split_gen_kwargs[gen_kwargs1-1-expected1] [gw96] [ 85%] PASSED tests/test_sharding_utils.py::test_split_gen_kwargs[gen_kwargs1-1-expected1] [gw40] [ 85%] PASSED tests/test_py_utils.py::test_map_nested_num_proc[2-None-1] [gw53] [ 85%] PASSED tests/test_py_utils.py::test_flatten[data3-expected_output3] tests/features/test_audio.py::test_formatted_dataset_with_audio_feature_undecoded tests/features/test_audio.py::test_dataset_with_audio_feature_map_is_not_decoded tests/test_search.py::FaissIndexTest::test_serialization [gw84] [ 85%] SKIPPED tests/test_search.py::FaissIndexTest::test_serialization tests/test_search.py::test_serialization_fs tests/test_sharding_utils.py::test_distribute_shards[kwargs0-expected0] tests/test_sharding_utils.py::test_distribute_shards[kwargs1-expected1] tests/test_py_utils.py::test_map_nested[data_struct6-expected_result6-None-True-add_one_to_batch] tests/test_sharding_utils.py::test_distribute_shards[kwargs2-expected2] tests/test_sharding_utils.py::test_distribute_shards[kwargs4-expected4] tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs2-4] tests/test_sharding_utils.py::test_split_gen_kwargs[gen_kwargs3-4-expected3] [gw106] [ 85%] PASSED tests/test_sharding_utils.py::test_distribute_shards[kwargs2-expected2] [gw100] [ 85%] PASSED tests/test_sharding_utils.py::test_distribute_shards[kwargs1-expected1] [gw26] [ 85%] PASSED tests/test_sharding_utils.py::test_distribute_shards[kwargs0-expected0] tests/test_search.py::ElasticSearchIndexTest::test_elasticsearch [gw121] [ 85%] PASSED tests/test_sharding_utils.py::test_distribute_shards[kwargs4-expected4] [gw25] [ 85%] SKIPPED tests/test_search.py::test_serialization_fs [gw113] [ 85%] SKIPPED tests/test_search.py::ElasticSearchIndexTest::test_elasticsearch tests/test_search.py::FaissIndexTest::test_flat_ip [gw23] [ 85%] PASSED tests/test_py_utils.py::test_map_nested[data_struct6-expected_result6-None-True-add_one_to_batch] [gw72] [ 85%] PASSED tests/test_sharding_utils.py::test_split_gen_kwargs[gen_kwargs3-4-expected3] [gw126] [ 85%] PASSED tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs2-4] [gw28] [ 85%] SKIPPED tests/test_search.py::FaissIndexTest::test_flat_ip tests/test_sharding_utils.py::test_distribute_shards[kwargs3-expected3] tests/test_sharding_utils.py::test_split_gen_kwargs[gen_kwargs2-4-expected2] tests/test_sharding_utils.py::test_distribute_shards[kwargs5-expected5] tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs5-RuntimeError] [gw87] [ 85%] PASSED tests/test_sharding_utils.py::test_split_gen_kwargs[gen_kwargs2-4-expected2] [gw124] [ 85%] PASSED tests/test_sharding_utils.py::test_distribute_shards[kwargs3-expected3] tests/test_splits.py::test_split_dict_to_yaml_list[split_dict1] tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs4-4] [gw0] [ 85%] PASSED tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs4-4] tests/test_sharding_utils.py::test_split_gen_kwargs[gen_kwargs0-10-expected0] [gw69] [ 85%] PASSED tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs5-RuntimeError] tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs3-4] [gw61] [ 85%] PASSED tests/test_sharding_utils.py::test_distribute_shards[kwargs5-expected5] [gw79] [ 85%] PASSED tests/test_splits.py::test_split_dict_to_yaml_list[split_dict1] tests/test_splits.py::test_split_dict_asdict_has_dataset_name[split_info2] tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_throws[https://foo.bar/train.tgz] [gw32] [ 86%] PASSED tests/test_sharding_utils.py::test_split_gen_kwargs[gen_kwargs0-10-expected0] tests/test_sharding_utils.py::test_split_gen_kwargs[gen_kwargs4-2-expected4] [gw74] [ 86%] PASSED tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs3-4] [gw77] [ 86%] PASSED tests/test_splits.py::test_split_dict_asdict_has_dataset_name[split_info2] tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_dummy_path [gw6] [ 86%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column[3] [gw68] [ 86%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_throws[https://foo.bar/train.tgz] tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs0-1] [gw66] [ 86%] PASSED tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs0-1] [gw93] [ 86%] PASSED tests/test_sharding_utils.py::test_split_gen_kwargs[gen_kwargs4-2-expected4] tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_dummy_url tests/test_splits.py::test_named_split_inequality [gw70] [ 86%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_dummy_path tests/test_splits.py::test_split_dict_to_yaml_list[split_dict3] [gw123] [ 86%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_dummy_url tests/test_py_utils.py::TempSeedTest::test_torch tests/test_splits.py::test_split_dict_to_yaml_list[split_dict2] tests/test_py_utils.py::TempSeedTest::test_tensorflow tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_throws[https://foo.bar/train.tar.gz] [gw22] [ 86%] PASSED tests/features/test_audio.py::test_formatted_dataset_with_audio_feature_undecoded tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_throws[zip://train-00000.tar.gz::https://foo.bar/data.zip] [gw8] [ 86%] PASSED tests/test_splits.py::test_named_split_inequality tests/test_splits.py::test_split_dict_asdict_has_dataset_name[split_info0] tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_all_supported_single_file_compression_types[GzipFileSystem] tests/test_py_utils.py::test_map_nested[data_struct8-expected_result8-None-True-add_one_to_batch] tests/test_splits.py::test_split_dict_to_yaml_list[split_dict0] [gw27] [ 86%] PASSED tests/test_splits.py::test_split_dict_to_yaml_list[split_dict2] tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[tf] [gw86] [ 86%] SKIPPED tests/test_py_utils.py::TempSeedTest::test_tensorflow [gw82] [ 86%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_throws[https://foo.bar/train.tar.gz] [gw52] [ 86%] PASSED tests/test_splits.py::test_split_dict_to_yaml_list[split_dict3] [gw51] [ 86%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract [gw29] [ 86%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_throws[zip://train-00000.tar.gz::https://foo.bar/data.zip] [gw118] [ 86%] PASSED tests/test_splits.py::test_split_dict_asdict_has_dataset_name[split_info0] tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_all_supported_single_file_compression_types[ZstdFileSystem] [gw107] [ 86%] PASSED tests/test_splits.py::test_split_dict_to_yaml_list[split_dict0] [gw78] [ 86%] PASSED tests/test_py_utils.py::test_map_nested[data_struct8-expected_result8-None-True-add_one_to_batch] [gw50] [ 86%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_all_supported_single_file_compression_types[GzipFileSystem] [gw24] [ 86%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[tf] [gw55] [ 86%] PASSED tests/test_py_utils.py::TempSeedTest::test_torch tests/test_streaming_download_manager.py::test_streaming_gg_drive_no_extract [gw64] [ 86%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_all_supported_single_file_compression_types[ZstdFileSystem] [gw98] [ 86%] SKIPPED tests/test_streaming_download_manager.py::test_streaming_gg_drive_no_extract tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_all_supported_single_file_compression_types[Lz4FileSystem] tests/test_table.py::test_table_validate tests/test_streaming_download_manager.py::test_iter_archive_file[tar_nested_jsonl_path] tests/test_search.py::IndexableDatasetTest::test_add_elasticsearch_index [gw12] [ 86%] SKIPPED tests/test_search.py::IndexableDatasetTest::test_add_elasticsearch_index tests/test_streaming_download_manager.py::test_iter_archive_path[tar_jsonl_path] tests/test_streaming_download_manager.py::test_streaming_gg_drive_gzipped [gw14] [ 86%] SKIPPED tests/test_streaming_download_manager.py::test_streaming_gg_drive_gzipped tests/test_streaming_download_manager.py::test_streaming_gg_drive_zipped [gw125] [ 86%] SKIPPED tests/test_streaming_download_manager.py::test_streaming_gg_drive_zipped tests/test_table.py::test_memory_mapped_arrow_table_from_file tests/test_table.py::test_in_memory_arrow_table_from_file tests/test_table.py::test_in_memory_arrow_table_from_buffer tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_throws[https://foo.bar/train.tar] [gw46] [ 86%] SKIPPED tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_all_supported_single_file_compression_types[Lz4FileSystem] tests/test_table.py::test_table_field tests/test_streaming_download_manager.py::test_iter_archive_file[zip_nested_jsonl_path] tests/test_streaming_download_manager.py::test_iter_files [gw88] [ 86%] PASSED tests/test_streaming_download_manager.py::test_iter_archive_file[tar_nested_jsonl_path] [gw3] [ 87%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_throws[https://foo.bar/train.tar] [gw114] [ 87%] PASSED tests/test_table.py::test_table_field [gw63] [ 87%] PASSED tests/test_streaming_download_manager.py::test_iter_files tests/test_table.py::test_table_init [gw35] [ 87%] PASSED tests/test_table.py::test_table_validate tests/test_table.py::test_table_equals [gw60] [ 87%] PASSED tests/test_streaming_download_manager.py::test_iter_archive_path[tar_jsonl_path] [gw42] [ 87%] PASSED tests/test_streaming_download_manager.py::test_iter_archive_file[zip_nested_jsonl_path] [gw7] [ 87%] PASSED tests/features/test_audio.py::test_dataset_with_audio_feature_map_is_not_decoded tests/test_table.py::test_table_column tests/test_table.py::test_table_attributes[nbytes] tests/test_table.py::test_table_attributes[schema] tests/test_table.py::test_table_itercolumns tests/test_table.py::test_table_to_string tests/test_table.py::test_table_to_batches [gw94] [ 87%] PASSED tests/test_table.py::test_table_to_batches tests/test_table.py::test_table_to_pydict [gw111] [ 87%] PASSED tests/test_table.py::test_table_column tests/test_table.py::test_in_memory_table_from_batches tests/test_iterable_dataset.py::test_concatenate_datasets_with_different_columns [gw17] [ 87%] PASSED tests/test_table.py::test_table_equals tests/test_table.py::test_in_memory_table_from_file tests/test_table.py::test_in_memory_table_from_pydict [gw30] [ 87%] PASSED tests/test_table.py::test_table_init [gw103] [ 87%] PASSED tests/test_table.py::test_table_to_string tests/test_table.py::test_table_attributes[num_rows] [gw41] [ 87%] PASSED tests/test_table.py::test_table_attributes[schema] tests/test_table.py::test_table_len tests/test_table.py::test_table_attributes[columns] tests/test_table.py::test_in_memory_table_pickle_big_table [gw9] [ 87%] RERUN tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature_mp3 [gw48] [ 87%] PASSED tests/test_table.py::test_table_len tests/test_table.py::test_table_attributes[num_columns] tests/test_table.py::test_table_str tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature_mp3 [gw96] [ 87%] SKIPPED tests/test_table.py::test_in_memory_table_pickle_big_table tests/test_table.py::test_in_memory_table_from_buffer [gw90] [ 87%] PASSED tests/test_table.py::test_table_itercolumns tests/test_table.py::test_in_memory_table_from_pandas [gw19] [ 87%] PASSED tests/test_table.py::test_table_attributes[nbytes] tests/test_table.py::test_table_attributes[column_names] tests/test_table.py::test_in_memory_table_from_pylist tests/test_table.py::test_in_memory_table_deepcopy tests/test_table.py::test_in_memory_table_pickle tests/test_table.py::test_table_attributes[shape] [gw39] [ 87%] PASSED tests/test_table.py::test_table_to_pydict tests/test_table.py::test_in_memory_table_flatten tests/test_table.py::test_in_memory_table_cast tests/test_table.py::test_in_memory_table_cast_reorder_struct tests/test_table.py::test_in_memory_table_add_column tests/test_table.py::test_in_memory_table_filter tests/test_table.py::test_in_memory_table_set_column [gw56] [ 87%] PASSED tests/test_iterable_dataset.py::test_concatenate_datasets_with_different_columns [gw121] [ 87%] PASSED tests/test_table.py::test_in_memory_table_cast_reorder_struct tests/test_table.py::test_in_memory_table_slice tests/test_table.py::test_in_memory_table_remove_column [gw109] [ 87%] PASSED tests/test_table.py::test_in_memory_table_from_batches [gw116] [ 87%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_filter_resume_state_dict[False-1500] [gw5] [ 87%] PASSED tests/test_table.py::test_table_attributes[columns] tests/test_table.py::test_in_memory_table_combine_chunks [gw59] [ 87%] PASSED tests/test_file_utils.py::test_xgetsize_private [gw83] [ 87%] PASSED tests/test_table.py::test_table_attributes[num_columns] [gw106] [ 87%] PASSED tests/test_table.py::test_in_memory_table_slice tests/test_table.py::test_in_memory_table_cast_with_hf_features [gw104] [ 87%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column[1] tests/test_table.py::test_in_memory_table_drop tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-9-tables1] [gw84] [ 87%] PASSED tests/test_table.py::test_in_memory_table_pickle [gw26] [ 87%] PASSED tests/test_table.py::test_in_memory_table_flatten [gw23] [ 87%] PASSED tests/test_table.py::test_in_memory_table_add_column [gw15] [ 87%] PASSED tests/test_table.py::test_table_str [gw59] [ 88%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-9-tables1] tests/test_table.py::test_memory_mapped_table_init [gw124] [ 88%] PASSED tests/test_table.py::test_in_memory_table_cast_with_hf_features [gw72] [ 88%] PASSED tests/test_table.py::test_in_memory_table_remove_column [gw36] [ 88%] PASSED tests/test_table.py::test_table_attributes[num_rows] tests/test_table.py::test_memory_mapped_table_combine_chunks tests/test_table.py::test_memory_mapped_table_pickle_doesnt_fill_memory tests/test_table.py::test_in_memory_table_append_column tests/test_table.py::test_in_memory_table_rename_columns tests/test_table.py::test_memory_mapped_table_flatten tests/test_table.py::test_memory_mapped_table_pickle_applies_replay tests/test_table.py::test_in_memory_table_replace_schema_metadata [gw25] [ 88%] PASSED tests/test_table.py::test_in_memory_table_cast [gw113] [ 88%] PASSED tests/test_table.py::test_in_memory_table_filter tests/test_table.py::test_memory_mapped_table_drop tests/test_py_utils.py::test_flatten[data4-expected_output4] [gw6] [ 88%] PASSED tests/test_py_utils.py::test_flatten[data4-expected_output4] [gw28] [ 88%] PASSED tests/test_table.py::test_in_memory_table_combine_chunks tests/test_table.py::test_memory_mapped_table_from_file_with_replay tests/test_table.py::test_memory_mapped_table_from_file [gw0] [ 88%] PASSED tests/test_table.py::test_in_memory_table_drop [gw40] [ 88%] PASSED tests/test_table.py::test_in_memory_table_from_pylist [gw122] [ 88%] PASSED tests/test_table.py::test_in_memory_arrow_table_from_file tests/test_table.py::test_memory_mapped_table_remove_column tests/test_table.py::test_memory_mapped_table_replace_schema_metadata [gw85] [ 88%] PASSED tests/test_table.py::test_table_attributes[column_names] [gw76] [ 88%] PASSED tests/test_table.py::test_table_attributes[shape] [gw100] [ 88%] PASSED tests/test_table.py::test_in_memory_table_deepcopy [gw95] [ 88%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column[2] [gw126] [ 88%] PASSED tests/test_table.py::test_in_memory_table_set_column [gw87] [ 88%] PASSED tests/test_table.py::test_in_memory_table_append_column tests/test_table.py::test_memory_mapped_table_filter tests/test_table.py::test_memory_mapped_table_cast tests/test_table.py::test_memory_mapped_table_pickle tests/test_table.py::test_in_memory_table_from_arrays tests/test_table.py::test_concatenation_table_init[memory_mapped] tests/test_table.py::test_memory_mapped_table_rename_columns [gw61] [ 88%] PASSED tests/test_table.py::test_in_memory_table_replace_schema_metadata tests/test_table.py::test_memory_mapped_table_deepcopy tests/test_table.py::test_memory_mapped_table_slice tests/test_table.py::test_concatenation_table_from_blocks_doesnt_increase_memory[in_memory] tests/test_table.py::test_concatenation_table_deepcopy[memory_mapped] [gw74] [ 88%] PASSED tests/test_table.py::test_in_memory_table_rename_columns tests/test_table.py::test_concatenation_table_pickle[memory_mapped] tests/test_table.py::test_concatenation_table_slice_mixed_schemas_vertically tests/test_table.py::test_concatenation_table_from_blocks_doesnt_increase_memory[mixed] tests/test_table.py::test_concatenation_table_deepcopy[in_memory] tests/test_table.py::test_concatenation_table_init[mixed] tests/test_table.py::test_memory_mapped_table_append_column [gw35] [ 88%] PASSED tests/test_table.py::test_concatenation_table_pickle[memory_mapped] [gw22] [ 88%] PASSED tests/test_table.py::test_in_memory_table_from_arrays tests/test_table.py::test_memory_mapped_table_set_column tests/test_table.py::test_concatenation_table_from_tables[1] tests/test_table.py::test_memory_mapped_table_add_column tests/test_table.py::test_concatenation_table_slice[memory_mapped] [gw114] [ 88%] PASSED tests/test_table.py::test_concatenation_table_slice_mixed_schemas_vertically tests/test_table.py::test_concatenation_table_from_blocks_doesnt_increase_memory[memory_mapped] tests/test_table.py::test_concatenation_table_init[in_memory] tests/test_table.py::test_concatenation_table_from_tables[0] tests/test_table.py::test_concat_tables_with_features_metadata tests/test_table.py::test_concatenation_table_from_blocks [gw50] [ 88%] PASSED tests/test_table.py::test_concatenation_table_init[memory_mapped] tests/features/test_audio.py::test_dataset_with_audio_feature_map_is_decoded tests/test_table.py::test_concatenation_table_from_tables_axis1_misaligned_blocks tests/test_table.py::test_concatenation_table_slice[in_memory] tests/test_table.py::test_concatenation_table_flatten[mixed] tests/test_table.py::test_concatenation_table_filter[in_memory] [gw30] [ 88%] PASSED tests/test_table.py::test_concatenation_table_slice[in_memory] [gw52] [ 88%] PASSED tests/test_table.py::test_memory_mapped_table_pickle tests/test_table.py::test_concatenation_table_slice[mixed] [gw14] [ 88%] PASSED tests/test_table.py::test_concatenation_table_deepcopy[in_memory] tests/test_table.py::test_concatenation_table_add_column[memory_mapped] tests/test_table.py::test_concatenation_table_filter[mixed] tests/test_table.py::test_concatenation_table_filter[memory_mapped] [gw94] [ 88%] PASSED tests/test_table.py::test_concatenation_table_filter[in_memory] tests/test_table.py::test_concatenation_table_flatten[in_memory] [gw17] [ 88%] PASSED tests/test_table.py::test_concatenation_table_slice[mixed] [gw55] [ 88%] PASSED tests/test_table.py::test_memory_mapped_table_deepcopy [gw90] [ 88%] PASSED tests/test_table.py::test_concatenation_table_filter[memory_mapped] [gw63] [ 88%] PASSED tests/test_table.py::test_concatenation_table_slice[memory_mapped] [gw125] [ 89%] PASSED tests/test_table.py::test_concatenation_table_deepcopy[memory_mapped] [gw24] [ 89%] PASSED tests/test_table.py::test_concatenation_table_init[in_memory] tests/test_table.py::test_concatenation_table_combine_chunks[memory_mapped] [gw29] [ 89%] PASSED tests/test_table.py::test_concatenation_table_init[mixed] [gw103] [ 89%] PASSED tests/test_table.py::test_concatenation_table_flatten[in_memory] tests/test_table.py::test_concatenation_table_cast[memory_mapped] [gw111] [ 89%] PASSED tests/test_table.py::test_concatenation_table_flatten[mixed] tests/test_table.py::test_concatenation_table_combine_chunks[in_memory] tests/test_table.py::test_concatenation_table_remove_column[mixed] tests/test_table.py::test_concatenation_table_replace_schema_metadata[in_memory] [gw41] [ 89%] PASSED tests/test_table.py::test_concatenation_table_filter[mixed] tests/test_table.py::test_concatenation_table_flatten[memory_mapped] tests/test_table.py::test_concatenation_table_replace_schema_metadata[mixed] tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs1-1] tests/test_table.py::test_concat_tables_cast_with_features_metadata[memory_mapped] [gw19] [ 89%] PASSED tests/test_table.py::test_concatenation_table_combine_chunks[memory_mapped] [gw80] [ 89%] PASSED tests/test_table.py::test_in_memory_table_from_buffer tests/test_py_utils.py::test_flatten[data15-expected_output15] tests/test_table.py::test_concatenation_table_set_column[mixed] [gw96] [ 89%] PASSED tests/test_table.py::test_concatenation_table_add_column[memory_mapped] tests/test_table.py::test_concatenation_table_append_column[memory_mapped] [gw109] [ 89%] PASSED tests/test_table.py::test_concatenation_table_replace_schema_metadata[in_memory] [gw116] [ 89%] PASSED tests/test_sharding_utils.py::test_number_of_shards_in_gen_kwargs[gen_kwargs1-1] [gw23] [ 89%] PASSED tests/test_table.py::test_concatenation_table_set_column[mixed] tests/test_table.py::test_concatenation_table_remove_column[memory_mapped] [gw26] [ 89%] PASSED tests/test_table.py::test_concatenation_table_remove_column[memory_mapped] [gw39] [ 89%] PASSED tests/test_table.py::test_concatenation_table_cast[memory_mapped] [gw84] [ 89%] PASSED tests/test_table.py::test_concatenation_table_append_column[memory_mapped] [gw83] [ 89%] PASSED tests/test_table.py::test_concatenation_table_replace_schema_metadata[mixed] [gw91] [ 89%] FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-False] [gw104] [ 89%] PASSED tests/test_py_utils.py::test_flatten[data15-expected_output15] [gw121] [ 89%] PASSED tests/test_table.py::test_concatenation_table_remove_column[mixed] [gw53] [ 89%] PASSED tests/test_table.py::test_in_memory_table_from_pandas [gw64] [ 89%] PASSED tests/test_table.py::test_concatenation_table_from_blocks [gw12] [ 89%] PASSED tests/test_table.py::test_concatenation_table_from_tables_axis1_misaligned_blocks [gw48] [ 89%] PASSED tests/test_table.py::test_concatenation_table_flatten[memory_mapped] [gw56] [ 89%] PASSED tests/test_table.py::test_concatenation_table_combine_chunks[in_memory] [gw60] [ 89%] PASSED tests/test_table.py::test_concat_tables_with_features_metadata [gw5] [ 89%] PASSED tests/test_table.py::test_concat_tables_cast_with_features_metadata[memory_mapped] tests/test_table.py::test_concatenation_table_rename_columns[memory_mapped] tests/test_table.py::test_concatenation_table_drop[memory_mapped] tests/test_table.py::test_concatenation_table_append_column[mixed] [gw71] [ 89%] PASSED tests/test_table.py::test_in_memory_arrow_table_from_buffer [gw106] [ 89%] PASSED tests/test_table.py::test_concatenation_table_append_column[mixed] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-9-tables2] [gw120] [ 89%] PASSED tests/test_table.py::test_in_memory_table_from_file tests/test_table.py::test_concat_tables_cast_with_features_metadata[in_memory] tests/test_table.py::test_concatenation_table_set_column[memory_mapped] tests/test_table.py::test_concatenation_table_cast[in_memory] tests/test_table.py::test_concatenation_table_set_column[in_memory] [gw113] [ 89%] PASSED tests/test_table.py::test_concatenation_table_set_column[memory_mapped] tests/test_table.py::test_concatenation_table_drop[mixed] tests/test_table.py::test_interpolation_search[arr5-4] [gw59] [ 89%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-9-tables2] [gw0] [ 89%] PASSED tests/test_table.py::test_concatenation_table_drop[mixed] tests/test_table.py::test_concatenation_table_rename_columns[mixed] [gw10] [ 90%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column[7] [gw25] [ 90%] PASSED tests/test_table.py::test_concatenation_table_set_column[in_memory] [gw28] [ 90%] PASSED tests/test_table.py::test_concatenation_table_rename_columns[mixed] [gw36] [ 90%] PASSED tests/test_table.py::test_concat_tables_cast_with_features_metadata[in_memory] [gw6] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr5-4] tests/test_table.py::test_concatenation_table_append_column[in_memory] [gw20] [ 90%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[2] tests/test_table.py::test_concatenation_table_remove_column[in_memory] tests/test_table.py::test_concatenation_table_rename_columns[in_memory] [gw15] [ 90%] PASSED tests/test_table.py::test_concatenation_table_cast[in_memory] [gw40] [ 90%] PASSED tests/test_table.py::test_concatenation_table_append_column[in_memory] [gw42] [ 90%] PASSED tests/test_table.py::test_concatenation_table_from_tables[0] [gw100] [ 90%] PASSED tests/test_table.py::test_concatenation_table_remove_column[in_memory] tests/test_table.py::test_concat_tables_cast_with_features_metadata[mixed] [gw72] [ 90%] PASSED tests/test_table.py::test_concatenation_table_rename_columns[memory_mapped] tests/test_py_utils.py::test_flatten[data9-expected_output9] tests/features/test_audio.py::test_dataset_cast_to_audio_features[2] [gw98] [ 90%] PASSED tests/test_table.py::test_concatenation_table_from_blocks_doesnt_increase_memory[in_memory] tests/test_table.py::test_concatenation_table_add_column[in_memory] tests/test_table.py::test_concatenation_table_drop[in_memory] tests/test_table.py::test_concatenation_table_pickle[in_memory] tests/test_table.py::test_interpolation_search[arr36-0] [gw85] [ 90%] PASSED tests/test_table.py::test_concat_tables_cast_with_features_metadata[mixed] [gw95] [ 90%] PASSED tests/test_py_utils.py::test_flatten[data9-expected_output9] [gw122] [ 90%] PASSED tests/test_table.py::test_concatenation_table_pickle[in_memory] [gw126] [ 90%] PASSED tests/test_table.py::test_concatenation_table_rename_columns[in_memory] [gw87] [ 90%] PASSED tests/test_table.py::test_concatenation_table_drop[in_memory] [gw35] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr36-0] [gw43] [ 90%] PASSED tests/test_table.py::test_memory_mapped_arrow_table_from_file tests/test_table.py::test_interpolation_search[arr3-2] [gw46] [ 90%] PASSED tests/test_table.py::test_concatenation_table_from_blocks_doesnt_increase_memory[memory_mapped] [gw76] [ 90%] PASSED tests/test_table.py::test_concatenation_table_add_column[in_memory] tests/test_table.py::test_interpolation_search[arr16-15] tests/test_table.py::test_interpolation_search[arr42-1002] tests/test_table.py::test_interpolation_search[arr1-0] [gw52] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr16-15] tests/test_table.py::test_interpolation_search[arr33-4] [gw74] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr3-2] [gw124] [ 90%] PASSED tests/test_table.py::test_concatenation_table_drop[memory_mapped] tests/test_table.py::test_interpolation_search[arr22-21] tests/test_table.py::test_interpolation_search[arr28--1] tests/test_table.py::test_interpolation_search[arr39-999] [gw61] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr1-0] tests/test_table.py::test_interpolation_search[arr24--5] [gw55] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr24--5] [gw114] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr33-4] [gw14] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr28--1] tests/test_table.py::test_interpolation_search[arr40-1000] tests/test_table.py::test_interpolation_search[arr47-1] tests/test_table.py::test_interpolation_search[arr11-10] tests/test_table.py::test_interpolation_search[arr34-5] tests/test_table.py::test_interpolation_search[arr41-1001] tests/test_table.py::test_interpolation_search[arr18-17] tests/test_table.py::test_interpolation_search[arr30-1] [gw50] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr22-21] [gw94] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr39-999] tests/test_table.py::test_interpolation_search[arr23--6] tests/test_table.py::test_interpolation_search[arr43-1003] [gw90] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr47-1] [gw17] [ 90%] PASSED tests/test_table.py::test_interpolation_search[arr40-1000] tests/test_table.py::test_interpolation_search[arr44-1004] [gw82] [ 91%] PASSED tests/test_table.py::test_memory_mapped_table_filter [gw22] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr11-10] [gw63] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr34-5] [gw111] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr41-1001] [gw29] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr18-17] [gw125] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr30-1] [gw103] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr43-1003] [gw24] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr23--6] [gw123] [ 91%] PASSED tests/test_table.py::test_memory_mapped_table_remove_column [gw41] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr44-1004] [gw30] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr42-1002] [gw93] [ 91%] PASSED tests/test_table.py::test_memory_mapped_table_init [gw86] [ 91%] PASSED tests/test_table.py::test_memory_mapped_table_cast [gw88] [ 91%] PASSED tests/test_table.py::test_concatenation_table_from_tables[1] [gw77] [ 91%] PASSED tests/test_table.py::test_memory_mapped_table_combine_chunks tests/test_table.py::test_concatenation_table_replace_schema_metadata[memory_mapped] tests/test_table.py::test_interpolation_search[arr51-1000] tests/test_table.py::test_interpolation_search[arr46-0] [gw80] [ 91%] PASSED tests/test_table.py::test_concatenation_table_replace_schema_metadata[memory_mapped] tests/test_table.py::test_interpolation_search[arr48-10] [gw51] [ 91%] PASSED tests/test_table.py::test_memory_mapped_table_rename_columns tests/test_table.py::test_interpolation_search[arr52-10001] [gw96] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr46-0] [gw109] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr51-1000] [gw19] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr48-10] [gw116] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr52-10001] [gw45] [ 91%] PASSED tests/test_formatting.py::FormatterTest::test_torch_formatter tests/test_table.py::test_cast_array_to_feature_with_struct_with_missing_fields[array_list1-expected_list1] [gw67] [ 91%] PASSED tests/test_table.py::test_in_memory_table_from_pydict [gw68] [ 91%] PASSED tests/test_table.py::test_memory_mapped_table_flatten tests/test_table.py::test_concatenation_table_add_column[mixed] tests/test_table.py::test_cast_float_array_to_features [gw23] [ 91%] PASSED tests/test_table.py::test_cast_array_to_feature_with_struct_with_missing_fields[array_list1-expected_list1] tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[5--True--1] tests/test_table.py::test_cast_decimal_array_to_features [gw83] [ 91%] PASSED tests/test_table.py::test_cast_float_array_to_features tests/test_table.py::test_cast_array_to_features_nested tests/test_table.py::test_interpolation_search[arr27--2] [gw26] [ 91%] PASSED tests/test_table.py::test_cast_array_to_features_nested tests/test_table.py::test_interpolation_search[arr45--1] tests/test_table.py::test_cast_array_to_feature_with_struct_with_missing_fields[array_list0-expected_list0] [gw53] [ 91%] PASSED tests/test_table.py::test_concatenation_table_add_column[mixed] tests/test_table.py::test_interpolation_search[arr50-999] [gw104] [ 91%] PASSED tests/test_table.py::test_cast_decimal_array_to_features [gw12] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr27--2] tests/test_table.py::test_interpolation_search[arr49-666] [gw48] [ 91%] PASSED tests/test_table.py::test_interpolation_search[arr45--1] tests/test_table.py::test_interpolation_search[arr25--4] [gw64] [ 92%] PASSED tests/test_table.py::test_interpolation_search[arr25--4] [gw84] [ 92%] PASSED tests/test_table.py::test_cast_array_to_feature_with_struct_with_missing_fields[array_list0-expected_list0] tests/test_table.py::test_cast_integer_array_to_features [gw56] [ 92%] PASSED tests/test_table.py::test_interpolation_search[arr50-999] [gw39] [ 92%] PASSED tests/test_table.py::test_interpolation_search[arr49-666] [gw121] [ 92%] PASSED tests/test_table.py::test_cast_integer_array_to_features [gw57] [ 92%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_serialize_in_memory tests/test_table.py::test_interpolation_search[arr35--1] tests/test_table.py::test_concatenation_table_combine_chunks[mixed] tests/test_table.py::test_concatenation_table_deepcopy[mixed] tests/test_table.py::test_cast_boolean_array_to_features tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-None-arr0] tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-slice1-arr0] tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-slice4-arr0] [gw120] [ 92%] PASSED tests/test_table.py::test_concatenation_table_combine_chunks[mixed] tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-slice3-arr0] tests/test_table.py::test_cast_array_to_features_to_nested_with_no_fields [gw106] [ 92%] PASSED tests/test_table.py::test_cast_boolean_array_to_features tests/test_py_utils.py::test_flatten[data11-expected_output11] [gw91] [ 92%] PASSED tests/test_iterable_dataset.py::test_mapped_examples_iterable_arrow_format[5--True--1] [gw113] [ 92%] PASSED tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-None-arr0] tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-slice2-arr0] [gw60] [ 92%] PASSED tests/test_table.py::test_interpolation_search[arr35--1] tests/test_table.py::test_cast_array_to_features_array_xd [gw0] [ 92%] PASSED tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-slice4-arr0] [gw59] [ 92%] PASSED tests/test_table.py::test_cast_array_to_features_to_nested_with_no_fields [gw71] [ 92%] PASSED tests/test_table.py::test_concatenation_table_deepcopy[mixed] [gw28] [ 92%] PASSED tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-slice3-arr0] tests/test_table.py::test_indexed_table_mixin tests/test_table.py::test_cast_array_to_features_sequence_classlabel [gw10] [ 92%] PASSED tests/test_py_utils.py::test_flatten[data11-expected_output11] [gw6] [ 92%] PASSED tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-slice2-arr0] [gw25] [ 92%] PASSED tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-slice1-arr0] [gw36] [ 92%] PASSED tests/test_table.py::test_cast_array_to_features_array_xd [gw5] [ 92%] PASSED tests/test_table.py::test_indexed_table_mixin [gw3] [ 92%] PASSED tests/test_table.py::test_concatenation_table_from_blocks_doesnt_increase_memory[mixed] [gw15] [ 92%] PASSED tests/test_table.py::test_cast_array_to_features_sequence_classlabel [gw66] [ 92%] PASSED tests/test_table.py::test_memory_mapped_table_from_file_with_replay tests/test_table.py::test_interpolation_search[arr37-2] [gw9] [ 92%] FAILED tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature_mp3 [gw42] [ 92%] PASSED tests/test_table.py::test_interpolation_search[arr37-2] tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-slice2-arr0] tests/test_table.py::test_interpolation_search[arr26--3] tests/test_table.py::test_cast_array_to_features_to_null_type [gw98] [ 92%] PASSED tests/test_table.py::test_interpolation_search[arr26--3] tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-slice4-arr0] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-list-string] tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-slice5-arr0] [gw100] [ 92%] PASSED tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-slice2-arr0] tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-slice1-arr0] tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-slice5-arr0] [gw72] [ 92%] PASSED tests/test_table.py::test_cast_array_to_features_to_null_type [gw85] [ 92%] PASSED tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-slice1-arr0] [gw126] [ 92%] PASSED tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-slice5-arr0] [gw95] [ 92%] PASSED tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-slice4-arr0] [gw87] [ 92%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-list-string] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-fixed_size_list-string] [gw35] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-fixed_size_list-string] tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-None-arr0] tests/test_table.py::test_interpolation_search[arr29-0] tests/test_table.py::test_concatenation_table_pickle[mixed] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-fixed_size_list-string] tests/test_table.py::test_cast_array_to_features_nested_with_nulls tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-slice3-arr0] [gw122] [ 93%] PASSED tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-None-arr0] [gw46] [ 93%] PASSED tests/test_table.py::test_interpolation_search[arr29-0] [gw40] [ 93%] PASSED tests/test_table.py::test_cast_fixed_size_list_array_to_features_sequence[target_value_feature0-slice5-arr0] [gw124] [ 93%] PASSED tests/test_table.py::test_cast_array_to_features_nested_with_nulls tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[list-string] [gw8] [ 93%] PASSED tests/test_table.py::test_memory_mapped_table_replace_schema_metadata tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-fixed_size_list-int64] [gw52] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-fixed_size_list-string] [gw76] [ 93%] PASSED tests/test_table.py::test_cast_list_array_to_features_sequence[target_value_feature0-slice3-arr0] [gw43] [ 93%] PASSED tests/test_table.py::test_concatenation_table_pickle[mixed] [gw55] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[list-string] [gw74] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-fixed_size_list-int64] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-fixed_size_list-int64] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-list-int64] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-large_list-int64] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-large_list-string] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-list-string] [gw14] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-fixed_size_list-int64] tests/test_table.py::test_interpolation_search[arr15-14] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[fixed_size_list-int64] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[large_list-int64] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-large_list-int64] tests/test_table.py::test_embed_array_storage tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-large_list-string] tests/test_table.py::test_interpolation_search[arr8-7] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-list-int64] [gw61] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-list-int64] tests/test_table.py::test_cast_array_xd_to_features_sequence tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[fixed_size_list-string] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[large_list-string] [gw17] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-large_list-string] tests/test_table.py::test_interpolation_search[arr14-13] [gw50] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-list-string] tests/test_table.py::test_interpolation_search[arr10-9] [gw79] [ 93%] PASSED tests/test_table.py::test_memory_mapped_table_pickle_applies_replay tests/test_table.py::test_interpolation_search[arr32-3] [gw114] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-large_list-int64] tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[list-int64] tests/test_table.py::test_cast_array_to_feature_with_nullable_large_list_and_new_inner_type [gw69] [ 93%] PASSED tests/test_table.py::test_memory_mapped_table_pickle_doesnt_fill_memory [gw82] [ 93%] PASSED tests/test_table.py::test_interpolation_search[arr15-14] [gw103] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[large_list-int64] [gw90] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[fixed_size_list-int64] [gw94] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-large_list-int64] [gw41] [ 93%] PASSED tests/test_table.py::test_embed_array_storage [gw22] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[False-large_list-string] [gw93] [ 93%] PASSED tests/test_table.py::test_interpolation_search[arr8-7] [gw30] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_sequence_feature[True-list-int64] [gw125] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[fixed_size_list-string] [gw29] [ 93%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[large_list-string] [gw86] [ 93%] PASSED tests/test_table.py::test_interpolation_search[arr14-13] [gw123] [ 93%] PASSED tests/test_table.py::test_interpolation_search[arr10-9] [gw111] [ 94%] PASSED tests/test_table.py::test_cast_array_xd_to_features_sequence [gw88] [ 94%] PASSED tests/test_table.py::test_interpolation_search[arr32-3] [gw24] [ 94%] PASSED tests/test_table.py::test_cast_array_to_feature_with_nullable_large_list_and_new_inner_type [gw63] [ 94%] PASSED tests/test_table.py::test_cast_array_to_feature_with_list_array_and_large_list_feature[list-int64] tests/test_table.py::test_interpolation_search[arr4-3] [gw27] [ 94%] PASSED tests/test_table.py::test_memory_mapped_table_slice [gw107] [ 94%] PASSED tests/test_table.py::test_memory_mapped_table_add_column [gw77] [ 94%] PASSED tests/test_table.py::test_interpolation_search[arr4-3] [gw97] [ 94%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[split-dict-keys1-data] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[index-dict-keys2-None] tests/test_table.py::test_interpolation_search[arr17-16] tests/test_table.py::test_embed_array_storage_nested tests/test_table.py::test_table_iter[False-1-table1] [gw51] [ 94%] PASSED tests/test_table.py::test_interpolation_search[arr17-16] tests/test_table.py::test_embed_array_storage_with_list_types[array1-feature1-is_large_list] tests/test_table.py::test_embed_table_storage tests/test_table.py::test_concatenation_table_cast[mixed] [gw70] [ 94%] PASSED tests/test_table.py::test_memory_mapped_table_drop [gw80] [ 94%] PASSED tests/test_table.py::test_embed_array_storage_nested [gw109] [ 94%] PASSED tests/test_table.py::test_embed_array_storage_with_list_types[array1-feature1-is_large_list] tests/test_table.py::test_interpolation_search[arr6-5] [gw68] [ 94%] PASSED tests/test_table.py::test_interpolation_search[arr6-5] [gw78] [ 94%] PASSED tests/test_table.py::test_memory_mapped_table_set_column tests/test_formatting.py::FormatterTest::test_torch_formatter_audio [gw19] [ 94%] PASSED tests/test_table.py::test_table_iter[False-1-table1] tests/test_table.py::test_embed_array_storage_with_list_types[array0-feature0-is_list] tests/test_table.py::test_table_iter[False-3-table1] [gw67] [ 94%] PASSED tests/test_table.py::test_concatenation_table_cast[mixed] tests/test_table.py::test_table_iter[False-10-table0] tests/test_table.py::test_table_iter[False-1-table0] [gw96] [ 94%] PASSED tests/test_table.py::test_embed_array_storage_with_list_types[array0-feature0-is_list] tests/test_table.py::test_table_iter[False-2-table2] [gw26] [ 94%] PASSED tests/test_table.py::test_table_iter[False-10-table0] tests/test_table.py::test_table_iter[False-9-table1] [gw116] [ 94%] PASSED tests/test_table.py::test_embed_table_storage tests/test_table.py::test_table_iter[False-9-table0] [gw53] [ 94%] PASSED tests/test_table.py::test_table_iter[False-3-table1] [gw23] [ 94%] PASSED tests/test_table.py::test_table_iter[False-1-table0] [gw12] [ 94%] PASSED tests/test_table.py::test_table_iter[False-9-table0] tests/test_table.py::test_table_iter[False-2-table0] [gw104] [ 94%] PASSED tests/test_table.py::test_table_iter[False-2-table2] tests/test_table.py::test_table_iter[False-1-table2] [gw48] [ 94%] PASSED tests/test_table.py::test_table_iter[False-9-table1] [gw84] [ 94%] PASSED tests/test_table.py::test_table_iter[False-1-table2] [gw83] [ 94%] PASSED tests/test_table.py::test_table_iter[False-2-table0] tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_serialize_on_disk tests/test_table.py::test_table_iter[False-3-table0] tests/test_table.py::test_table_iter[False-3-table2] tests/test_table.py::test_table_iter[False-11-table0] tests/test_table.py::test_table_iter[False-20-table0] tests/test_table.py::test_table_iter[False-9-table2] tests/test_table.py::test_table_iter[False-20-table1] tests/test_table.py::test_table_iter[False-11-table2] [gw39] [ 94%] PASSED tests/test_table.py::test_table_iter[False-3-table0] [gw64] [ 94%] PASSED tests/test_table.py::test_table_iter[False-3-table2] tests/test_table.py::test_table_iter[False-2-table1] tests/test_table.py::test_table_iter[True-1-table0] [gw113] [ 94%] PASSED tests/test_table.py::test_table_iter[False-20-table1] [gw121] [ 94%] PASSED tests/test_table.py::test_table_iter[False-11-table0] [gw106] [ 94%] PASSED tests/test_table.py::test_table_iter[False-11-table2] tests/test_table.py::test_table_iter[True-1-table1] tests/test_table.py::test_table_iter[False-11-table1] tests/test_table.py::test_table_iter[True-2-table0] tests/test_table.py::test_table_iter[False-10-table2] tests/test_table.py::test_table_iter[False-20-table2] [gw91] [ 95%] PASSED tests/test_table.py::test_table_iter[False-2-table1] [gw120] [ 95%] PASSED tests/test_table.py::test_table_iter[False-20-table0] tests/test_table.py::test_table_iter[True-1-table2] [gw56] [ 95%] PASSED tests/test_table.py::test_table_iter[False-9-table2] tests/test_table.py::test_table_iter[True-2-table1] [gw10] [ 95%] PASSED tests/test_table.py::test_table_iter[True-1-table1] tests/test_table.py::test_table_iter[True-2-table2] [gw0] [ 95%] PASSED tests/test_table.py::test_table_iter[True-1-table0] [gw60] [ 95%] PASSED tests/test_table.py::test_table_iter[False-10-table2] tests/test_table.py::test_table_iter[False-10-table1] tests/test_table.py::test_interpolation_search[arr31-2] [gw28] [ 95%] PASSED tests/test_table.py::test_table_iter[True-2-table0] [gw6] [ 95%] PASSED tests/test_table.py::test_table_iter[True-2-table2] [gw118] [ 95%] PASSED tests/test_table.py::test_memory_mapped_table_append_column tests/test_table.py::test_table_iter[True-3-table0] [gw25] [ 95%] PASSED tests/test_table.py::test_table_iter[True-1-table2] [gw3] [ 95%] PASSED tests/test_table.py::test_interpolation_search[arr31-2] [gw36] [ 95%] PASSED tests/test_table.py::test_table_iter[True-2-table1] [gw5] [ 95%] PASSED tests/test_table.py::test_table_iter[False-10-table1] [gw15] [ 95%] PASSED tests/test_table.py::test_table_iter[True-3-table0] [gw71] [ 95%] PASSED tests/test_table.py::test_table_iter[False-11-table1] tests/test_table.py::test_table_iter[True-9-table1] tests/test_table.py::test_table_iter[True-3-table1] tests/test_table.py::test_interpolation_search[arr7-6] tests/test_table.py::test_table_iter[True-3-table2] tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature tests/test_table.py::test_table_iter[True-10-table0] tests/test_table.py::test_table_iter[True-9-table0] [gw98] [ 95%] PASSED tests/test_table.py::test_table_iter[True-9-table1] [gw66] [ 95%] PASSED tests/test_table.py::test_interpolation_search[arr7-6] tests/test_table.py::test_table_iter[True-11-table0] [gw42] [ 95%] PASSED tests/test_table.py::test_table_iter[True-3-table1] [gw85] [ 95%] PASSED tests/test_table.py::test_table_iter[True-10-table0] [gw126] [ 95%] PASSED tests/test_table.py::test_table_iter[True-11-table0] tests/test_table.py::test_table_iter[True-11-table1] tests/test_table.py::test_interpolation_search[arr12-11] [gw100] [ 95%] PASSED tests/test_table.py::test_table_iter[True-3-table2] tests/test_table.py::test_table_iter[True-11-table2] tests/test_table.py::test_array_cast[list-large_list] tests/test_table.py::test_table_iter[True-9-table2] [gw72] [ 95%] PASSED tests/test_table.py::test_table_iter[True-9-table0] tests/test_table.py::test_table_iter[True-20-table0] [gw35] [ 95%] PASSED tests/test_table.py::test_table_iter[True-11-table2] tests/test_table.py::test_table_iter[True-10-table2] [gw46] [ 95%] PASSED tests/test_table.py::test_table_iter[True-20-table0] [gw124] [ 95%] PASSED tests/test_table.py::test_array_cast[list-large_list] tests/test_table.py::test_table_iter[True-10-table1] tests/test_table.py::test_table_iter[True-20-table2] tests/test_table.py::test_array_cast[list-list] tests/test_table.py::test_table_iter[True-20-table1] [gw122] [ 95%] PASSED tests/test_table.py::test_table_iter[True-10-table2] [gw74] [ 95%] PASSED tests/test_table.py::test_array_cast[list-list] [gw40] [ 95%] PASSED tests/test_table.py::test_table_iter[True-9-table2] tests/test_table.py::test_array_cast[fixed_size_list-list] tests/test_table.py::test_array_cast[list-fixed_size_list] [gw95] [ 95%] PASSED tests/test_table.py::test_table_iter[True-10-table1] [gw87] [ 95%] PASSED tests/test_table.py::test_table_iter[True-11-table1] [gw20] [ 95%] FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[2] [gw76] [ 95%] PASSED tests/test_table.py::test_table_iter[True-20-table1] [gw52] [ 96%] PASSED tests/test_table.py::test_table_iter[True-20-table2] [gw43] [ 96%] PASSED tests/test_table.py::test_array_cast[list-fixed_size_list] [gw8] [ 96%] PASSED tests/test_table.py::test_interpolation_search[arr12-11] tests/features/test_audio.py::test_dataset_cast_to_audio_features[3] tests/test_table.py::test_array_cast[large_list-list] [gw55] [ 96%] PASSED tests/test_table.py::test_array_cast[fixed_size_list-list] tests/test_tqdm.py::TestTqdmUtils::test_cannot_disable_tqdm_when_env_variable_is_set [gw14] [ 96%] PASSED tests/test_table.py::test_array_cast[large_list-list] tests/test_table.py::test_array_cast[fixed_size_list-fixed_size_list] tests/test_table.py::test_interpolation_search[arr0--1] tests/test_table.py::test_concat_tables tests/test_table.py::test_array_cast[fixed_size_list-large_list] tests/test_tqdm.py::TestTqdmUtils::test_cannot_enable_tqdm_when_env_variable_is_set tests/test_version.py::test_version_equality_and_hash[other0-True] tests/test_table.py::test_cast_table_to_schema_with_missing_fields tests/test_table.py::test_array_cast[large_list-fixed_size_list] [gw17] [ 96%] PASSED tests/test_tqdm.py::TestTqdmUtils::test_cannot_disable_tqdm_when_env_variable_is_set tests/test_version.py::test_version_equality_and_hash[a-False] [gw61] [ 96%] PASSED tests/test_table.py::test_array_cast[fixed_size_list-fixed_size_list] [gw79] [ 96%] PASSED tests/test_table.py::test_interpolation_search[arr0--1] tests/test_tqdm.py::TestTqdmUtils::test_tqdm_enabled tests/test_version.py::test_version_equality_and_hash[2.0.0-False] [gw32] [ 96%] PASSED tests/test_table.py::test_memory_mapped_table_from_file [gw103] [ 96%] PASSED tests/test_version.py::test_version_equality_and_hash[other0-True] tests/test_version.py::test_version_equality_and_hash[1-False0] [gw50] [ 96%] PASSED tests/test_table.py::test_array_cast[large_list-fixed_size_list] [gw41] [ 96%] PASSED tests/test_version.py::test_version_equality_and_hash[2.0.0-False] [gw93] [ 96%] PASSED tests/test_version.py::test_version_equality_and_hash[a-False] tests/test_tqdm.py::TestTqdmUtils::test_tqdm_can_be_disabled_when_globally_enabled [gw90] [ 96%] PASSED tests/test_table.py::test_cast_table_to_schema_with_missing_fields tests/test_table.py::test_array_cast[large_list-large_list] tests/test_table.py::test_interpolation_search[arr13-12] tests/test_version.py::test_version_equality_and_hash[other2-False] tests/test_version.py::test_version_equality_and_hash[1.0.0-True] tests/test_version.py::test_version_equality_and_hash[1-False1] [gw59] [ 96%] PASSED tests/test_table.py::test_table_iter[False-20-table2] [gw86] [ 96%] PASSED tests/test_version.py::test_version_equality_and_hash[1-False1] tests/test_version.py::test_version_equality_and_hash[None-False] tests/test_tqdm.py::TestTqdmUtils::test_tqdm_disabled_cannot_be_forced [gw29] [ 96%] PASSED tests/test_tqdm.py::TestTqdmUtils::test_tqdm_enabled tests/test_tqdm.py::TestTqdmUtils::test_tqdm_helpers [gw69] [ 96%] PASSED tests/test_table.py::test_concat_tables [gw82] [ 96%] PASSED tests/test_tqdm.py::TestTqdmUtils::test_cannot_enable_tqdm_when_env_variable_is_set [gw30] [ 96%] PASSED tests/test_version.py::test_version_equality_and_hash[1-False0] [gw27] [ 96%] PASSED tests/test_table.py::test_interpolation_search[arr13-12] tests/test_table.py::test_interpolation_search[arr21-20] [gw22] [ 96%] PASSED tests/test_tqdm.py::TestTqdmUtils::test_tqdm_can_be_disabled_when_globally_enabled [gw123] [ 96%] PASSED tests/test_version.py::test_version_equality_and_hash[other2-False] [gw24] [ 96%] PASSED tests/test_version.py::test_version_equality_and_hash[1.0.0-True] [gw88] [ 96%] PASSED tests/test_version.py::test_version_equality_and_hash[None-False] [gw114] [ 96%] PASSED tests/test_table.py::test_array_cast[fixed_size_list-large_list] [gw78] [ 96%] PASSED tests/test_table.py::test_interpolation_search[arr21-20] tests/test_table.py::test_interpolation_search[arr20-19] [gw94] [ 96%] PASSED tests/test_table.py::test_array_cast[large_list-large_list] [gw99] [ 96%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch_by_column[10] tests/test_table.py::test_interpolation_search[arr9-8] tests/test_tqdm.py::TestTqdmUtils::test_tqdm_disabled [gw125] [ 96%] PASSED tests/test_tqdm.py::TestTqdmUtils::test_tqdm_helpers [gw107] [ 96%] PASSED tests/test_table.py::test_interpolation_search[arr20-19] [gw70] [ 97%] PASSED tests/test_table.py::test_interpolation_search[arr9-8] [gw111] [ 97%] PASSED tests/test_tqdm.py::TestTqdmUtils::test_tqdm_disabled_cannot_be_forced [gw7] [ 97%] RERUN tests/features/test_audio.py::test_dataset_with_audio_feature_map_is_decoded tests/test_table.py::test_interpolation_search[arr19-18] tests/features/test_audio.py::test_dataset_with_audio_feature_map_is_decoded [gw118] [ 97%] PASSED tests/test_table.py::test_interpolation_search[arr19-18] tests/test_table.py::test_interpolation_search[arr2-1] [gw32] [ 97%] PASSED tests/test_table.py::test_interpolation_search[arr2-1] tests/test_py_utils.py::test_flatten[data13-expected_output13] [gw99] [ 97%] PASSED tests/test_py_utils.py::test_flatten[data13-expected_output13] [gw63] [ 97%] PASSED tests/test_tqdm.py::TestTqdmUtils::test_tqdm_disabled [gw45] [ 97%] RERUN tests/test_formatting.py::FormatterTest::test_torch_formatter_audio tests/test_formatting.py::FormatterTest::test_torch_formatter_audio [gw110] [ 97%] PASSED tests/test_py_utils.py::test_map_nested[data_struct4-expected_result4-2-True-add_one_to_batch] tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_and_extract_no_extraction_dummy_url [gw110] [ 97%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_and_extract_no_extraction_dummy_url [gw54] [ 97%] PASSED tests/test_py_utils.py::test_map_nested[data_struct5-expected_result5-2-True-add_one_to_batch] tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_and_extract_with_extraction [gw54] [ 97%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_and_extract_with_extraction [gw33] [ 97%] PASSED tests/test_file_utils.py::test_xlistdir_private tests/test_iterable_dataset.py::test_arrow_examples_iterable_shuffle_data_sources [gw45] [ 97%] RERUN tests/test_formatting.py::FormatterTest::test_torch_formatter_audio tests/test_formatting.py::FormatterTest::test_torch_formatter_audio [gw20] [ 97%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[3] tests/features/test_audio.py::test_dataset_cast_to_audio_features[3] [gw58] [ 97%] PASSED tests/test_file_utils.py::test_xisdir_private tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-2-tables3] [gw58] [ 97%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-2-tables3] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-3-tables0] [gw16] [ 97%] PASSED tests/test_builder.py::test_builder_streaming_works_in_subprocess tests/test_file_utils.py::test_get_from_cache_fsspec [gw16] [ 97%] PASSED tests/test_file_utils.py::test_get_from_cache_fsspec tests/test_file_utils.py::test_cached_path_offline [gw16] [ 97%] PASSED tests/test_file_utils.py::test_cached_path_offline tests/test_file_utils.py::test_fsspec_offline [gw16] [ 97%] PASSED tests/test_file_utils.py::test_fsspec_offline [gw33] [ 97%] PASSED tests/test_iterable_dataset.py::test_arrow_examples_iterable_shuffle_data_sources tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-1-tables0] [gw119] [ 97%] PASSED tests/test_py_utils.py::test_map_nested[data_struct6-expected_result6-2-False-add_one] [gw58] [ 97%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-3-tables0] tests/test_table.py::test_inject_arrow_table_documentation [gw119] [ 97%] PASSED tests/test_table.py::test_inject_arrow_table_documentation [gw75] [ 97%] PASSED tests/test_py_utils.py::test_map_nested[data_struct7-expected_result7-2-True-add_one_to_batch] tests/test_streaming_download_manager.py::test_iter_files_in_archive[tar_jsonl_path] [gw75] [ 97%] PASSED tests/test_streaming_download_manager.py::test_iter_files_in_archive[tar_jsonl_path] [gw45] [ 97%] FAILED tests/test_formatting.py::FormatterTest::test_torch_formatter_audio [gw33] [ 97%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-1-tables0] [gw7] [ 97%] RERUN tests/features/test_audio.py::test_dataset_with_audio_feature_map_is_decoded tests/features/test_audio.py::test_dataset_with_audio_feature_map_is_decoded [gw9] [ 97%] RERUN tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature [gw21] [ 97%] PASSED tests/test_py_utils.py::test_map_nested[data_struct3-expected_result3-2-True-add_one_to_batch] tests/test_splits.py::test_split_dict_asdict_has_dataset_name[split_info1] [gw21] [ 97%] PASSED tests/test_splits.py::test_split_dict_asdict_has_dataset_name[split_info1] [gw20] [ 97%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[3] tests/features/test_audio.py::test_dataset_cast_to_audio_features[3] [gw97] [ 97%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[index-dict-keys2-None] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[columns-dict-keys3-tokens] [gw65] [ 98%] PASSED tests/test_file_utils.py::test_xglob_private tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-10-tables1] [gw65] [ 98%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-10-tables1] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-10-tables2] [gw65] [ 98%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-10-tables2] [gw20] [ 98%] FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[3] tests/features/test_audio.py::test_dataset_cast_to_audio_features[4] [gw7] [ 98%] FAILED tests/features/test_audio.py::test_dataset_with_audio_feature_map_is_decoded tests/test_table.py::test_interpolation_search[arr38-100] [gw7] [ 98%] PASSED tests/test_table.py::test_interpolation_search[arr38-100] [gw49] [ 98%] PASSED tests/test_hub.py::test_delete_from_hub tests/test_info.py::test_from_dir[files0] [gw49] [ 98%] PASSED tests/test_info.py::test_from_dir[files0] [gw9] [ 98%] RERUN tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature [gw1] [ 98%] PASSED tests/test_iterable_dataset.py::test_interleave_dataset_with_sharding[1-3-1] tests/test_py_utils.py::test_flatten[data1-expected_output1] [gw1] [ 98%] PASSED tests/test_py_utils.py::test_flatten[data1-expected_output1] [gw44] [ 98%] PASSED tests/test_py_utils.py::test_map_nested[data_struct3-expected_result3-2-False-add_one] tests/test_streaming_download_manager.py::test_streaming_dl_manager_download [gw112] [ 98%] PASSED tests/test_iterable_dataset.py::test_sharded_iterable_dataset_torch_dataloader_parallel[2-1] tests/test_iterable_dataset.py::test_concatenate_datasets [gw112] [ 98%] PASSED tests/test_iterable_dataset.py::test_concatenate_datasets [gw20] [ 98%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[4] tests/features/test_audio.py::test_dataset_cast_to_audio_features[4] [gw102] [ 98%] PASSED tests/test_iterable_dataset.py::test_sharded_iterable_dataset_torch_dataloader_parallel[3-2] tests/test_iterable_dataset.py::test_concatenate_datasets_axis_1_with_different_lengths [gw102] [ 98%] PASSED tests/test_iterable_dataset.py::test_concatenate_datasets_axis_1_with_different_lengths [gw44] [ 98%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_download [gw92] [ 98%] PASSED tests/test_py_utils.py::test_map_nested[data_struct4-expected_result4-2-False-add_one] tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_and_extract_no_extraction_dummy_path [gw92] [ 98%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_and_extract_no_extraction_dummy_path [gw97] [ 98%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[columns-dict-keys3-tokens] tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[values-list-None-None] [gw108] [ 98%] PASSED tests/test_iterable_dataset.py::test_interleave_dataset_with_sharding[2-1-1] tests/test_py_utils.py::PyUtilsTest::test_map_nested [gw31] [ 98%] PASSED tests/test_py_utils.py::test_map_nested[data_struct5-expected_result5-2-False-add_one] [gw117] [ 98%] PASSED tests/test_iterable_dataset.py::test_sharded_iterable_dataset_torch_dataloader_parallel[2-3] tests/test_streaming_download_manager.py::test_iter_archive_path[zip_jsonl_path] tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[tensorflow] [gw117] [ 98%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[tensorflow] [gw31] [ 98%] PASSED tests/test_streaming_download_manager.py::test_iter_archive_path[zip_jsonl_path] [gw38] [ 98%] PASSED tests/test_py_utils.py::test_map_nested[data_struct7-expected_result7-2-False-add_one] tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_all_supported_single_file_compression_types[XzFileSystem] [gw38] [ 98%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_all_supported_single_file_compression_types[XzFileSystem] [gw81] [ 98%] PASSED tests/test_iterable_dataset.py::test_interleave_dataset_with_sharding[2-2-2] tests/test_py_utils.py::PyUtilsTest::test_zip_dict [gw81] [ 98%] PASSED tests/test_py_utils.py::PyUtilsTest::test_zip_dict [gw4] [ 98%] PASSED tests/test_py_utils.py::test_map_nested[data_struct8-expected_result8-2-True-add_one_to_batch] tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_all_supported_single_file_compression_types[Bz2FileSystem] [gw4] [ 98%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_extract_all_supported_single_file_compression_types[Bz2FileSystem] [gw89] [ 98%] PASSED tests/test_file_utils.py::test_xwalk_private tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-9-tables3] [gw62] [ 98%] PASSED tests/test_py_utils.py::test_map_nested[data_struct6-expected_result6-2-True-add_one_to_batch] tests/test_streaming_download_manager.py::test_iter_files_in_archive[zip_jsonl_path] [gw89] [ 99%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-9-tables3] [gw62] [ 99%] PASSED tests/test_streaming_download_manager.py::test_iter_files_in_archive[zip_jsonl_path] [gw13] [ 99%] PASSED tests/test_py_utils.py::test_map_nested[data_struct8-expected_result8-2-False-add_one] tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-10-tables0] tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_and_extract_with_join[https://domain.org/archive.zip-filename.jsonl-zip://filename.jsonl::https://domain.org/archive.zip] [gw13] [ 99%] PASSED tests/test_streaming_download_manager.py::test_streaming_dl_manager_download_and_extract_with_join[https://domain.org/archive.zip-filename.jsonl-zip://filename.jsonl::https://domain.org/archive.zip] [gw89] [ 99%] PASSED tests/test_iterable_dataset.py::test_rebatched_arrow_examples_iterable[False-10-tables0] [gw9] [ 99%] FAILED tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature [gw20] [ 99%] RERUN tests/features/test_audio.py::test_dataset_cast_to_audio_features[4] tests/features/test_audio.py::test_dataset_cast_to_audio_features[4] [gw34] [ 99%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_from_hub_torch_dataloader_parallel[2] tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[numpy] [gw34] [ 99%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[numpy] [gw37] [ 99%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_serialization tests/test_dataset_dict.py::DatasetDictTest::test_set_format_numpy [gw37] [ 99%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_set_format_numpy tests/test_dataset_dict.py::DatasetDictTest::test_set_format_pandas [gw37] [ 99%] PASSED tests/test_dataset_dict.py::DatasetDictTest::test_set_format_pandas [gw20] [ 99%] FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[4] [gw97] [ 99%] PASSED tests/io/test_json.py::TestJsonDatasetWriter::test_dataset_to_json_orient_multiproc[values-list-None-None] [gw18] [ 99%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_from_hub_torch_dataloader_parallel[1] tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[None] [gw18] [ 99%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[None] [gw57] [ 99%] PASSED tests/test_arrow_dataset.py::BaseDatasetTest::test_dummy_dataset_serialize_on_disk [gw115] [ 99%] PASSED tests/test_iterable_dataset.py::test_sharded_iterable_dataset_torch_dataloader_parallel[2-2] tests/test_iterable_dataset.py::test_concatenate_datasets_axis_1 [gw115] [ 99%] PASSED tests/test_iterable_dataset.py::test_concatenate_datasets_axis_1 [gw108] [ 99%] PASSED tests/test_py_utils.py::PyUtilsTest::test_map_nested [gw11] [ 99%] PASSED tests/test_py_utils.py::test_iflatmap_unordered tests/test_table.py::test_table_getitem [gw11] [ 99%] PASSED tests/test_table.py::test_table_getitem [gw105] [ 99%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_torch_dataloader_parallel tests/test_iterable_dataset.py::test_concatenate_datasets_resolves_features [gw105] [ 99%] PASSED tests/test_iterable_dataset.py::test_concatenate_datasets_resolves_features [gw2] [ 99%] PASSED tests/test_iterable_dataset.py::test_interleave_dataset_with_sharding[4-3-3] tests/test_py_utils.py::test_flatten[data7-expected_output7] [gw2] [ 99%] PASSED tests/test_py_utils.py::test_flatten[data7-expected_output7] [gw127] [ 99%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_persists_epoch_in_torch_workers tests/test_iterable_dataset.py::test_iterable_dataset_batch_with_table_format[pyarrow] [gw127] [ 99%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_batch_with_table_format[pyarrow] [gw47] [ 99%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_shuffle_with_multiple_workers_different_rng tests/test_search.py::IndexableDatasetTest::test_drop_index [gw47] [ 99%] SKIPPED tests/test_search.py::IndexableDatasetTest::test_drop_index [gw73] [ 99%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_interleave_dataset_with_multiple_workers tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[pd] [gw73] [ 99%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[pd] [gw101] [ 99%] PASSED tests/test_iterable_dataset.py::test_iterable_dataset_interleave_dataset_deterministic_across_iterations tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[arrow] [gw101] [100%] SKIPPED tests/test_iterable_dataset.py::test_concatenate_datasets_with_format[arrow] =================================== FAILURES =================================== ________________________ test_audio_decode_example_opus ________________________ [gw34] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw34/test_audio_decode_example_opus2/data') @require_torchcodec def test_audio_decode_example_opus(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_48000.opus") audio = Audio() > decoded_example = audio.decode_example(audio.encode_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:184: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_audio_feature_encode_example[2] _________________ [gw26] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw26/test_audio_feature_encode_exam2/data') build_example = at 0x3f3cbad850> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: audio_path, lambda audio_path: Path(audio_path), lambda audio_path: open(audio_path, "rb").read(), lambda audio_path: {"path": audio_path}, lambda audio_path: {"path": audio_path, "bytes": None}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"path": None, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"bytes": open(audio_path, "rb").read()}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio() encoded_example = audio.encode_example(build_example(audio_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = audio.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:216: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_audio_feature_encode_example[8] _________________ [gw31] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw31/test_audio_feature_encode_exam2/data') build_example = at 0x3f5d509c70> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: audio_path, lambda audio_path: Path(audio_path), lambda audio_path: open(audio_path, "rb").read(), lambda audio_path: {"path": audio_path}, lambda audio_path: {"path": audio_path, "bytes": None}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"path": None, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"bytes": open(audio_path, "rb").read()}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio() > encoded_example = audio.encode_example(build_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:132: in encode_example AudioEncoder( /usr/lib/python3.14/site-packages/torchcodec/encoders/_audio_encoder.py:34: in __init__ load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_video_feature_encode_example[4] _________________ [gw84] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw84/test_video_feature_encode_exam2/data') build_example = at 0x3f3d3d3740> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda video_path: video_path, lambda video_path: Path(video_path), lambda video_path: open(video_path, "rb").read(), lambda video_path: {"path": video_path}, lambda video_path: {"path": video_path, "bytes": None}, lambda video_path: {"path": video_path, "bytes": open(video_path, "rb").read()}, lambda video_path: {"path": None, "bytes": open(video_path, "rb").read()}, lambda video_path: {"bytes": open(video_path, "rb").read()}, ], ) def test_video_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") video = Video() encoded_example = video.encode_example(build_example(video_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = video.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_video.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/video.py:196: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________ test_audio_feature_encode_example_audiodecoder[16000-48000] __________ [gw3] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw3/test_audio_feature_encode_exam2/data') in_sample_rate = 16000, out_sample_rate = 48000 @require_torchcodec @pytest.mark.parametrize( "in_sample_rate,out_sample_rate", list(product(sample_rates, sample_rates)), ) def test_audio_feature_encode_example_audiodecoder(shared_datadir, in_sample_rate, out_sample_rate): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio(sampling_rate=out_sample_rate) > example = AudioDecoder(audio_path, sample_rate=in_sample_rate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _____________________ test_audio_decode_example_pcm[16000] _____________________ [gw34] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw34/test_audio_decode_example_pcm_2/data') sampling_rate = 16000 @require_torchcodec @pytest.mark.parametrize("sampling_rate", [16_000, 48_000]) def test_audio_decode_example_pcm(shared_datadir, sampling_rate): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_16000.pcm") audio_input = {"path": audio_path, "sampling_rate": 16_000} audio = Audio(sampling_rate=sampling_rate) > decoded_example = audio.decode_example(audio.encode_example(audio_input)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:150: in encode_example AudioEncoder(torch.from_numpy(bytes_value), sample_rate=value["sampling_rate"]).to_file_like( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/encoders/_audio_encoder.py:34: in __init__ load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_audio_feature_encode_example[3] _________________ [gw26] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw26/test_audio_feature_encode_exam5/data') build_example = at 0x3f3cbad900> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: audio_path, lambda audio_path: Path(audio_path), lambda audio_path: open(audio_path, "rb").read(), lambda audio_path: {"path": audio_path}, lambda audio_path: {"path": audio_path, "bytes": None}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"path": None, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"bytes": open(audio_path, "rb").read()}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio() encoded_example = audio.encode_example(build_example(audio_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = audio.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _______________ test_audio_feature_encode_example_pcm[0] _______________ [gw31] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw31/test_audio_feature_encode_exam5/data') build_example = at 0x3f5d509dd0> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: {"path": audio_path, "sampling_rate": 16_000}, lambda audio_path: {"path": audio_path, "bytes": None, "sampling_rate": 16_000}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read(), "sampling_rate": 16_000}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example_pcm(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_16000.pcm") audio = Audio(sampling_rate=16_000) > encoded_example = audio.encode_example(build_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:150: in encode_example AudioEncoder(torch.from_numpy(bytes_value), sample_rate=value["sampling_rate"]).to_file_like( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/encoders/_audio_encoder.py:34: in __init__ load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_video_feature_encode_example[5] _________________ [gw84] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw84/test_video_feature_encode_exam5/data') build_example = at 0x3f3d3d37f0> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda video_path: video_path, lambda video_path: Path(video_path), lambda video_path: open(video_path, "rb").read(), lambda video_path: {"path": video_path}, lambda video_path: {"path": video_path, "bytes": None}, lambda video_path: {"path": video_path, "bytes": open(video_path, "rb").read()}, lambda video_path: {"path": None, "bytes": open(video_path, "rb").read()}, lambda video_path: {"bytes": open(video_path, "rb").read()}, ], ) def test_video_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") video = Video() encoded_example = video.encode_example(build_example(video_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = video.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_video.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/video.py:196: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _______________ test_audio_decode_example_opus_convert_to_stereo _______________ [gw42] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw42/test_audio_decode_example_opus2/data') @require_torchcodec def test_audio_decode_example_opus_convert_to_stereo(shared_datadir): # GH 7837 from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_48000.opus") # mono file audio = Audio(num_channels=2) > decoded_example = audio.decode_example(audio.encode_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:801: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_audio_feature_encode_example[0] _________________ [gw19] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw19/test_audio_feature_encode_exam2/data') build_example = at 0x3f3eaf96f0> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: audio_path, lambda audio_path: Path(audio_path), lambda audio_path: open(audio_path, "rb").read(), lambda audio_path: {"path": audio_path}, lambda audio_path: {"path": audio_path, "bytes": None}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"path": None, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"bytes": open(audio_path, "rb").read()}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio() encoded_example = audio.encode_example(build_example(audio_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = audio.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_video_feature_encode_example[0] _________________ [gw61] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw61/test_video_feature_encode_exam2/data') build_example = at 0x3f3fa133d0> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda video_path: video_path, lambda video_path: Path(video_path), lambda video_path: open(video_path, "rb").read(), lambda video_path: {"path": video_path}, lambda video_path: {"path": video_path, "bytes": None}, lambda video_path: {"path": video_path, "bytes": open(video_path, "rb").read()}, lambda video_path: {"path": None, "bytes": open(video_path, "rb").read()}, lambda video_path: {"bytes": open(video_path, "rb").read()}, ], ) def test_video_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") video = Video() encoded_example = video.encode_example(build_example(video_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = video.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_video.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/video.py:196: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _____________________ test_audio_decode_example_pcm[48000] _____________________ [gw34] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw34/test_audio_decode_example_pcm_5/data') sampling_rate = 48000 @require_torchcodec @pytest.mark.parametrize("sampling_rate", [16_000, 48_000]) def test_audio_decode_example_pcm(shared_datadir, sampling_rate): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_16000.pcm") audio_input = {"path": audio_path, "sampling_rate": 16_000} audio = Audio(sampling_rate=sampling_rate) > decoded_example = audio.decode_example(audio.encode_example(audio_input)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:199: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:150: in encode_example AudioEncoder(torch.from_numpy(bytes_value), sample_rate=value["sampling_rate"]).to_file_like( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/encoders/_audio_encoder.py:34: in __init__ load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_audio_feature_encode_example[4] _________________ [gw26] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw26/test_audio_feature_encode_exam8/data') build_example = at 0x3f3cbad9b0> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: audio_path, lambda audio_path: Path(audio_path), lambda audio_path: open(audio_path, "rb").read(), lambda audio_path: {"path": audio_path}, lambda audio_path: {"path": audio_path, "bytes": None}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"path": None, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"bytes": open(audio_path, "rb").read()}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio() encoded_example = audio.encode_example(build_example(audio_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = audio.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_video_feature_encode_example[6] _________________ [gw84] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw84/test_video_feature_encode_exam8/data') build_example = at 0x3f3d3d38a0> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda video_path: video_path, lambda video_path: Path(video_path), lambda video_path: open(video_path, "rb").read(), lambda video_path: {"path": video_path}, lambda video_path: {"path": video_path, "bytes": None}, lambda video_path: {"path": video_path, "bytes": open(video_path, "rb").read()}, lambda video_path: {"path": None, "bytes": open(video_path, "rb").read()}, lambda video_path: {"bytes": open(video_path, "rb").read()}, ], ) def test_video_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") video = Video() encoded_example = video.encode_example(build_example(video_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = video.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_video.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/video.py:214: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________ test_audio_feature_encode_example_audiodecoder[48000-16000] __________ [gw3] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw3/test_audio_feature_encode_exam5/data') in_sample_rate = 48000, out_sample_rate = 16000 @require_torchcodec @pytest.mark.parametrize( "in_sample_rate,out_sample_rate", list(product(sample_rates, sample_rates)), ) def test_audio_feature_encode_example_audiodecoder(shared_datadir, in_sample_rate, out_sample_rate): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio(sampling_rate=out_sample_rate) > example = AudioDecoder(audio_path, sample_rate=in_sample_rate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError __________________ test_formatted_dataset_with_audio_feature ___________________ [gw22] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw22/test_formatted_dataset_with_au2/data') @require_torchcodec def test_formatted_dataset_with_audio_feature(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = {"audio": [audio_path, audio_path]} features = Features({"audio": Audio()}) dset = Dataset.from_dict(data, features=features) with dset.formatted_as("numpy"): > item = dset[0] ^^^^^^^ tests/features/test_audio.py:632: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/np_formatter.py:104: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _______________ test_audio_feature_encode_example_pcm[1] _______________ [gw31] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw31/test_audio_feature_encode_exam8/data') build_example = at 0x3f5d509e80> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: {"path": audio_path, "sampling_rate": 16_000}, lambda audio_path: {"path": audio_path, "bytes": None, "sampling_rate": 16_000}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read(), "sampling_rate": 16_000}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example_pcm(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_16000.pcm") audio = Audio(sampling_rate=16_000) > encoded_example = audio.encode_example(build_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:150: in encode_example AudioEncoder(torch.from_numpy(bytes_value), sample_rate=value["sampling_rate"]).to_file_like( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/encoders/_audio_encoder.py:34: in __init__ load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_audio_decode_example_opus_convert_to_mono ________________ [gw42] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw42/test_audio_decode_example_opus5/data') @require_torchcodec def test_audio_decode_example_opus_convert_to_mono(shared_datadir): # GH 7837 from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") # stereo file audio = Audio(num_channels=1) > decoded_example = audio.decode_example(audio.encode_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:815: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_video_feature_encode_example[1] _________________ [gw61] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw61/test_video_feature_encode_exam5/data') build_example = at 0x3f3fa13530> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda video_path: video_path, lambda video_path: Path(video_path), lambda video_path: open(video_path, "rb").read(), lambda video_path: {"path": video_path}, lambda video_path: {"path": video_path, "bytes": None}, lambda video_path: {"path": video_path, "bytes": open(video_path, "rb").read()}, lambda video_path: {"path": None, "bytes": open(video_path, "rb").read()}, lambda video_path: {"bytes": open(video_path, "rb").read()}, ], ) def test_video_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") video = Video() encoded_example = video.encode_example(build_example(video_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = video.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_video.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/video.py:196: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_audio_feature_encode_example[5] _________________ [gw26] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw26/test_audio_feature_encode_exam11/data') build_example = at 0x3f3cbada60> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: audio_path, lambda audio_path: Path(audio_path), lambda audio_path: open(audio_path, "rb").read(), lambda audio_path: {"path": audio_path}, lambda audio_path: {"path": audio_path, "bytes": None}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"path": None, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"bytes": open(audio_path, "rb").read()}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio() encoded_example = audio.encode_example(build_example(audio_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = audio.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ______________ test_audio_resampling_mp3_different_sampling_rates ______________ [gw34] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw34/test_audio_resampling_mp3_diff2/data') @require_torchcodec def test_audio_resampling_mp3_different_sampling_rates(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.mp3") audio_path2 = str(shared_datadir / "test_audio_16000.mp3") audio = Audio(sampling_rate=48000) > decoded_example = audio.decode_example(audio.encode_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_dataset_cast_to_audio_features[5] ________________ [gw7] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw7/test_dataset_cast_to_audio_fea2/data') build_data = at 0x3f3087afb0> @require_torchcodec @pytest.mark.parametrize( "build_data", [ lambda audio_path: {"audio": [audio_path]}, lambda audio_path: {"audio": [open(audio_path, "rb").read()]}, lambda audio_path: {"audio": [{"path": audio_path}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": None}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"path": None, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"bytes": open(audio_path, "rb").read()}]}, ], ) def test_dataset_cast_to_audio_features(shared_datadir, build_data): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = build_data(audio_path) dset = Dataset.from_dict(data) > item = dset.cast(Features({"audio": Audio()}))[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:682: in format_table formatted_output = formatter(pa_table_to_format, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:216: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _______________ test_audio_feature_encode_example_pcm[2] _______________ [gw31] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw31/test_audio_feature_encode_exam11/data') build_example = at 0x3f5d509f30> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: {"path": audio_path, "sampling_rate": 16_000}, lambda audio_path: {"path": audio_path, "bytes": None, "sampling_rate": 16_000}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read(), "sampling_rate": 16_000}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example_pcm(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_16000.pcm") audio = Audio(sampling_rate=16_000) > encoded_example = audio.encode_example(build_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:150: in encode_example AudioEncoder(torch.from_numpy(bytes_value), sample_rate=value["sampling_rate"]).to_file_like( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/encoders/_audio_encoder.py:34: in __init__ load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_video_feature_encode_example[7] _________________ [gw84] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw84/test_video_feature_encode_exam11/data') build_example = at 0x3f3d3d3950> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda video_path: video_path, lambda video_path: Path(video_path), lambda video_path: open(video_path, "rb").read(), lambda video_path: {"path": video_path}, lambda video_path: {"path": video_path, "bytes": None}, lambda video_path: {"path": video_path, "bytes": open(video_path, "rb").read()}, lambda video_path: {"path": None, "bytes": open(video_path, "rb").read()}, lambda video_path: {"bytes": open(video_path, "rb").read()}, ], ) def test_video_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") video = Video() encoded_example = video.encode_example(build_example(video_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = video.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_video.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/video.py:214: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ___________________ test_dataset_with_audio_feature_tar_wav ____________________ [gw9] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python tar_wav_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw9/data2/audio_data.wav.tar') @require_torchcodec def test_dataset_with_audio_feature_tar_wav(tar_wav_path): from torchcodec.decoders import AudioDecoder audio_filename = "test_audio_44100.wav" data = {"audio": []} for file_path, file_obj in iter_archive(tar_wav_path): data["audio"].append({"path": file_path, "bytes": file_obj.read()}) break features = Features({"audio": Audio()}) dset = Dataset.from_dict(data, features=features) > item = dset[0] ^^^^^^^ tests/features/test_audio.py:290: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:216: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_video_feature_encode_example[2] _________________ [gw61] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw61/test_video_feature_encode_exam8/data') build_example = at 0x3f3fa135e0> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda video_path: video_path, lambda video_path: Path(video_path), lambda video_path: open(video_path, "rb").read(), lambda video_path: {"path": video_path}, lambda video_path: {"path": video_path, "bytes": None}, lambda video_path: {"path": video_path, "bytes": open(video_path, "rb").read()}, lambda video_path: {"path": None, "bytes": open(video_path, "rb").read()}, lambda video_path: {"bytes": open(video_path, "rb").read()}, ], ) def test_video_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") video = Video() encoded_example = video.encode_example(build_example(video_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = video.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_video.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/video.py:214: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _______________ test_audio_feature_encode_example_pcm[3] _______________ [gw31] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw31/test_audio_feature_encode_exam14/data') build_example = at 0x3f5d509fe0> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: {"path": audio_path, "sampling_rate": 16_000}, lambda audio_path: {"path": audio_path, "bytes": None, "sampling_rate": 16_000}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read(), "sampling_rate": 16_000}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example_pcm(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_16000.pcm") audio = Audio(sampling_rate=16_000) > encoded_example = audio.encode_example(build_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:132: in encode_example AudioEncoder( /usr/lib/python3.14/site-packages/torchcodec/encoders/_audio_encoder.py:34: in __init__ load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________ test_audio_feature_encode_example_audiodecoder[48000-48000] __________ [gw3] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw3/test_audio_feature_encode_exam8/data') in_sample_rate = 48000, out_sample_rate = 48000 @require_torchcodec @pytest.mark.parametrize( "in_sample_rate,out_sample_rate", list(product(sample_rates, sample_rates)), ) def test_audio_feature_encode_example_audiodecoder(shared_datadir, in_sample_rate, out_sample_rate): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio(sampling_rate=out_sample_rate) > example = AudioDecoder(audio_path, sample_rate=in_sample_rate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________________ test_backwards_compatibility _________________________ [gw34] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw34/test_backwards_compatibility2/data') @require_torchcodec def test_backwards_compatibility(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.mp3") audio_path2 = str(shared_datadir / "test_audio_16000.mp3") audio = Audio(sampling_rate=48000) > decoded_example = audio.decode_example(audio.encode_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:235: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________ test_resampling_after_loading_dataset_with_audio_feature_mp3 _________ [gw20] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw20/test_resampling_after_loading_2/data') @require_torchcodec def test_resampling_after_loading_dataset_with_audio_feature_mp3(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.mp3") data = {"audio": [audio_path]} features = Features({"audio": Audio()}) dset = Dataset.from_dict(data, features=features) > item = dset[0] ^^^^^^^ tests/features/test_audio.py:480: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_audio_feature_encode_example[6] _________________ [gw26] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw26/test_audio_feature_encode_exam14/data') build_example = at 0x3f3cbadb10> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: audio_path, lambda audio_path: Path(audio_path), lambda audio_path: open(audio_path, "rb").read(), lambda audio_path: {"path": audio_path}, lambda audio_path: {"path": audio_path, "bytes": None}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"path": None, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"bytes": open(audio_path, "rb").read()}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio() encoded_example = audio.encode_example(build_example(audio_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = audio.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:216: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ______________________ test_generate_examples_with_labels ______________________ [gw115] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python data_files_with_labels_no_metadata = {NamedSplit('train'): ['/tmp/pytest-of-builduser/pytest-0/popen-gw115/test_generate_examples_with_la2/data_files_with_...of-builduser/pytest-0/popen-gw115/test_generate_examples_with_la2/data_files_with_labels_no_metadata/uk/audio_uk.wav']} cache_dir = '/tmp/pytest-of-builduser/pytest-0/popen-gw115/test_generate_examples_with_la2/audiofolder_cache_dir' @require_torchcodec # check that labels are inferred correctly from dir names def test_generate_examples_with_labels(data_files_with_labels_no_metadata, cache_dir): # there are no metadata.jsonl files in this test case audiofolder = AudioFolder(data_files=data_files_with_labels_no_metadata, cache_dir=cache_dir, drop_labels=False) audiofolder.download_and_prepare() assert audiofolder.info.features == Features({"audio": Audio(), "label": ClassLabel(names=["fr", "uk"])}) > dataset = list(audiofolder.as_dataset()["train"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/packaged_modules/test_audiofolder.py:203: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:2765: in __iter__ formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________ test_data_files_with_metadata_and_multiple_splits[jsonl-True] _________ [gw125] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python streaming = True cache_dir = '/tmp/pytest-of-builduser/pytest-0/popen-gw125/test_data_files_with_metadata_2/audiofolder_cache_dir' data_files_with_two_splits_and_metadata = {NamedSplit('train'): ['/tmp/pytest-of-builduser/pytest-0/popen-gw125/test_data_files_with_metadata_2/audiofolder_data...uilduser/pytest-0/popen-gw125/test_data_files_with_metadata_2/audiofolder_data_dir_with_metadata/test/metadata.jsonl']} @require_torchcodec @pytest.mark.parametrize("streaming", [False, True]) def test_data_files_with_metadata_and_multiple_splits(streaming, cache_dir, data_files_with_two_splits_and_metadata): data_files = data_files_with_two_splits_and_metadata audiofolder = AudioFolder(data_files=data_files, cache_dir=cache_dir) audiofolder.download_and_prepare() datasets = audiofolder.as_streaming_dataset() if streaming else audiofolder.as_dataset() for split, data_files in data_files.items(): expected_num_of_audios = len(data_files) - 1 # don't count the metadata file assert split in datasets > dataset = list(datasets[split]) ^^^^^^^^^^^^^^^^^^^^^ tests/packaged_modules/test_audiofolder.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2840: in __iter__ for key, example in ex_iterable: ^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2386: in __iter__ example = _apply_feature_types_on_example( test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2305: in _apply_feature_types_on_example decoded_example = features.decode_example(encoded_example, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_dataset_with_video_feature_map_is_decoded ________________ [gw82] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw82/test_dataset_with_video_featur2/data') @require_torchcodec def test_dataset_with_video_feature_map_is_decoded(shared_datadir): video_path = str(shared_datadir / "test_video_66x50.mov") data = {"video": [video_path], "text": ["Hello"]} features = Features({"video": Video(), "text": Value("string")}) dset = Dataset.from_dict(data, features=features) def process_audio_sampling_rate_by_example(example): begin_stream_seconds = example["video"].metadata.begin_stream_seconds example["double_begin_stream_seconds"] = 2 * begin_stream_seconds return example > decoded_dset = dset.map(process_audio_sampling_rate_by_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_video.py:111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:576: in wrapper out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3633: in map for rank, done, content in Dataset._map_single(**unprocessed_kwargs): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3973: in _map_single for i, example in iter_outputs(shard_iterable): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3951: in iter_outputs yield i, apply_function(example, i, offset=offset) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3872: in apply_function processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_video.py:107: in process_audio_sampling_rate_by_example begin_stream_seconds = example["video"].metadata.begin_stream_seconds ^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:301: in __getitem__ value = self.format(key) ^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:396: in format return self.formatter.format_column(self.pa_table.select([key]))[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:481: in format_column column = self.python_features_decoder.decode_column(column, pa_table.column_names[0]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:244: in decode_column self.features.decode_column(column, column_name, token_per_repo_id=self.token_per_repo_id) test-env/lib/python3.14/site-packages/datasets/features/features.py:2247: in decode_column decode_nested_example(self[column_name], value, token_per_repo_id=token_per_repo_id) test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/video.py:196: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_audio_feature_encode_example[1] _________________ [gw19] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw19/test_audio_feature_encode_exam5/data') build_example = at 0x3f3eaf97a0> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: audio_path, lambda audio_path: Path(audio_path), lambda audio_path: open(audio_path, "rb").read(), lambda audio_path: {"path": audio_path}, lambda audio_path: {"path": audio_path, "bytes": None}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"path": None, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"bytes": open(audio_path, "rb").read()}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio() encoded_example = audio.encode_example(build_example(audio_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = audio.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ____________________________ test_audio_webdataset _____________________________ [gw37] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python audio_wds_file = '/tmp/pytest-of-builduser/pytest-0/popen-gw37/test_audio_webdataset2/file.tar' @require_torchcodec def test_audio_webdataset(audio_wds_file): from torchcodec.decoders import AudioDecoder data_files = {"train": [audio_wds_file]} webdataset = WebDataset(data_files=data_files) split_generators = webdataset._split_generators(DownloadManager()) assert webdataset.info.features == Features( { "__key__": Value("string"), "__url__": Value("string"), "json": {"transcript": Value("string")}, "wav": Audio(), } ) assert len(split_generators) == 1 split_generator = split_generators[0] assert split_generator.name == "train" generator = webdataset._generate_examples(**split_generator.gen_kwargs) _, examples = zip(*generator) assert len(examples) == 3 assert isinstance(examples[0]["json"], dict) assert isinstance(examples[0]["json"]["transcript"], str) assert isinstance(examples[0]["wav"], dict) assert isinstance(examples[0]["wav"]["bytes"], bytes) # keep encoded to avoid unecessary copies encoded = webdataset.info.features.encode_example(examples[0]) > decoded = webdataset.info.features.decode_example(encoded) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/packaged_modules/test_webdataset.py:272: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:216: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError __________________________ test_audio_decode_example ___________________________ [gw3] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw3/test_audio_decode_example2/data') @require_torchcodec def test_audio_decode_example(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio() > decoded_example = audio.decode_example(audio.encode_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _______________________ test_dataset_with_video_feature ________________________ [gw84] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw84/test_dataset_with_video_featur2/data') @require_torchcodec def test_dataset_with_video_feature(shared_datadir): import torch from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") data = {"video": [video_path]} features = Features({"video": Video()}) dset = Dataset.from_dict(data, features=features) > item = dset[0] ^^^^^^^ tests/features/test_video.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/video.py:196: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_load_dataset_with_audio_feature[False] __________________ [gw22] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python streaming = False jsonl_audio_dataset_path = '/tmp/pytest-of-builduser/pytest-0/popen-gw22/data2/audio_dataset.jsonl' shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw22/test_load_dataset_with_audio_f2/data') @require_torchcodec @pytest.mark.parametrize("streaming", [False, True]) def test_load_dataset_with_audio_feature(streaming, jsonl_audio_dataset_path, shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data_files = jsonl_audio_dataset_path features = Features({"audio": Audio(), "text": Value("string")}) dset = load_dataset("json", split="train", data_files=data_files, features=features, streaming=streaming) > item = dset[0] if not streaming else next(iter(dset)) ^^^^^^^ tests/features/test_audio.py:697: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ____________________________ test_audio_resampling _____________________________ [gw3] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw3/test_audio_resampling2/data') @require_torchcodec def test_audio_resampling(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio(sampling_rate=16000) > decoded_example = audio.decode_example(audio.encode_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:157: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_dataset_cast_to_audio_features[6] ________________ [gw7] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw7/test_dataset_cast_to_audio_fea5/data') build_data = at 0x3f3087b060> @require_torchcodec @pytest.mark.parametrize( "build_data", [ lambda audio_path: {"audio": [audio_path]}, lambda audio_path: {"audio": [open(audio_path, "rb").read()]}, lambda audio_path: {"audio": [{"path": audio_path}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": None}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"path": None, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"bytes": open(audio_path, "rb").read()}]}, ], ) def test_dataset_cast_to_audio_features(shared_datadir, build_data): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = build_data(audio_path) dset = Dataset.from_dict(data) > item = dset.cast(Features({"audio": Audio()}))[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:682: in format_table formatted_output = formatter(pa_table_to_format, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:216: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________ test_audio_feature_encode_example_audiodecoder[16000-16000] __________ [gw31] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw31/test_audio_feature_encode_exam17/data') in_sample_rate = 16000, out_sample_rate = 16000 @require_torchcodec @pytest.mark.parametrize( "in_sample_rate,out_sample_rate", list(product(sample_rates, sample_rates)), ) def test_audio_feature_encode_example_audiodecoder(shared_datadir, in_sample_rate, out_sample_rate): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio(sampling_rate=out_sample_rate) > example = AudioDecoder(audio_path, sample_rate=in_sample_rate) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:126: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ____________ test_data_files_with_metadata_and_single_split[False] _____________ [gw91] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python streaming = False cache_dir = '/tmp/pytest-of-builduser/pytest-0/popen-gw91/test_data_files_with_metadata_2/audiofolder_cache_dir' data_files_with_one_split_and_metadata = {NamedSplit('train'): ['/tmp/pytest-of-builduser/pytest-0/popen-gw91/test_data_files_with_metadata_2/audiofolder_data_...lduser/pytest-0/popen-gw91/test_data_files_with_metadata_2/audiofolder_data_dir_with_metadata/subdir/audio_file3.wav']} @require_torchcodec @pytest.mark.parametrize("streaming", [False, True]) def test_data_files_with_metadata_and_single_split(streaming, cache_dir, data_files_with_one_split_and_metadata): data_files = data_files_with_one_split_and_metadata audiofolder = AudioFolder(data_files=data_files, cache_dir=cache_dir) audiofolder.download_and_prepare() datasets = audiofolder.as_streaming_dataset() if streaming else audiofolder.as_dataset() for split, data_files in data_files.items(): expected_num_of_audios = len(data_files) - 1 # don't count the metadata file assert split in datasets > dataset = list(datasets[split]) ^^^^^^^^^^^^^^^^^^^^^ tests/packaged_modules/test_audiofolder.py:271: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:2765: in __iter__ formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_audio_feature_encode_example[7] _________________ [gw26] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw26/test_audio_feature_encode_exam17/data') build_example = at 0x3f3cbadbc0> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda audio_path: audio_path, lambda audio_path: Path(audio_path), lambda audio_path: open(audio_path, "rb").read(), lambda audio_path: {"path": audio_path}, lambda audio_path: {"path": audio_path, "bytes": None}, lambda audio_path: {"path": audio_path, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"path": None, "bytes": open(audio_path, "rb").read()}, lambda audio_path: {"bytes": open(audio_path, "rb").read()}, lambda audio_path: {"array": np.array([0.1, 0.2, 0.3]), "sampling_rate": 16_000}, ], ) def test_audio_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") audio = Audio() encoded_example = audio.encode_example(build_example(audio_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = audio.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:216: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________ test_data_files_with_metadata_and_multiple_splits[csv-False] _________ [gw125] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python streaming = False cache_dir = '/tmp/pytest-of-builduser/pytest-0/popen-gw125/test_data_files_with_metadata_5/audiofolder_cache_dir' data_files_with_two_splits_and_metadata = {NamedSplit('train'): ['/tmp/pytest-of-builduser/pytest-0/popen-gw125/test_data_files_with_metadata_5/audiofolder_data...-builduser/pytest-0/popen-gw125/test_data_files_with_metadata_5/audiofolder_data_dir_with_metadata/test/metadata.csv']} @require_torchcodec @pytest.mark.parametrize("streaming", [False, True]) def test_data_files_with_metadata_and_multiple_splits(streaming, cache_dir, data_files_with_two_splits_and_metadata): data_files = data_files_with_two_splits_and_metadata audiofolder = AudioFolder(data_files=data_files, cache_dir=cache_dir) audiofolder.download_and_prepare() datasets = audiofolder.as_streaming_dataset() if streaming else audiofolder.as_dataset() for split, data_files in data_files.items(): expected_num_of_audios = len(data_files) - 1 # don't count the metadata file assert split in datasets > dataset = list(datasets[split]) ^^^^^^^^^^^^^^^^^^^^^ tests/packaged_modules/test_audiofolder.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:2765: in __iter__ formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_video_feature_encode_example[3] _________________ [gw61] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw61/test_video_feature_encode_exam11/data') build_example = at 0x3f3fa13690> @require_torchcodec @pytest.mark.parametrize( "build_example", [ lambda video_path: video_path, lambda video_path: Path(video_path), lambda video_path: open(video_path, "rb").read(), lambda video_path: {"path": video_path}, lambda video_path: {"path": video_path, "bytes": None}, lambda video_path: {"path": video_path, "bytes": open(video_path, "rb").read()}, lambda video_path: {"path": None, "bytes": open(video_path, "rb").read()}, lambda video_path: {"bytes": open(video_path, "rb").read()}, ], ) def test_video_feature_encode_example(shared_datadir, build_example): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") video = Video() encoded_example = video.encode_example(build_example(video_path)) assert isinstance(encoded_example, dict) assert encoded_example.keys() == {"bytes", "path"} assert encoded_example["bytes"] is not None or encoded_example["path"] is not None > decoded_example = video.decode_example(encoded_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_video.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/video.py:196: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ___________________ test_dataset_with_audio_feature_tar_mp3 ____________________ [gw9] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python tar_mp3_path = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw9/data5/audio_data.mp3.tar') @require_torchcodec def test_dataset_with_audio_feature_tar_mp3(tar_mp3_path): from torchcodec.decoders import AudioDecoder audio_filename = "test_audio_44100.mp3" data = {"audio": []} for file_path, file_obj in iter_archive(tar_mp3_path): data["audio"].append({"path": file_path, "bytes": file_obj.read()}) break features = Features({"audio": Audio()}) dset = Dataset.from_dict(data, features=features) > item = dset[0] ^^^^^^^ tests/features/test_audio.py:324: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:216: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError __________________ test_load_dataset_with_audio_feature[True] __________________ [gw22] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python streaming = True jsonl_audio_dataset_path = '/tmp/pytest-of-builduser/pytest-0/popen-gw22/data5/audio_dataset.jsonl' shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw22/test_load_dataset_with_audio_f5/data') @require_torchcodec @pytest.mark.parametrize("streaming", [False, True]) def test_load_dataset_with_audio_feature(streaming, jsonl_audio_dataset_path, shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data_files = jsonl_audio_dataset_path features = Features({"audio": Audio(), "text": Value("string")}) dset = load_dataset("json", split="train", data_files=data_files, features=features, streaming=streaming) > item = dset[0] if not streaming else next(iter(dset)) ^^^^^^^^^^^^^^^^ tests/features/test_audio.py:697: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2840: in __iter__ for key, example in ex_iterable: ^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2374: in __iter__ batch = formatter.format_batch(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:488: in format_batch batch = self.python_features_decoder.decode_batch(batch) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:250: in decode_batch return self.features.decode_batch(batch, token_per_repo_id=self.token_per_repo_id) if self.features else batch ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2273: in decode_batch decode_nested_example(self[column_name], value, token_per_repo_id=token_per_repo_id) test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_dataset_cast_to_audio_features[0] ________________ [gw20] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw20/test_dataset_cast_to_audio_fea2/data') build_data = at 0x3f35376c40> @require_torchcodec @pytest.mark.parametrize( "build_data", [ lambda audio_path: {"audio": [audio_path]}, lambda audio_path: {"audio": [open(audio_path, "rb").read()]}, lambda audio_path: {"audio": [{"path": audio_path}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": None}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"path": None, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"bytes": open(audio_path, "rb").read()}]}, ], ) def test_dataset_cast_to_audio_features(shared_datadir, build_data): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = build_data(audio_path) dset = Dataset.from_dict(data) > item = dset.cast(Features({"audio": Audio()}))[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:682: in format_table formatted_output = formatter(pa_table_to_format, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _______________________ test_dataset_with_audio_feature ________________________ [gw34] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw34/test_dataset_with_audio_featur2/data') @require_torchcodec def test_dataset_with_audio_feature(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = {"audio": [audio_path]} features = Features({"audio": Audio()}) dset = Dataset.from_dict(data, features=features) > item = dset[0] ^^^^^^^ tests/features/test_audio.py:258: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________________ test_load_dataset_with_video_feature[False] __________________ [gw82] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python streaming = False jsonl_video_dataset_path = '/tmp/pytest-of-builduser/pytest-0/popen-gw82/data2/video_dataset.jsonl' shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw82/test_load_dataset_with_video_f2/data') @require_torchcodec @pytest.mark.parametrize("streaming", [False, True]) def test_load_dataset_with_video_feature(streaming, jsonl_video_dataset_path, shared_datadir): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") data_files = jsonl_video_dataset_path features = Features({"video": Video(), "text": Value("string")}) dset = load_dataset("json", split="train", data_files=data_files, features=features, streaming=streaming) > item = dset[0] if not streaming else next(iter(dset)) ^^^^^^^ tests/features/test_video.py:151: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/video.py:196: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _________ test_data_files_with_metadata_and_multiple_splits[csv-True] __________ [gw125] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python streaming = True cache_dir = '/tmp/pytest-of-builduser/pytest-0/popen-gw125/test_data_files_with_metadata_8/audiofolder_cache_dir' data_files_with_two_splits_and_metadata = {NamedSplit('train'): ['/tmp/pytest-of-builduser/pytest-0/popen-gw125/test_data_files_with_metadata_8/audiofolder_data...-builduser/pytest-0/popen-gw125/test_data_files_with_metadata_8/audiofolder_data_dir_with_metadata/test/metadata.csv']} @require_torchcodec @pytest.mark.parametrize("streaming", [False, True]) def test_data_files_with_metadata_and_multiple_splits(streaming, cache_dir, data_files_with_two_splits_and_metadata): data_files = data_files_with_two_splits_and_metadata audiofolder = AudioFolder(data_files=data_files, cache_dir=cache_dir) audiofolder.download_and_prepare() datasets = audiofolder.as_streaming_dataset() if streaming else audiofolder.as_dataset() for split, data_files in data_files.items(): expected_num_of_audios = len(data_files) - 1 # don't count the metadata file assert split in datasets > dataset = list(datasets[split]) ^^^^^^^^^^^^^^^^^^^^^ tests/packaged_modules/test_audiofolder.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2840: in __iter__ for key, example in ex_iterable: ^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2386: in __iter__ example = _apply_feature_types_on_example( test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2305: in _apply_feature_types_on_example decoded_example = features.decode_example(encoded_example, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError __________________ test_dataset_with_video_map_and_formatted ___________________ [gw84] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw84/test_dataset_with_video_map_an2/data') @require_torchcodec def test_dataset_with_video_map_and_formatted(shared_datadir): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") data = {"video": [video_path]} features = Features({"video": Video()}) dset = Dataset.from_dict(data, features=features) dset = dset.map(lambda x: x).with_format("numpy") > example = dset[0] ^^^^^^^ tests/features/test_video.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/np_formatter.py:104: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/video.py:196: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ___________________ test_dataset_concatenate_audio_features ____________________ [gw7] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw7/test_dataset_concatenate_audio2/data') @require_torchcodec def test_dataset_concatenate_audio_features(shared_datadir): # we use a different data structure between 1 and 2 to make sure they are compatible with each other audio_path = str(shared_datadir / "test_audio_44100.wav") data1 = {"audio": [audio_path]} dset1 = Dataset.from_dict(data1, features=Features({"audio": Audio()})) data2 = {"audio": [{"bytes": open(audio_path, "rb").read()}]} dset2 = Dataset.from_dict(data2, features=Features({"audio": Audio()})) concatenated_dataset = concatenate_datasets([dset1, dset2]) assert len(concatenated_dataset) == len(dset1) + len(dset2) assert ( > concatenated_dataset[0]["audio"].get_all_samples().data.shape == dset1[0]["audio"].get_all_samples().data.shape ^^^^^^^^^^^^^^^^^^^^^^^ ) tests/features/test_audio.py:543: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:682: in format_table formatted_output = formatter(pa_table_to_format, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________________ test_audio_decode_example_mp3 _________________________ [gw3] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw3/test_audio_decode_example_mp32/data') @require_torchcodec def test_audio_decode_example_mp3(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.mp3") audio = Audio() > decoded_example = audio.decode_example(audio.encode_example(audio_path)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:170: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError _____________ test_data_files_with_metadata_and_single_split[True] _____________ [gw91] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python streaming = True cache_dir = '/tmp/pytest-of-builduser/pytest-0/popen-gw91/test_data_files_with_metadata_5/audiofolder_cache_dir' data_files_with_one_split_and_metadata = {NamedSplit('train'): ['/tmp/pytest-of-builduser/pytest-0/popen-gw91/test_data_files_with_metadata_5/audiofolder_data_...lduser/pytest-0/popen-gw91/test_data_files_with_metadata_5/audiofolder_data_dir_with_metadata/subdir/audio_file3.wav']} @require_torchcodec @pytest.mark.parametrize("streaming", [False, True]) def test_data_files_with_metadata_and_single_split(streaming, cache_dir, data_files_with_one_split_and_metadata): data_files = data_files_with_one_split_and_metadata audiofolder = AudioFolder(data_files=data_files, cache_dir=cache_dir) audiofolder.download_and_prepare() datasets = audiofolder.as_streaming_dataset() if streaming else audiofolder.as_dataset() for split, data_files in data_files.items(): expected_num_of_audios = len(data_files) - 1 # don't count the metadata file assert split in datasets > dataset = list(datasets[split]) ^^^^^^^^^^^^^^^^^^^^^ tests/packaged_modules/test_audiofolder.py:271: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2840: in __iter__ for key, example in ex_iterable: ^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2386: in __iter__ example = _apply_feature_types_on_example( test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2305: in _apply_feature_types_on_example decoded_example = features.decode_example(encoded_example, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError __________________ test_load_dataset_with_video_feature[True] __________________ [gw82] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python streaming = True jsonl_video_dataset_path = '/tmp/pytest-of-builduser/pytest-0/popen-gw82/data5/video_dataset.jsonl' shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw82/test_load_dataset_with_video_f5/data') @require_torchcodec @pytest.mark.parametrize("streaming", [False, True]) def test_load_dataset_with_video_feature(streaming, jsonl_video_dataset_path, shared_datadir): from torchcodec.decoders import VideoDecoder video_path = str(shared_datadir / "test_video_66x50.mov") data_files = jsonl_video_dataset_path features = Features({"video": Video(), "text": Value("string")}) dset = load_dataset("json", split="train", data_files=data_files, features=features, streaming=streaming) > item = dset[0] if not streaming else next(iter(dset)) ^^^^^^^^^^^^^^^^ tests/features/test_video.py:151: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2840: in __iter__ for key, example in ex_iterable: ^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/iterable_dataset.py:2374: in __iter__ batch = formatter.format_batch(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:488: in format_batch batch = self.python_features_decoder.decode_batch(batch) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:250: in decode_batch return self.features.decode_batch(batch, token_per_repo_id=self.token_per_repo_id) if self.features else batch ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2273: in decode_batch decode_nested_example(self[column_name], value, token_per_repo_id=token_per_repo_id) test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/video.py:196: in decode_example video = VideoDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_video_decoder.py:254: in __init__ ) = create_video_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:195: in create_video_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ____________ test_resampling_at_loading_dataset_with_audio_feature _____________ [gw9] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw9/test_resampling_at_loading_dat2/data') @require_torchcodec def test_resampling_at_loading_dataset_with_audio_feature(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = {"audio": [audio_path]} features = Features({"audio": Audio(sampling_rate=16000)}) dset = Dataset.from_dict(data, features=features) > item = dset[0] ^^^^^^^ tests/features/test_audio.py:389: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ___________________ FormatterTest.test_numpy_formatter_audio ___________________ [gw75] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python self = @require_torchcodec def test_numpy_formatter_audio(self): pa_table = pa.table({"audio": [{"bytes": None, "path": str(AUDIO_PATH_1)}]}) formatter = NumpyFormatter(features=Features({"audio": Audio()})) > row = formatter.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_formatting.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/formatting/np_formatter.py:104: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_dataset_cast_to_audio_features[1] ________________ [gw20] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw20/test_dataset_cast_to_audio_fea5/data') build_data = at 0x3f35376cf0> @require_torchcodec @pytest.mark.parametrize( "build_data", [ lambda audio_path: {"audio": [audio_path]}, lambda audio_path: {"audio": [open(audio_path, "rb").read()]}, lambda audio_path: {"audio": [{"path": audio_path}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": None}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"path": None, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"bytes": open(audio_path, "rb").read()}]}, ], ) def test_dataset_cast_to_audio_features(shared_datadir, build_data): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = build_data(audio_path) dset = Dataset.from_dict(data) > item = dset.cast(Features({"audio": Audio()}))[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:682: in format_table formatted_output = formatter(pa_table_to_format, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:216: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_dataset_concatenate_nested_audio_features ________________ [gw7] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw7/test_dataset_concatenate_neste2/data') @require_torchcodec def test_dataset_concatenate_nested_audio_features(shared_datadir): # we use a different data structure between 1 and 2 to make sure they are compatible with each other audio_path = str(shared_datadir / "test_audio_44100.wav") features = Features({"list_of_structs_of_audios": [{"audio": Audio()}]}) data1 = {"list_of_structs_of_audios": [[{"audio": audio_path}]]} dset1 = Dataset.from_dict(data1, features=features) data2 = {"list_of_structs_of_audios": [[{"audio": {"bytes": open(audio_path, "rb").read()}}]]} dset2 = Dataset.from_dict(data2, features=features) concatenated_dataset = concatenate_datasets([dset1, dset2]) assert len(concatenated_dataset) == len(dset1) + len(dset2) assert ( > concatenated_dataset[0]["list_of_structs_of_audios"][0]["audio"].get_all_samples().data.shape ^^^^^^^^^^^^^^^^^^^^^^^ == dset1[0]["list_of_structs_of_audios"][0]["audio"].get_all_samples().data.shape ) tests/features/test_audio.py:562: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:682: in format_table formatted_output = formatter(pa_table_to_format, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1513: in decode_nested_example return [decode_nested_example(sub_schema, o) for o in obj] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1491: in decode_nested_example {k: decode_nested_example(sub_schema, sub_obj) for k, (sub_schema, sub_obj) in zip_dict(schema, obj)} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________ test_data_files_with_metadata_and_multiple_splits[jsonl-False] ________ [gw91] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python streaming = False cache_dir = '/tmp/pytest-of-builduser/pytest-0/popen-gw91/test_data_files_with_metadata_8/audiofolder_cache_dir' data_files_with_two_splits_and_metadata = {NamedSplit('train'): ['/tmp/pytest-of-builduser/pytest-0/popen-gw91/test_data_files_with_metadata_8/audiofolder_data_...builduser/pytest-0/popen-gw91/test_data_files_with_metadata_8/audiofolder_data_dir_with_metadata/test/metadata.jsonl']} @require_torchcodec @pytest.mark.parametrize("streaming", [False, True]) def test_data_files_with_metadata_and_multiple_splits(streaming, cache_dir, data_files_with_two_splits_and_metadata): data_files = data_files_with_two_splits_and_metadata audiofolder = AudioFolder(data_files=data_files, cache_dir=cache_dir) audiofolder.download_and_prepare() datasets = audiofolder.as_streaming_dataset() if streaming else audiofolder.as_dataset() for split, data_files in data_files.items(): expected_num_of_audios = len(data_files) - 1 # don't count the metadata file assert split in datasets > dataset = list(datasets[split]) ^^^^^^^^^^^^^^^^^^^^^ tests/packaged_modules/test_audiofolder.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:2765: in __iter__ formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError __________ test_resampling_at_loading_dataset_with_audio_feature_mp3 ___________ [gw9] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw9/test_resampling_at_loading_dat5/data') @require_torchcodec def test_resampling_at_loading_dataset_with_audio_feature_mp3(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.mp3") data = {"audio": [audio_path]} features = Features({"audio": Audio(sampling_rate=16000)}) dset = Dataset.from_dict(data, features=features) > item = dset[0] ^^^^^^^ tests/features/test_audio.py:418: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_dataset_cast_to_audio_features[2] ________________ [gw20] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw20/test_dataset_cast_to_audio_fea8/data') build_data = at 0x3f35376da0> @require_torchcodec @pytest.mark.parametrize( "build_data", [ lambda audio_path: {"audio": [audio_path]}, lambda audio_path: {"audio": [open(audio_path, "rb").read()]}, lambda audio_path: {"audio": [{"path": audio_path}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": None}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"path": None, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"bytes": open(audio_path, "rb").read()}]}, ], ) def test_dataset_cast_to_audio_features(shared_datadir, build_data): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = build_data(audio_path) dset = Dataset.from_dict(data) > item = dset.cast(Features({"audio": Audio()}))[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:682: in format_table formatted_output = formatter(pa_table_to_format, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ___________________ FormatterTest.test_torch_formatter_audio ___________________ [gw45] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python self = @require_torch @require_torchcodec def test_torch_formatter_audio(self): import torch from datasets.formatting import TorchFormatter pa_table = pa.table({"audio": [{"bytes": None, "path": str(AUDIO_PATH_1)}]}) formatter = TorchFormatter(features=Features({"audio": Audio()})) > row = formatter.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/test_formatting.py:471: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/formatting/torch_formatter.py:114: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_dataset_cast_to_audio_features[3] ________________ [gw20] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw20/test_dataset_cast_to_audio_fea11/data') build_data = at 0x3f35376e50> @require_torchcodec @pytest.mark.parametrize( "build_data", [ lambda audio_path: {"audio": [audio_path]}, lambda audio_path: {"audio": [open(audio_path, "rb").read()]}, lambda audio_path: {"audio": [{"path": audio_path}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": None}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"path": None, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"bytes": open(audio_path, "rb").read()}]}, ], ) def test_dataset_cast_to_audio_features(shared_datadir, build_data): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = build_data(audio_path) dset = Dataset.from_dict(data) > item = dset.cast(Features({"audio": Audio()}))[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:682: in format_table formatted_output = formatter(pa_table_to_format, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_dataset_with_audio_feature_map_is_decoded ________________ [gw7] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw7/test_dataset_with_audio_featur3/data') @require_torchcodec def test_dataset_with_audio_feature_map_is_decoded(shared_datadir): audio_path = str(shared_datadir / "test_audio_44100.wav") data = {"audio": [audio_path], "text": ["Hello"]} features = Features({"audio": Audio(), "text": Value("string")}) dset = Dataset.from_dict(data, features=features) def process_audio_sampling_rate_by_example(example): sample_rate = example["audio"].get_all_samples().sample_rate example["double_sampling_rate"] = 2 * sample_rate return example > decoded_dset = dset.map(process_audio_sampling_rate_by_example) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:605: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:576: in wrapper out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3633: in map for rank, done, content in Dataset._map_single(**unprocessed_kwargs): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3973: in _map_single for i, example in iter_outputs(shard_iterable): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3951: in iter_outputs yield i, apply_function(example, i, offset=offset) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3872: in apply_function processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:601: in process_audio_sampling_rate_by_example sample_rate = example["audio"].get_all_samples().sample_rate ^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:301: in __getitem__ value = self.format(key) ^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:396: in format return self.formatter.format_column(self.pa_table.select([key]))[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:481: in format_column column = self.python_features_decoder.decode_column(column, pa_table.column_names[0]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:244: in decode_column self.features.decode_column(column, column_name, token_per_repo_id=self.token_per_repo_id) test-env/lib/python3.14/site-packages/datasets/features/features.py:2247: in decode_column decode_nested_example(self[column_name], value, token_per_repo_id=token_per_repo_id) test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ___________ test_resampling_after_loading_dataset_with_audio_feature ___________ [gw9] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw9/test_resampling_after_loading_2/data') @require_torchcodec def test_resampling_after_loading_dataset_with_audio_feature(shared_datadir): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = {"audio": [audio_path]} features = Features({"audio": Audio()}) dset = Dataset.from_dict(data, features=features) > item = dset[0] ^^^^^^^ tests/features/test_audio.py:447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:674: in format_table return formatter(pa_table, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:196: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError ________________ test_dataset_cast_to_audio_features[4] ________________ [gw20] linux -- Python 3.14.7 /build/python-datasets/src/datasets-5.0.1/test-env/bin/python shared_datadir = PosixPath('/tmp/pytest-of-builduser/pytest-0/popen-gw20/test_dataset_cast_to_audio_fea14/data') build_data = at 0x3f35376f00> @require_torchcodec @pytest.mark.parametrize( "build_data", [ lambda audio_path: {"audio": [audio_path]}, lambda audio_path: {"audio": [open(audio_path, "rb").read()]}, lambda audio_path: {"audio": [{"path": audio_path}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": None}]}, lambda audio_path: {"audio": [{"path": audio_path, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"path": None, "bytes": open(audio_path, "rb").read()}]}, lambda audio_path: {"audio": [{"bytes": open(audio_path, "rb").read()}]}, ], ) def test_dataset_cast_to_audio_features(shared_datadir, build_data): from torchcodec.decoders import AudioDecoder audio_path = str(shared_datadir / "test_audio_44100.wav") data = build_data(audio_path) dset = Dataset.from_dict(data) > item = dset.cast(Features({"audio": Audio()}))[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/features/test_audio.py:524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3158: in __getitem__ return self._getitem(key) ^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/arrow_dataset.py:3140: in _getitem formatted_output = format_table( test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:682: in format_table formatted_output = formatter(pa_table_to_format, query_type=query_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:427: in __call__ return self.format_row(pa_table) ^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:476: in format_row row = self.python_features_decoder.decode_row(row) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/formatting/formatting.py:240: in decode_row return self.features.decode_example(row, token_per_repo_id=self.token_per_repo_id) if self.features else row ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:2223: in decode_example column_name: decode_nested_example(feature, value, token_per_repo_id=token_per_repo_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/features.py:1524: in decode_nested_example return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ test-env/lib/python3.14/site-packages/datasets/features/audio.py:216: in decode_example audio = AudioDecoder( /usr/lib/python3.14/site-packages/torchcodec/decoders/_audio_decoder.py:73: in __init__ ) = create_audio_decoder( /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:81: in create_audio_decoder decoder = create_decoder(source=source, seek_mode=seek_mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.14/site-packages/torchcodec/_core/_decoder_utils.py:46: in create_decoder load_core_libraries() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @functools.cache def load_core_libraries() -> tuple[int, str]: """Load the FFmpeg-dependent shared libraries, memoizing the result. This raises if the libraries cannot be loaded, typically because FFmpeg couldn't be found. This is called: - at import time (import torchcodec) within a try/except, to determine whether FFmpeg is available, and then load the corresponding ops if it is. If FFmpeg isn't available, we don't propagate the exception and `import torchcodec` still works: we still want to support the image decoders, which don't need FFmpeg. - at runtime in all FFmpeg-dependent public entry-points like VideoDecoder, so that if FFmpeg isn't available the user gets a clear error message. Since this is @functools.cache'd, the libraries are only ever loaded once on success. Failures are *not* cached (functools.cache only caches return values), so when FFmpeg is missing the load is retried and re-raises on each call. That's fine, it only happens on the error path. We successively try to load the shared libraries for each version of FFmpeg that we support, starting with the highest version and working our way down. Once we can load the core and custom-ops libraries for a version of FFmpeg, we have succeeded and we stop. We load them via torch.ops.load_library(), which registers the custom ops with PyTorch's runtime so they're accessible through torch.ops. """ exceptions = [] for ffmpeg_major_version in (9, 8, 7, 6, 5, 4): core_library_name = f"libtorchcodec_core{ffmpeg_major_version}" custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}" try: core_library_path = _get_extension_path(core_library_name) torch.ops.load_library(core_library_path) torch.ops.load_library(_get_extension_path(custom_ops_library_name)) return (ffmpeg_major_version, core_library_path) except Exception: # Capture the full traceback for this exception exc_traceback = traceback.format_exc() exceptions.append((ffmpeg_major_version, exc_traceback)) traceback_info = ( "\n[start of libtorchcodec loading traceback]\n" + "\n".join(f"FFmpeg version {v}:\n{tb}" for v, tb in exceptions) + "[end of libtorchcodec loading traceback]." ) > raise RuntimeError( f"""Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version ({torch.__version__}) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: """ f"{traceback_info}" ) E RuntimeError: Could not load libtorchcodec. Likely causes: E 1. FFmpeg is not properly installed in your environment. We support E versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec E for each of those versions. Errors for versions not installed on E your system are expected; only the error for your installed FFmpeg E version is relevant. On Windows, ensure you've installed the E "full-shared" version which ships DLLs. E 2. The PyTorch version (2.14.0) is not compatible with E this version of TorchCodec. Refer to the version compatibility E table: E https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. E 3. Another runtime dependency; see exceptions below. E E The following exceptions were raised as we tried to load libtorchcodec: E E [start of libtorchcodec loading traceback] E FFmpeg version 9: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library E ctypes.CDLL(path) E ~~~~~~~~~~~^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ E self._handle = self._load_library(name, mode, handle, winmode) E ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library E return _dlopen(name, mode) E OSError: libavfilter.so.12: cannot open shared object file: No such file or directory E E The above exception was the direct cause of the following exception: E E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries E torch.ops.load_library(core_library_path) E ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ E File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library E raise OSError(f"Could not load this library: {path}") from e E OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so E E FFmpeg version 8: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core8 E E FFmpeg version 7: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core7 E E FFmpeg version 6: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core6 E E FFmpeg version 5: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core5 E E FFmpeg version 4: E Traceback (most recent call last): E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries E core_library_path = _get_extension_path(core_library_name) E File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path E raise ImportError(f"No spec found for {lib_name}") E ImportError: No spec found for libtorchcodec_core4 E [end of libtorchcodec loading traceback]. /usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py:145: RuntimeError =============================== warnings summary =============================== src/datasets/filesystems/__init__.py:26: 128 warnings /build/python-datasets/src/datasets-5.0.1/src/datasets/filesystems/__init__.py:26: UserWarning: A filesystem protocol was already set for bz2 and will be overwritten. warnings.warn(f"A filesystem protocol was already set for {fs_class.protocol} and will be overwritten.") src/datasets/filesystems/__init__.py:26: 128 warnings /build/python-datasets/src/datasets-5.0.1/src/datasets/filesystems/__init__.py:26: UserWarning: A filesystem protocol was already set for gzip and will be overwritten. warnings.warn(f"A filesystem protocol was already set for {fs_class.protocol} and will be overwritten.") src/datasets/filesystems/__init__.py:26: 128 warnings /build/python-datasets/src/datasets-5.0.1/src/datasets/filesystems/__init__.py:26: UserWarning: A filesystem protocol was already set for lz4 and will be overwritten. warnings.warn(f"A filesystem protocol was already set for {fs_class.protocol} and will be overwritten.") src/datasets/filesystems/__init__.py:26: 128 warnings /build/python-datasets/src/datasets-5.0.1/src/datasets/filesystems/__init__.py:26: UserWarning: A filesystem protocol was already set for xz and will be overwritten. warnings.warn(f"A filesystem protocol was already set for {fs_class.protocol} and will be overwritten.") src/datasets/filesystems/__init__.py:26: 128 warnings /build/python-datasets/src/datasets-5.0.1/src/datasets/filesystems/__init__.py:26: UserWarning: A filesystem protocol was already set for zstd and will be overwritten. warnings.warn(f"A filesystem protocol was already set for {fs_class.protocol} and will be overwritten.") tests/features/test_image.py::test_formatted_dataset_with_image_feature_map tests/features/test_image.py::test_dataset_with_image_feature_map_change_image tests/test_arrow_dataset.py::test_dataset_format_with_unformatted_image /build/python-datasets/src/datasets-5.0.1/test-env/lib/python3.14/site-packages/datasets/features/image.py:397: UserWarning: Downcasting array dtype int64 to uint8 to be compatible with 'Pillow' warnings.warn(f"Downcasting array dtype {dtype} to {dest_dtype} to be compatible with 'Pillow'") tests/test_arrow_dataset.py::BaseDatasetTest::test_sort_on_disk tests/test_arrow_dataset.py::test_sort_with_none[last] tests/test_arrow_dataset.py::BaseDatasetTest::test_sort_in_memory tests/test_arrow_dataset.py::test_sort_with_none[first] tests/test_dataset_dict.py::DatasetDictTest::test_sort /usr/lib/python3.14/site-packages/pyarrow/compute.py:230: FutureWarning: Specifying null_placement in SortOptions is deprecated as of 25.0.0. Specify null_placement per sort_key instead. return options_class(*args, **kwargs) tests/test_iterable_dataset.py::test_with_format_torch /build/python-datasets/src/datasets-5.0.1/test-env/lib/python3.14/site-packages/datasets/formatting/torch_formatter.py:93: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.detach().clone() or sourceTensor.detach().clone().requires_grad_(True), rather than torch.tensor(sourceTensor). return torch.tensor(value, **{**default_dtype, **self.torch_tensor_kwargs}) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/features/test_audio.py::test_audio_decode_example_opus - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example[2] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example[8] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_video_feature_encode_example[4] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-48000] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_decode_example_pcm[16000] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example[3] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example_pcm[0] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_video_feature_encode_example[5] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_stereo - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example[0] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_video_feature_encode_example[0] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_decode_example_pcm[48000] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example[4] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_video_feature_encode_example[6] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-16000] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_formatted_dataset_with_audio_feature - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example_pcm[1] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_decode_example_opus_convert_to_mono - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_video_feature_encode_example[1] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example[5] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_resampling_mp3_different_sampling_rates - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[5] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example_pcm[2] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_video_feature_encode_example[7] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_with_audio_feature_tar_wav - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_video_feature_encode_example[2] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example_pcm[3] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[48000-48000] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_backwards_compatibility - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature_mp3 - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example[6] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/packaged_modules/test_audiofolder.py::test_generate_examples_with_labels - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-True] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_dataset_with_video_feature_map_is_decoded - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example[1] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/packaged_modules/test_webdataset.py::test_audio_webdataset - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_decode_example - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_dataset_with_video_feature - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_load_dataset_with_audio_feature[False] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_resampling - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[6] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example_audiodecoder[16000-16000] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[False] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_feature_encode_example[7] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-False] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_video_feature_encode_example[3] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_with_audio_feature_tar_mp3 - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_load_dataset_with_audio_feature[True] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[0] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_with_audio_feature - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_load_dataset_with_video_feature[False] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[csv-True] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_dataset_with_video_map_and_formatted - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_concatenate_audio_features - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_audio_decode_example_mp3 - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_single_split[True] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_video.py::test_load_dataset_with_video_feature[True] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/test_formatting.py::FormatterTest::test_numpy_formatter_audio - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[1] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_concatenate_nested_audio_features - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/packaged_modules/test_audiofolder.py::test_data_files_with_metadata_and_multiple_splits[jsonl-False] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_resampling_at_loading_dataset_with_audio_feature_mp3 - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[2] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/test_formatting.py::FormatterTest::test_torch_formatter_audio - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[3] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_with_audio_feature_map_is_decoded - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_resampling_after_loading_dataset_with_audio_feature - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. FAILED tests/features/test_audio.py::test_dataset_cast_to_audio_features[4] - RuntimeError: Could not load libtorchcodec. Likely causes: 1. FFmpeg is not properly installed in your environment. We support versions 4, 5, 6, 7, 8, and 9, and we attempt to load libtorchcodec for each of those versions. Errors for versions not installed on your system are expected; only the error for your installed FFmpeg version is relevant. On Windows, ensure you've installed the "full-shared" version which ships DLLs. 2. The PyTorch version (2.14.0) is not compatible with this version of TorchCodec. Refer to the version compatibility table: https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec. 3. Another runtime dependency; see exceptions below. The following exceptions were raised as we tried to load libtorchcodec: [start of libtorchcodec loading traceback] FFmpeg version 9: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1587, in load_library ctypes.CDLL(path) ~~~~~~~~~~~^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 433, in __init__ self._handle = self._load_library(name, mode, handle, winmode) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/ctypes/__init__.py", line 475, in _load_library return _dlopen(name, mode) OSError: libavfilter.so.12: cannot open shared object file: No such file or directory The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 132, in load_core_libraries torch.ops.load_library(core_library_path) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.14/site-packages/torch/_ops.py", line 1589, in load_library raise OSError(f"Could not load this library: {path}") from e OSError: Could not load this library: /usr/lib/python3.14/site-packages/torchcodec/libtorchcodec_core9.so FFmpeg version 8: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core8 FFmpeg version 7: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core7 FFmpeg version 6: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core6 FFmpeg version 5: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core5 FFmpeg version 4: Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 131, in load_core_libraries core_library_path = _get_extension_path(core_library_name) File "/usr/lib/python3.14/site-packages/torchcodec/_internally_replaced_utils.py", line 44, in _get_extension_path raise ImportError(f"No spec found for {lib_name}") ImportError: No spec found for libtorchcodec_core4 [end of libtorchcodec loading traceback]. = 70 failed, 2843 passed, 173 skipped, 649 warnings, 140 rerun in 329.47s (0:05:29) = ==> ERROR:(B A failure occurred in check().(B  Aborting...(B ]3008;end=8ee9645b33a74df286e596334aada714\[!p]104\[?7h]3008;end=43ee78a79be845f8813e648ca9dc3463\==> ERROR:(B Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build(B [?12l[?25h[?12l[?25h]3008;end=6101e8291e944363bb0d409958ef2ac3\[?12l[?25hreceiving incremental file list python-datasets-5.0.1-1-riscv64-build.log python-datasets-5.0.1-1-riscv64-check.log python-datasets-5.0.1-1-riscv64-prepare.log sent 81 bytes received 89,227 bytes 25,516.57 bytes/sec total size is 1,763,951 speedup is 19.75