| `trust_remote_code` is not supported anymore. |
| Please check that the Hugging Face dataset 'librispeech_asr' isn't based on a loading script and remove `trust_remote_code`. |
| If the dataset is based on a loading script, please ask the dataset author to remove it and convert it to a standard format like Parquet. |
| Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads. |
| /usr/lib/python3/dist-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.17.3 and <1.25.0 is required for this version of SciPy (detected version 1.26.4 |
| warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}" |
| Warning: Could not load libtorchcodec. Likely causes: |
| 1. FFmpeg is not properly installed in your environment. We support |
| versions 4, 5, 6, 7, and 8, 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.7.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 8: |
| Traceback (most recent call last): |
| File "/home/ubuntu/.local/lib/python3.10/site-packages/torchcodec/_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries |
| torch.ops.load_library(core_library_path) |
| File "/usr/lib/python3/dist-packages/torch/_ops.py", line 1392, in load_library |
| ctypes.CDLL(path) |
| File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__ |
| self._handle = _dlopen(self._name, mode) |
| OSError: libnvrtc.so.13: cannot open shared object file: No such file or directory |
|
|
| FFmpeg version 7: |
| Traceback (most recent call last): |
| File "/home/ubuntu/.local/lib/python3.10/site-packages/torchcodec/_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries |
| torch.ops.load_library(core_library_path) |
| File "/usr/lib/python3/dist-packages/torch/_ops.py", line 1392, in load_library |
| ctypes.CDLL(path) |
| File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__ |
| self._handle = _dlopen(self._name, mode) |
| OSError: libnvrtc.so.13: cannot open shared object file: No such file or directory |
|
|
| FFmpeg version 6: |
| Traceback (most recent call last): |
| File "/home/ubuntu/.local/lib/python3.10/site-packages/torchcodec/_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries |
| torch.ops.load_library(core_library_path) |
| File "/usr/lib/python3/dist-packages/torch/_ops.py", line 1392, in load_library |
| ctypes.CDLL(path) |
| File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__ |
| self._handle = _dlopen(self._name, mode) |
| OSError: libnvrtc.so.13: cannot open shared object file: No such file or directory |
|
|
| FFmpeg version 5: |
| Traceback (most recent call last): |
| File "/home/ubuntu/.local/lib/python3.10/site-packages/torchcodec/_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries |
| torch.ops.load_library(core_library_path) |
| File "/usr/lib/python3/dist-packages/torch/_ops.py", line 1392, in load_library |
| ctypes.CDLL(path) |
| File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__ |
| self._handle = _dlopen(self._name, mode) |
| OSError: libnvrtc.so.13: cannot open shared object file: No such file or directory |
|
|
| FFmpeg version 4: |
| Traceback (most recent call last): |
| File "/home/ubuntu/.local/lib/python3.10/site-packages/torchcodec/_internally_replaced_utils.py", line 93, in load_torchcodec_shared_libraries |
| torch.ops.load_library(core_library_path) |
| File "/usr/lib/python3/dist-packages/torch/_ops.py", line 1392, in load_library |
| ctypes.CDLL(path) |
| File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__ |
| self._handle = _dlopen(self._name, mode) |
| OSError: libnvrtc.so.13: cannot open shared object file: No such file or directory |
| [end of libtorchcodec loading traceback]. |
| ERROR: Could not load samples |
|
|