-
I'm trying to run bark on my M2, 8 gb of memory: this is the code:
```
from transformers import AutoProcessor, BarkModel
import torch
device = "mps" if torch.backends.mps.is_available() else…
-
With numpy 1.26.4 and python 3.11, things work fine.
With numpy 2.1.3 and python 3.11, I get a crash:
Successfully installed numpy-2.1.3
(hf) [jlquinn@cccxc520 fms-dgt-internal]$ python
Python 3.1…
-
### Describe the bug
When attempting to load a pyarrow table with a `FixedShapeTensorArray` (`pyarrow`) or `ArrowTensorArray` (`ray.air.util.tensor_extensions.arrow`) column, the table cannot be lo…
-
While the idea of using a function to create a nested namespace is neat, it makes creating arrays harder:
```python
import marray
import numpy as np
xp = marray.masked_array(np)
a = xp.asarra…
-
I think it would be very useful and powerful to include also the support for the computation with symbolic $n$-dimensional arrays based on `sympy` (see [sympy.tensor.array](https://docs.sympy.org/late…
-
When passing buffer to C extension, the readonly field might be set while it shouldn't
C extension:
```c
#define PY_SSIZE_T_CLEAN
#include
static PyObject *method(PyObject *self, PyObject *a…
-
Possible improvements and additions to https://pyedifice.github.io/stubs/edifice.extra.numpy_image.NumpyArray_to_QImage.html
```python
def image2ndarray(qimage: QImage) -> np.ndarray:
"""
…
-
### sparse version checks
- [X] I checked that this issue has not been reported before [list of issues](https://github.com/pydata/sparse/issues).
- [X] I have confirmed this bug exists on the latest…
-
The `pipeline.fit_transform` in the binning chapter return a numpy.array no matter whether the data is loaded specifying the pyarrow format.
As a matter of fact, the following line `pipeline.fit_tr…
-
### Steps to Reproduce
```
import numpy as np
import cpmpy as cp
table = np.array([[1, 2], [3, 4]])
variable = cp.intvar(1, 4, shape = 2)
model = cp.Model([cp.Table(variable, table)])
m…