Aesara as an array backend in Xarray
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.2k
- Forks
- 1.4k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 14
Description
Is your feature request related to a problem?
I recently learned about a meta-tensor library called Aesara which got me wondering if it would be a good array backend for Xarray.
Aesara is a Python library that allows you to define, optimize/rewrite, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It is composed of different parts:
- Symbolic representation of mathematical operations on arrays
- Speed and stability optimization
- Efficient symbolic differentiation
- Powerful rewrite system to programmatically modify your models
- Extendable backends. Aesara currently compiles to C, Jax and Numba.

xref: https://github.com/aesara-devs/aesara/issues/352, @OriolAbril, @twiecki
Has anyone looked into this yet?
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
The issue proposes evaluating Aesara as an array backend for Xarray and links to the related Aesara issue 352. Start by reviewing Xarray's existing array-backend interfaces and the linked discussion; done would require a decided compatibility and implementation scope, which the issue does not yet define.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100