Installation#
mlx-graphs is available on Pypi. To install run
pip install mlx-graphs
Build from source#
To build and install mlx-graphs from source start by cloning the github repo
git clone git@github.com:mlx-graphs/mlx-graphs.git && cd mlx-graphs
Then build and install using pip (we suggest using a separate virtual environment)
pip install -e .
Installing test, dev, benchmarks, docs dependencies#
To install any extra dependencies for testing, development and building documentation, you can run any of the following
pip install -e '.[test]'
pip install -e '.[dev]'
pip install -e '.[benchmarks]'
pip install -e '.[docs]'
For dev purposes you may want to install the current version of mlx via pip install mlx @ git+https://github.com/ml-explore/mlx.git