Skip to content

mps-pointops 0.1.1

Choose a tag to compare

@gamzerA gamzerA released this 30 Sep 20:04
· 220 commits to main since this release

Patch release. Use this instead of 0.1.0.

Fixed

  • Minimum PyTorch version is 2.7. 0.1.0 declared torch>=2.6, but the kernels are compiled with torch.mps.compile_shader, which PyTorch 2.6 does not have (71 of 85 tests fail there). 0.1.1 requires torch>=2.7, and a PyTorch build without compile_shader now gets a clear error on first use instead of an AttributeError.
  • ball_query checks radius and K the same way on every device. The CPU path used to accept negative, infinite and NaN radii (a negative radius behaved like its absolute value) and positive radii below the supported minimum, all of which the MPS path rejects. It also checks input shapes now.
  • The source distribution includes docs/, bench/, examples/ and tools/, which the README links to.

Added

  • CI on GitHub Actions. On GitHub's Apple Silicon macOS runners (Apple M1, virtual) the MPS tests run on the runner GPU, in Metal safe and fast math, for Python 3.10 and 3.12 with the latest PyTorch and for the oldest supported combination, Python 3.10 with PyTorch 2.7.0: 105 tests passed in each macOS configuration. Linux runs the CPU tests, and a packaging job checks that the wheel carries the Metal kernels and license files.
  • CHANGELOG.md.

Install

pip install "git+https://github.com/gamzerA/mps-pointops.git@v0.1.1"

Or install the wheel attached below; SHA256SUMS lists the checksums.

Full changes: v0.1.0...v0.1.1