outlines-dev / outlines

Structured Text Generation
https://outlines-dev.github.io/outlines/
Apache License 2.0
6.94k stars 357 forks source link

Update `pyproject.toml`, enable `mlx-lm` requirement only on darwin, disable `vllm` requirement on darwin #1005

Closed lapp0 closed 5 days ago

lapp0 commented 6 days ago

Problem

pip install -e .[test] fails under two addressed conditions:

Solution

Update pyproject.toml, ensure vllm and mlx-lm are installed only on appropriate systems.