Skip to content

Symbol not found error #16

Description

@jsissom

On Mac M5 Max.

Python and uv installed via brew

uv run scripts/generate.py "Your prompt" --pipeline distilled

Traceback (most recent call last):
File "/Users/jsissom/work/LTX-2-MLX/scripts/generate.py", line 10, in
import mlx.core as mx
ImportError: dlopen(/Users/jsissom/work/LTX-2-MLX/.venv/lib/python3.14/site-packages/mlx/core.cpython-314-darwin.so, 0x0002): Symbol not found: __ZN3mlx4core10dequantizeERKNS0_5arrayES3_RKNSt3__18optionalIS1_EENS5_IiEES9_RKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEENS5_INS0_5DtypeEEENS4_7variantIJNS4_9monostateENS0_6StreamENS0_6DeviceEEEE
Referenced from: /Users/jsissom/work/LTX-2-MLX/.venv/lib/python3.14/site-packages/mlx/core.cpython-314-darwin.so
Expected in: /opt/homebrew/Cellar/mlx/0.31.1/lib/libmlx.dylib

This happens no matter what I pass to generate.py.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions