mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-10-24 06:28:07 +08:00
@@ -14,10 +14,16 @@ Run the example with:
|
||||
python main.py
|
||||
```
|
||||
|
||||
By default the example runs on the CPU. To run on the GPU, use:
|
||||
By default, the example runs on the CPU. To run on the GPU, use:
|
||||
|
||||
```
|
||||
python main.py --gpu
|
||||
```
|
||||
|
||||
For a full list of options run:
|
||||
|
||||
```
|
||||
python main.py --help
|
||||
```
|
||||
|
||||
To run the PyTorch or Jax examples install the respective framework.
|
||||
|
||||
Reference in New Issue
Block a user