We want to make contributing to this project as easy and transparent as possible.
-
Fork and submit pull requests to the repo.
-
If you've added code that should be tested, add tests.
-
If you've changed APIs, update the documentation.
-
Every PR should have passing tests and at least one review.
-
For code formatting install
pre-commit
using something likepip install pre-commit
and runpre-commit install
. If needed you may need tobrew install swift-format
.You can also run the formatters manually as follows:
swift-format -i Source/MLX/*.swift
or run
pre-commit run --all-files
to check all files in the repo.
We use GitHub issues to track public bugs. Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue.
By contributing to MLX Swift, you agree that your contributions will be licensed under the LICENSE file in the root directory of this source tree.