Add nifti support by CloseChoice · Pull Request #7815 · huggingface/datasets

added 3 commits

October 13, 2025 21:55

lhoestq

CloseChoice

@CloseChoice

@lhoestq

The-Obstacle-Is-The-Way added a commit to The-Obstacle-Is-The-Way/hf-bids-nifti-datasets that referenced this pull request

Dec 2, 2025
The stable release of HuggingFace datasets (4.4.x) has a critical bug
where NIfTI files are uploaded as empty bytes (0 bytes) to Hub because
Nifti.embed_storage was broken. The fix is only in the dev branch.

Changes:
- Add [tool.uv.sources] to override datasets to git version
- Bump datasets minimum to >=4.4.0 (Nifti support)
- Add huggingface-hub>=0.32.0 (XET storage support)
- Add Critical Dependency section to README with verification steps

See: huggingface/datasets#7815

The-Obstacle-Is-The-Way added a commit to The-Obstacle-Is-The-Way/hf-bids-nifti-datasets that referenced this pull request

Dec 2, 2025
)

The stable release of HuggingFace datasets (4.4.x) has a critical bug
where NIfTI files are uploaded as empty bytes (0 bytes) to Hub because
Nifti.embed_storage was broken. The fix is only in the dev branch.

Changes:
- Add [tool.uv.sources] to override datasets to git version
- Bump datasets minimum to >=4.4.0 (Nifti support)
- Add huggingface-hub>=0.32.0 (XET storage support)
- Add Critical Dependency section to README with verification steps

See: huggingface/datasets#7815

This was referenced

Dec 3, 2025