We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f36d050 commit 6819070Copy full SHA for 6819070
src/torchcodec/decoders/_core/ops.py
@@ -46,7 +46,9 @@ def load_torchcodec_extension():
46
_get_extension_path(pybind_ops_library_name),
47
)
48
if spec is None:
49
- raise ImportError("Unable to load spec for pybind_ops")
+ spec = importlib.util.find_spec(pybind_ops_module_name)
50
+ if spec is None:
51
+ raise ImportError("Unable to load spec for pybind_ops")
52
53
global _pybind_ops
54
_pybind_ops = importlib.util.module_from_spec(spec)
0 commit comments