Jean-Philippe Dournel
ebe38baaf9
community/mlx_pipeline: fix crash at mlx call ( #29915 )
...
- **Description:**
Since mlx_lm 0.20, all calls to mlx crash due to deprecation of the way
parameters are passed to methods generate and generate_step.
Parameters top_p, temp, repetition_penalty and repetition_context_size
are not passed directly to those method anymore but wrapped into
"sampler" and "logit_processor".
- **Dependencies:** mlx_lm (optional)
- **Tests:**
I've had a new test to existing test file:
tests/integration_tests/llms/test_mlx_pipeline.py
---------
Co-authored-by: Jean-Philippe Dournel <jp@insightkeeper.io >
2025-02-21 09:14:53 -05:00
..
2023-12-11 13:53:30 -08:00
2024-04-24 19:39:23 -04:00
2024-05-13 14:55:07 -04:00
2024-07-03 10:33:27 -07:00
2024-04-24 19:39:23 -04:00
2024-09-13 14:38:45 -07:00
2024-04-24 19:39:23 -04:00
2024-07-03 10:33:27 -07:00
2024-09-13 14:38:45 -07:00
2024-07-03 10:33:27 -07:00
2024-04-24 19:39:23 -04:00
2024-07-03 10:33:27 -07:00
2024-05-13 14:55:07 -04:00
2024-06-10 16:59:28 -04:00
2024-07-03 10:33:27 -07:00
2024-04-24 19:39:23 -04:00
2024-05-13 14:55:07 -04:00
2024-07-03 10:33:27 -07:00
2024-04-24 19:39:23 -04:00
2024-04-24 19:39:23 -04:00
2024-09-13 14:38:45 -07:00
2023-12-11 13:53:30 -08:00
2024-04-24 19:39:23 -04:00
2024-07-03 10:33:27 -07:00
2024-07-03 10:33:27 -07:00
2024-09-13 14:38:45 -07:00
2025-02-08 01:21:10 +00:00
2024-05-13 14:55:07 -04:00
2024-04-24 19:39:23 -04:00
2024-05-13 14:55:07 -04:00
2024-05-13 14:55:07 -04:00
2024-07-03 10:33:27 -07:00
2024-07-03 10:33:27 -07:00
2024-05-13 14:55:07 -04:00
2024-05-13 14:55:07 -04:00
2024-04-24 19:39:23 -04:00
2023-12-11 13:53:30 -08:00
2024-09-02 08:49:08 -04:00
2024-07-03 10:33:27 -07:00
2024-05-13 14:55:07 -04:00
2024-07-03 10:33:27 -07:00
2024-02-14 11:15:24 -08:00
2024-07-03 10:33:27 -07:00
2024-07-03 10:33:27 -07:00
2025-02-21 09:14:53 -05:00
2024-04-24 19:39:23 -04:00
2024-07-03 10:33:27 -07:00
2024-09-13 14:38:45 -07:00
2024-04-24 19:39:23 -04:00
2024-05-13 14:55:07 -04:00
2024-07-03 10:33:27 -07:00
2024-12-16 14:30:07 -05:00
2024-05-13 14:55:07 -04:00
2025-02-08 01:21:10 +00:00
2024-07-03 10:33:27 -07:00
2024-09-13 14:38:45 -07:00
2024-04-24 19:39:23 -04:00
2024-12-20 10:51:44 -05:00
2024-05-13 14:55:07 -04:00
2024-05-13 14:55:07 -04:00
2024-09-13 14:38:45 -07:00
2024-10-30 16:07:08 +00:00
2024-07-03 10:33:27 -07:00
2024-11-15 16:58:11 +00:00
2024-07-03 10:33:27 -07:00
2024-08-13 09:50:12 -04:00
2024-04-24 19:39:23 -04:00
2024-07-03 10:33:27 -07:00
2024-07-03 10:33:27 -07:00
2024-07-03 10:33:27 -07:00
2024-08-06 11:44:12 -04:00
2024-10-15 16:26:38 +00:00
2024-09-13 14:38:45 -07:00
2024-04-24 19:39:23 -04:00
2024-04-24 19:39:23 -04:00
2024-04-24 19:39:23 -04:00
2024-07-03 10:33:27 -07:00
2024-08-08 14:43:09 -04:00