aesara-devs / aesara

Aesara is a Python library for defining, optimizing, and efficiently evaluating mathematical expressions involving multi-dimensional arrays.
https://aesara.readthedocs.io
Other
1.17k stars 156 forks source link

Replace `aesara.tensor.sub` by `aesara.tensor.subtract` #1423

Open rlouf opened 1 year ago

rlouf commented 1 year ago

Add sub as an alias and add a deprecation warning.

https://numpy.org/doc/stable/reference/generated/numpy.subtract.html#numpy-subtract

AtharvaMaskar26 commented 2 months ago

Hey! I would like to work on this issue, is it still open?

brandonwillard commented 2 months ago

Hey! I would like to work on this issue, is it still open?

Yes, feel free. Just know that most of our team is currently focusing on our work on https://github.com/outlines-dev/outlines.

AtharvaMaskar26 commented 2 months ago

Hey! I am getting the following error when I'm trying to commit to my forked repository:

aesara\link\c\cmodule.py:2459: error: Unused "type: ignore" comment

image

Can someone help me with it?

brandonwillard commented 1 month ago

Sometimes that error appears due to the somewhat irregular way that pre-commit uses mypy (e.g. on only the files that have changed). You can ignore/disable the check in this instance and see if the error appears in CI after submitting a PR.

Also, note that there is an open PR associated with this, so you can always work from that.

Otherwise, sorry for the late reply; we're running another very active project (i.e. https://outlines-dev.github.io/outlines/) at the moment, and that is our primary focus.