Skip to content

Commit 6bebade

Browse files
authored
Add PyTorch 2.4 as a possible reason for libtorchodec failing to load (#224)
1 parent 4a02eff commit 6bebade

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/torchcodec/decoders/_core/video_decoder_ops.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ def load_torchcodec_extension():
4242
+ "\n[end of libtorchcodec loading traceback]."
4343
)
4444
raise RuntimeError(
45-
"Could not load libtorchcodec. "
46-
"Is FFmpeg (4, 5, 6, or 7) properly installed in your environment? "
47-
"The following exceptions were raised as we tried to load libtorchcodec: "
45+
"""Could not load libtorchcodec. Likely causes:
46+
1. FFmpeg is not properly installed in your environment. We support
47+
verisons 4, 5, 6 and 7.
48+
2. PyTorch 2.4 is not properly installed in your environment.
49+
3. Another runtime dependency; see exceptions below.
50+
The following exceptions were raised as we tried to load libtorchcodec:
51+
"""
4852
f"{traceback}"
4953
)
5054

0 commit comments

Comments
 (0)