-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
pythonIssues related to Halide/Python interopIssues related to Halide/Python interop
Description
See #8864 for context and details.
Minimal example: Create an invalid libHalide.so somewhere on the library path, and observe that any Halide Python bindings fail to load:
$ echo '' > ~/.local/lib/libHalide.so
$ pip install halide
$ python -c 'import halide'
Traceback (most recent call last):
File "<string>", line 1, in <module>
import halide
File ".venv/lib/python3.13/site-packages/halide/__init__.py", line 15, in <module>
from .halide_ import * # noqa: E402, F403
^^^^^^^^^^^^^^^^^^^^^^
ImportError: ~/.local/lib/libHalide.so: file too shortMetadata
Metadata
Assignees
Labels
pythonIssues related to Halide/Python interopIssues related to Halide/Python interop