Data & Analysis ✓ NVIDIA · Official cupynumericlegateparallel-data-loadingsharded-dataparquethdf5gpu-computing

cuPyNumeric Parallel Shard Loader

Builds processor-sized parallel loading paths from sharded on-disk data into distributed cuPyNumeric arrays.

FollowSkills review · FSRS-2.0
Not recommended
54/ 100 5-point scale 2.7 / 5
Trust15 / 25 · 3.0/5

The evidence scopes the skill to reading user-specified shared filesystems and writing the destination array; no credential theft, covert exfiltration, or malicious behavior is shown. It discloses third-party readers, CPU/GPU data paths, and shared-filesystem requirements. However, the example write flow scrubs stale shards and _meta.json without confirmation, backup, or rollback, while permission boundaries and sensitive-data handling are incomplete. License terms appear in the files, but the supplied license metadata is NOASSERTION, so 10 points are deducted.

Reliability9 / 20 · 2.3/5

SKILL.md, the example script, and evals.json cover metadata discovery, heterogeneous shards, partitioning, three task variants, abnormal-input errors, and an execution fence; the benchmark report also claims an external pass. Static review provides no independently reproducible CI or test suite, dependency and installation prerequisites are incomplete, and several format adaptations remain user work, so 11 points are deducted.

Adaptability10 / 15 · 3.3/5

The audience, sharded-data scenarios, single-file alternatives, heterogeneous-row constraints, and non-fit cases are mostly clear, making semantic routing reasonably possible. However, the description is long and lacks explicit negative triggers; the evaluation report flags possible over-triggering. The evaluated Zarr scenario is also absent from the skill body, and Chinese-language support and mainland-China network fit are not documented, so 5 points are deducted.

Convention9 / 15 · 3.0/5

The documentation has useful layering, a format table, examples, variants, pitfalls, version 1.0.0, author, upstream, and license information, with some maintenance attribution. The benchmark report identifies missing explicit Purpose, prerequisites, and limitations sections; there is no changelog, and the supplied license metadata is NOASSERTION, so 6 points are deducted.

Effectiveness7 / 15 · 2.3/5

The skill provides directly reusable Python and Bash patterns for .npy, raw binary, HDF5, Parquet/Arrow, and heterogeneous sharding, with benchmark results supporting practical value. Static calibration caps this dimension at 7; there is no independent execution in this review, and other formats plus production deployment still require adaptation, so no points above the cap are awarded.

Verifiability4 / 10 · 2.0/5

The source includes a reference implementation, expected behaviors in evals.json, and a benchmark report, making key claims partially traceable and reviewable. There is no committed CI workflow, key-path test suite, or independently verifiable execution record, so 6 points are deducted.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 55f18499943e
Before you use it
  • Confirm the target directory before running write because the example deletes existing shard_*.npy files and _meta.json without rollback.
  • Verify Legate, cuPyNumeric, NumPy, and format-reader versions and installation; the skill lacks a complete prerequisite list.
  • Do not use this workflow for single-file .npy or single-file HDF5; layouts such as Zarr that are not explicitly covered in the skill require additional validation.
  • Every rank reads the shared filesystem path, so avoid passing sensitive data locations or untrusted third-party readers directly into automated execution.
Review evidence [1][2][3][4][5][6][7][8]
See the full review method →

What does this skill do, and when should you use it?

This skill explains how to load sharded datasets from a shared filesystem into a distributed cuPyNumeric ndarray. It manually partitions axis 0, launches Legate Python tasks, and reads each tile’s overlapping file ranges through CPU, OMP, or GPU variants. The worked example uses sharded `.npy` files and identifies swap points for raw binary, HDF5, Parquet/Arrow, and custom layouts. It is intended for cases without a suitable single-call loader or when shard row counts differ.

Discovers per-shard metadata, including row counts, dtype, trailing shape, and cumulative row offsets; allocates and tiles a cuPyNumeric output array; sizes the launch from available processors; registers CPU, OMP, and GPU task variants; reads file slices inside each task through NumPy or CuPy views; writes local output tiles; and issues an execution fence. The task launch can also be over-decomposed for finer-grained scheduling.

  1. A data engineer needs to load shared-filesystem `.npy` shards into a multi-GPU or multi-node cuPyNumeric array.
  2. Shard files have different axis-0 row counts but matching dtype and trailing dimensions.
  3. A Python developer wants to replace sequential `np.concatenate([read(f) for f in files])` with parallel per-GPU reads.
  4. A user needs a custom loader for Parquet/Arrow, HDF5, fixed-shape raw binary, or another indexable layout without an applicable built-in loader.

What are this skill's strengths and limitations?

Pros
  • Handles unequal shard row counts through cumulative offsets and overlap calculations.
  • One manual task definition supports CPU, OMP, and GPU variants.
  • Clearly routes users to built-in loaders when those are applicable and includes a worked `.npy` implementation.
  • Sizes tiles to available processors and documents over-decomposition for load balancing.
Limitations
  • All shards must have matching dtype and trailing shape.
  • Multi-node execution requires a shared filesystem; node-local paths only support single-node demonstrations.
  • Users must implement format-specific metadata discovery and in-task readers.
  • The supplied material provides no test suite, benchmark results, or empirical platform coverage.

How do you install this skill?

Install the named skill with the README-supported Skills CLI command: npx skills add nvidia/skills --skill cupynumeric-parallel-data-load --yes. The supplied material does not document installation procedures for Legate, cuPyNumeric, NumPy, or optional format-specific readers.

How do you use this skill?

Install the skill into the target supported by the Skills CLI, then invoke it for a matching task, such as asking an agent to load uneven .npy shards from a shared filesystem into a cuPyNumeric array. The supplied example can be run with legate --gpus 4 --fbmem 4000 --min-gpu-chunk 1 assets/examples/parallel_npy_load.py read --shard-dir /shared/scratch/demo. Multi-node use requires a shared filesystem visible to every rank.

How does this skill compare with similar options?

For a single .npy file, the skill recommends cupynumeric.load; for a single HDF5 file, it recommends legate.io.hdf5.from_file or from_file_batched. This skill targets multi-file sharding, Parquet/Arrow, raw binary, and custom layouts where those loaders do not fit.

FAQ

Can it handle shards with different row counts?
Yes. Shards may differ along axis 0, while dtype and shape[1:] must match. The loader builds cumulative row offsets and reads each tile’s file intersections.
What storage is required for multi-node execution?
Every rank and worker must open the shard paths on a shared filesystem. Node-local `/tmp` paths are only suitable for single-node demonstrations.
Why should a leaf task avoid `cn.asarray`?
The source states that it can invoke a top-level cuPyNumeric runtime operation from the wrong task context and abort Legion. The documented workaround is to use CuPy DLPack or NumPy native views inside the task.

More skills from this repository

All from NVIDIA/skills

Data & Analysis ✓ NVIDIA · Official

cuPyNumeric Parallel HDF5 I/O

Move distributed cuPyNumeric arrays through single-file HDF5 in parallel.

Dev & Engineering ✓ NVIDIA · Official

cuPyNumeric Installation Guide

Guides safe cuPyNumeric installation and verifies that it actually works.

Dev & Engineering ✓ NVIDIA · Official

cuPyNumeric Migration Readiness

Assess whether NumPy code is ready to scale on GPUs before committing to a substantial cuPyNumeric port.

Data & Analysis ✓ NVIDIA · Official

PAIDF AnomalyGen

Fine-tune, generate, evaluate, and refine synthetic anomaly images.

Data & Analysis ✓ NVIDIA · Official

NVIDIA cuDF DataFrame Guide

Helps pandas users write correct, high-performance GPU DataFrame code with NVIDIA cuDF.

Dev & Engineering ✓ NVIDIA · Official

NVIDIA Skill Finder

Finds the right NVIDIA agent skill for product, hardware, and workflow requests.

Data & Analysis ✓ NVIDIA · Official

TAO Standard Training Workflow

Run a controlled TAO train, evaluate, and export workflow on labeled data.

Data & Analysis ✓ NVIDIA · Official

TAO VCN Sample Router

Routes visual-defect gap samples to eligible mining and synthetic-anomaly modules.

Data & Analysis ✓ NVIDIA · Official

TAO AOI Image Mining

Embed target and source images with one encoder, then mine deduplicated nearest-neighbour AOI images for augmentation.

Data & Analysis ✓ NVIDIA · Official

TAO VCN Classification Gap Analysis

Find the weakest VCN classification samples and turn them into augmentation targets.

Data & Analysis ✓ NVIDIA · Official

I4H Mimic Dataset Augmentation

Augment an existing HDF5 recording by cloning trajectories with action and state noise.

Dev & Engineering ✓ NVIDIA · Official

Isaac for Healthcare Workflow Validator

Run policy or state-machine rollouts and record verification episodes to HDF5.

Dev & Engineering ✓ NVIDIA · Official

Isaac for Healthcare Dataset Replay

Replay HDF5 episodes in Isaac Sim to verify recorded robot behavior visually.

Data & Analysis ✓ NVIDIA · Official

I4H Teleoperation Dataset Recorder

Record human demonstrations from keyboard, SO-ARM leader, or VR teleoperation into HDF5.

Data & Analysis ✓ NVIDIA · Official

i4H Dataset Annotation Workflow

Use a vision-language model to verify task success and filter episodes for fine-tuning.

Data & Analysis ✓ NVIDIA · Official

I4H Dataset Converter

Convert Isaac for Healthcare HDF5 recordings into training-ready LeRobot datasets.

Dev & Engineering ✓ NVIDIA · Official

DALI Dynamic Mode Assistant

Helps agents write, review, and migrate NVIDIA DALI imperative dynamic-mode code.

Dev & Engineering ✓ NVIDIA · Official

CUDA-Q Quantum Onboarding

Guides developers from CUDA-Q installation to quantum kernels, GPU simulation, and real QPU execution.

Data & Analysis ✓ NVIDIA · Official

Synthetic Brain MRI Generator

Generate synthetic brain MRI volumes through NVIDIA’s documented workflow.

Dev & Engineering ✓ NVIDIA · Official

NeMo MBridge GPU Memory Tuning

Diagnose GPU OOMs in Megatron Bridge training and reduce fragmentation, activation, and PEFT memory usage.

Related skills