* add llms subdir + update README * nits * use same pre-commit as mlx * update readmes a bit * format |
||
|---|---|---|
| .. | ||
| jax_main.py | ||
| main.py | ||
| mnist.py | ||
| README.md | ||
| requirements.txt | ||
| torch_main.py | ||
MNIST
This example shows how to run some simple models on MNIST.
Install the dependencies:
pip install -r requirements.txt
Run the example with:
python main.py
By default the example runs on the CPU. To run on the GPU, use:
python main.py --gpu
To run the PyTorch or Jax examples install the respective framework.