Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 658 Bytes

File metadata and controls

39 lines (28 loc) · 658 Bytes

Contributing to mhc-mlx

We welcome contributions to improve speed, stability, and compatibility!

Development Setup

  1. Clone the repo:

    git clone https://github.com/svdrecbd/mhc-mlx.git
    cd mhc-mlx
  2. Install dependencies:

    pip install -e ".[dev,bench]"

Running Tests

Run the full suite:

python -m pytest

Note: Some tests require Apple Silicon to execute the Metal paths.

Benchmarking

Run the main benchmark:

PYTHONPATH=. python mhc_mlx/benchmark.py --mode latency

Auto-Tuning

If you've modified kernels, run the tuner:

PYTHONPATH=. python scripts/tune.py