-
-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Describe the bug
I'm encountering a runtime error when trying to create an array of shape (17707749, 768):
RuntimeError Traceback (most recent call last)
Cell In[9], line 1
----> 1 blosc2.empty(shape=(17707749, 768), dtype=np.float32)File .venv/lib/python3.11/site-packages/blosc2/ndarray.py:2978, in empty(shape, dtype, **kwargs)
2976 blocks = kwargs.pop("blocks", None)
2977 chunks, blocks = compute_chunks_blocks(shape, chunks, blocks, dtype, **kwargs)
-> 2978 return blosc2_ext.empty(shape, chunks, blocks, dtype, **kwargs)File blosc2_ext.pyx:2706, in blosc2.blosc2_ext.empty()
File blosc2_ext.pyx:2233, in blosc2.blosc2_ext._check_rc()
RuntimeError: Could not build empty array
To Reproduce
import numpy as np
import blosc2
blosc2.empty(shape=(17707749, 768), dtype=np.float32)Expected behavior
array to be created
Desktop (please complete the following information):
- OS: Ubuntu 24.04 (x86_64)
- Version 3.3.1