From 398b87d3bb775c4f5e45b07a09abe327284a288e Mon Sep 17 00:00:00 2001 From: Samuel Ainsworth Date: Wed, 12 Feb 2025 01:10:31 -0500 Subject: [PATCH] Add license to README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 1b6ebf3..179512c 100644 --- a/README.md +++ b/README.md @@ -146,3 +146,12 @@ PyTorch has a non-trivial API surface to cover. Contributions are welcome! Run the test suite with `pytest` running in `nix develop`. Format the codebase with `ruff check --fix . && ruff format .`. Build the package with `nix build`. CI is handled by GitHub Actions. When modifying the CI configuration, it can be handy to test locally before pushing. This can be achieved with [act](https://github.com/nektos/act/issues/269). Run `act` within `nix develop` to run the CI locally. + +## License +torch2jax is licensed depending on your usecase. In general, torch2jax is licensed under the [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html) license. That being said, torch2jax is also available under an [MIT](https://opensource.org/license/mit) license in the following contexts: + +1. You are using torch2jax for personal, non-commercial use. +2. You are using torch2jax in a not-for-profit organization and for non-commercial use, eg. academia. +3. You are using torch2jax in a commercial context within a company of 25 people or fewer. + +Please reach out to discuss licensing options if you are interested in using torch2jax under an MIT license in any other context. A portion of all proceeds go to axial spondyloarthritis (aka ankylosing spondylitis) research.