Files
mlx-examples/llms/mlx_lm
Awni Hannun ee60e2a9d5 Kv cache (#643)
* in place kv_cache

* fix

* fix kv cache size

* partially fix kv cache dtype

* step kv cache

* multiple of step size

* more teests + kv cache

* more kv cache

* udpate all models to use kv cache
2024-05-08 08:18:13 -07:00
..
2024-04-28 10:24:34 -07:00
2024-05-08 08:18:13 -07:00
2024-02-27 08:47:56 -08:00
2024-04-02 13:52:53 -07:00
2024-04-25 15:29:28 -07:00
2024-05-02 21:55:09 -07:00
2024-01-23 08:44:37 -08:00
2024-04-11 13:18:23 -07:00
2024-05-08 08:18:13 -07:00
2024-01-12 10:25:56 -08:00
2024-05-08 08:18:13 -07:00
2024-05-08 08:18:13 -07:00

Generate Text with MLX and 🤗 Hugging Face

This an example of large language model text generation that can pull models from the Hugging Face Hub.

For more information on this example, see the README in the parent directory.

This package also supports fine tuning with LoRA or QLoRA. For more information see the LoRA documentation.