Kernels for scipy.special statistical functions
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 28.5k
- Forks
- 2.3k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 62
Description
Is there appetite for PRs adding metal kernels of scipy.special functions used in probabilistic programming, such as:
Context: I'm a dev of pymc/pytensor, we're interested in expanding MLX support as a compute backend for bayesian models. These functions are important for computing the logp of various distributions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Use the linked TensorFlow Probability implementations for erfcinv, bessel_ive, bessel_kve, betaincinv, igammainv, and gammainccinv, plus XLA's math.cc references for psi and polygamma. First confirm the function scope and expected MLX kernel interfaces with maintainers; done means the agreed functions are implemented and their results are validated against scipy.special.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- backend, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100