Comments (4)
Looks like there was a change in how np.real
is handled in __array_function__
dispatching. Previously we had (with the 0.15.1 release)
In [1]: import sparse
In [2]: import numpy as np
In [3]: sparse.real is np.real
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[3], line 1
----> 1 sparse.real is np.real
AttributeError: module 'sparse' has no attribute 'real'
Now we have (with the latest 0.15.2 release)
In [1]: import sparse
In [2]: import numpy as np
In [3]: sparse.real is np.real
Out[3]: True
which seems to be why we're getting the infinite recursion
from sparse.
Thanks for the report. I think I missed a commit or two when cherry picking.
from sparse.
This was fixed by 32d9f80. 0.15.3 is up on PyPI, and will soon also be on conda-forge
.
from sparse.
Thanks @hameerabbasi
from sparse.
Related Issues (20)
- Remove runtime dependency on SciPy HOT 1
- Xarray/Numpy/Dask Indexing using a Sparse Array HOT 6
- Faster matmul for case sparse.coo * np.ndarray HOT 1
- Memory usage compared to scipy.sparse.coo_matrix HOT 1
- `to_coo` raises DeprecationWarning HOT 1
- NumPy 2.0 support HOT 3
- Include notebooks in documentation HOT 1
- Reduce benchmark CI load
- Quansight Labs 2024 Internship
- Add "dependabot" to the ci HOT 1
- Add `codespell` to pre-commit
- Request for CodSpeed permissions HOT 4
- Web API link broke after changes
- Implement MLIR-based constructors for arrays
- Implement basic ops for MLIR-based arrays with `sparse-tensor` dialect
- Use `Finch-mlir` dialect instead of `sparse-tensor` for ops
- Support sparse interchange format
- Enh: Support for sparse nd-convolutions HOT 1
- Release `mlir-python-bindings` `19.1.0` on `conda-forge`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparse.