Export t as a DLPack PyCapsule.
A Metal tensor exports natively — the capsule carries its
MTLBuffer, so an MLX consumer reads the same pages rather than a
downloaded copy. A CPU tensor materialises through NumPy. Either
capsule can be consumed exactly once.
Requires numpy for the host dialect — install via
pip install lucid[numpy] if missing.