This skill provides a canonical implementation for loading sharded datasets—including .npy, Parquet, Arrow, and HDF5 formats—into distributed cuPyNumeric ndarrays. It bypasses the limitations of single-call loaders by utilizing Legate's manual partitioning and task launch system, ensuring that data is efficiently distributed across all available hardware resources. It is particularly effective for large-scale datasets where per-shard row counts may vary, providing a scalable pattern for high-performance I/O in distributed computing and AI training environments.
主要功能
01Provides a modular blueprint for custom in-task data readers and decoders
02Supports diverse formats including sharded .npy, Parquet, Arrow, and HDF5
03Implements manual partitioning sized to available GPU/CPU/OMP processors
04Handles shards with mismatched row counts via cumulative row-offset logic
05Enables multi-node and multi-GPU scalability via the Legate runtime
062,346 GitHub stars
使用场景
01Ingesting large-scale distributed datasets for machine learning training or scientific simulations
02Replacing slow sequential file concatenation with parallelized per-GPU loading tasks
03Loading custom-layout data from shared filesystems into distributed cuPyNumeric arrays