Files
mlx-examples/llms/mlx_lm/models
Alex Cheema cd8efc7fbc Add support for Llama-3.1 (#907)
* add dynamicNTK scaling rope

* remove unused var

* fix rope base

* llama3.1 fixes

* TODO for rope eval

* vectorise llama3 base freq calculation

* removed the arbitrary 2.0 rope_scale default case

* fix slow llama3.1 generation by evaluating stateless part of DynamicNTKScalingRoPE in init

* nits + format

* use mx.pi

* fix tests and add test for 3.1

---------

Co-authored-by: Prince Canuma <prince.gdt@gmail.com>
Co-authored-by: Awni Hannun <awni@apple.com>
2024-07-23 13:21:32 -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
2024-05-08 08:18:13 -07:00
2024-06-02 16:33:20 -07:00
2024-07-11 06:13:17 -07:00
2024-07-23 13:21:32 -07:00
2024-05-08 08:18:13 -07:00
2024-05-31 12:36:05 -07:00
2024-05-08 08:18:13 -07:00
2024-05-08 08:18:13 -07:00
2024-07-12 07:19:11 -07:00
2024-05-08 08:18:13 -07:00
2024-05-31 12:36:05 -07:00
2024-05-08 08:18:13 -07:00
2024-05-08 08:18:13 -07:00
2024-05-08 08:18:13 -07:00