holzschu / a-shell

A terminal for iOS, with multiple windows
BSD 3-Clause "New" or "Revised" License
2.58k stars 116 forks source link

is it possible to make mlx work under a-shell? #802

Open speculaas opened 1 month ago

speculaas commented 1 month ago

Dear Mr Holzschu,

Thanks for this wonderful repo and app.

My question is as title and mlx means: https://pypi.org/project/mlx/

A array library for apple silicon.

speculaas commented 1 month ago

Currently what I got is:

pip3 install mlx Defaulting to user installation because normal site-packages is not writeable ERROR: Could not find a version that satisfies the requirement mlx (from versions: none) ERROR: No matching distribution found for mlx

holzschu commented 1 month ago

The user cannot add binaries to an existing app. It's both forbidden by the developer AppStore rules, and prevented by multiple technical locks put in place by Apple in the system. It's only allowed to add user-readable text files (so Python source code is allowed). Hence adding mlx is not possible at the user level. I'll have to add it to the app itself. That will have to be after the move to Python 3.13 (a big one).

Emasoft commented 2 days ago

I approve this feature request! 👏🏻👌🏻 All new iPhones and iPads have M chips and are extremely powerful, but there is no code environment to play with that power except for a-Shell. a-Shell will become the de-facto standard dev platform for AI and ML on iPhone/iPad once it incorporates MLX.