ml-explore / mlx-examples

Examples in the MLX framework
MIT License
5.92k stars 838 forks source link

support for Gemma 2 #858

Closed Rehan-shah closed 3 months ago

Rehan-shah commented 3 months ago

when using the models from the mlx community it prints out this error:

ValueError: Model type gemma2 does not supported

awni commented 3 months ago

You need to update MLX LM: pip install -U mlx-lm. It should be version 15.0 (python -c "import mlx_lm; print(mlx_lm.__version__)")