File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/torchcodec/decoders/_core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def load_torchcodec_extension():
3535 decoder_library_name = f"libtorchcodec_decoder{ ffmpeg_major_version } "
3636 custom_ops_library_name = f"libtorchcodec_custom_ops{ ffmpeg_major_version } "
3737 pybind_ops_library_name = f"libtorchcodec_pybind_ops{ ffmpeg_major_version } "
38- pybind_ops_module_name = "torchcodec. _torchcodec_pybind_ops"
38+ pybind_ops_module_name = "_torchcodec_pybind_ops"
3939 try :
4040 torch .ops .load_library (_get_extension_path (decoder_library_name ))
4141 torch .ops .load_library (_get_extension_path (custom_ops_library_name ))
@@ -47,7 +47,7 @@ def load_torchcodec_extension():
4747 )
4848 global _pybind_ops
4949 if spec is None :
50- _pybind_ops = importlib .util . import_module (pybind_ops_module_name )
50+ _pybind_ops = importlib .import_module (pybind_ops_module_name )
5151 if _pybind_ops is None :
5252 raise ImportError ("Unable to load spec for pybind_ops" )
5353
You can’t perform that action at this time.
0 commit comments