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 70a8364 commit edce04bCopy full SHA for edce04b
src/torchcodec/decoders/_core/ops.py
@@ -44,7 +44,6 @@ def load_torchcodec_extension():
44
)
45
global _pybind_ops
46
_pybind_ops = importlib.util.module_from_spec(spec)
47
- assert _pybind_ops is not None
48
return
49
except Exception as e:
50
# TODO: recording and reporting exceptions this way is OK for now as it's just for debugging,
@@ -131,7 +130,6 @@ def create_from_bytes(
131
130
def create_from_file_like(
132
file_like: io.RawIOBase, seek_mode: Optional[str] = None
133
) -> torch.Tensor:
134
135
return _convert_to_tensor(_pybind_ops.create_from_file_like(file_like, seek_mode))
136
137
0 commit comments