make it _much_ easier to run command line tools from the command line (#49)

This commit is contained in:
David Koski
2024-04-09 12:23:42 -07:00
committed by GitHub
parent c27208812d
commit cedf73421f
4 changed files with 77 additions and 14 deletions

View File

@@ -18,7 +18,19 @@ Example [MLX Swift](https://github.com/ml-explore/mlx-swift) programs.
- [mnist-tool](Tools/mnist-tool/README.md): A command line tool for training a
a LeNet on MNIST.
## Running
The application and command line tool examples can be run from Xcode or from
the command line:
```
./mlx-run llm-tool --prompt "swift programming language"
```
See also:
- [MLX troubleshooting](https://ml-explore.github.io/mlx-swift/MLX/documentation/mlx/troubleshooting)
## Installation of MLXLLM and MLXMNIST libraries