Shard Data Feats

Implement distributed data-feature sharding for CP: assign DTensor placements to every model feature, build the placement-definition dictionary, implement atom-feature pack/pad/scatter, per-shard and cross-axis divisibility padding, the DTensor Dataset / DataLoader / DataModule and collate, and the parity tests that prove the sharded features reassemble to the serial features. Traces the user's featurization from the inference/training drivers and mirrors the Boltz-CP data pipeline. Use after learn_context + build_infra, when wiring a custom model's features into a context-parallel mesh.

nvidia-bionemo 133564c 2 files · 14.9 KB Updated

File contents

nvidia-bionemo/boltz-cp/tree/main/plugins/fold-cp/skills/shard_data_feats commit 133564c486

Frequently asked questions

npx skillmds@latest add nvidia-bionemo/shard-data-feats