Skip to content

Commit 608b270

Browse files
author
Dmitry Rogozhkin
committed
Make project with last version of PR938
See: meta-pytorch/torchcodec#938 Signed-off-by: Dmitry Rogozhkin <[email protected]>
1 parent 2352e93 commit 608b270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec_xpu/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def _get_extension_path(lib_name: str) -> str:
3737

3838
def load_torchcodec_xpu_shared_library():
3939
exceptions = []
40-
ffmpeg_major_version = torchcodec.variant
40+
ffmpeg_major_version = torchcodec.ffmpeg_major_version
4141
xpu_library_name = f"libtorchcodec_xpu{ffmpeg_major_version}"
4242
try:
4343
ctypes.CDLL(torchcodec.core_library_path)

0 commit comments

Comments
 (0)