Skip to content

Validate NGFF readback with TensorStore on CPU and GPU - #296

Merged
nclack merged 2 commits into
mainfrom
test/ngff-tensorstore-readback
Oct 4, 2026
Merged

nclack merged 2 commits into
mainfrom
test/ngff-tensorstore-readback

Conversation

@nclack

@nclack nclack commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

Verify CPU and GPU Zarr output with TensorStore alongside zarr-python. Both single-array and NGFF readback suites use the same 10 codec configurations across three buffered-writer modes. Require c-blosc in every build, remove the unavailable-codec stub and conditional skips, and expose the dependency through the installed CMake and pkg-config metadata.

A shared three-level NGFF fixture checks every advertised level against an analytic reference, validates axes and physical scales, and covers complete and partial shards. Missing shards, corrupt payloads/indexes, and incorrect scales must fail; renamed levels must remain discoverable through NGFF metadata. CI installs the reader dependencies before CTest. The fixture and validation helpers can be reused for #34.

Validation:

  • Seven focused CPU checks and four GPU checks passed (CUDA 13.2, RTX 5070). Each backend covers 30 codec/buffering combinations in both readback suites.
  • Missing c-blosc fails configuration; an installed-package consumer compiled and ran with CHUCKY_BUILD_SHARED=ON, and rejected a disabled Blosc dependency.
  • C formatting, Python syntax, and whitespace checks passed.

Closes #35.

@codecov

codecov Bot commented Oct 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nclack nclack changed the title Validate NGFF multiscales with TensorStore Validate NGFF readback with TensorStore on CPU and GPU Oct 4, 2026
@nclack
nclack merged commit 2e28de2 into main Oct 4, 2026
9 checks passed
@nclack
nclack deleted the test/ngff-tensorstore-readback branch October 4, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add TensorStore readback tests for NGFF multiscales

1 participant