We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db37fed commit eeedcccCopy full SHA for eeedccc
src/zarr/core/codec_pipeline.py
@@ -426,7 +426,11 @@ async def _read_key(
426
# If the result is not useful, we leave it for the garbage collector.
427
# We optimize this operation for the case that the GPU
428
if not hasattr(chunk_array._data, '__cuda_array_interface__'):
429
- chunk_array = NDBuffer(np.asarray(chunk_array._data))
+ # I'm not sure why this implementation doesn't work
430
+ # it seems like something is getting missed by me
431
+ # chunk_array = NDBuffer(np.asarray(chunk_array._data))
432
+ # This line here just feels more dirty
433
+ chunk_array._data = np.asarray(chunk_array._data)
434
435
if chunk_array.all_equal(
436
fill_value_or_default(chunk_spec)
0 commit comments