In this article
An addressable shard is visible to the current process; it is not automatically a unique or complete portion of the global result.
Identify the result the exporter promises
A distributed feature job writes the shards visible to its coordinator and labels the file a complete embedding table. The addressable_shards reference describes the list of addressable shards, not a universal gather of all global data. Before exporting, define whether the artifact should contain a local partition, a replicated copy or the complete logical array. The same loop can produce very different coverage under different multi-process placement arrangements.
Keep addressability separate from replication
The is_fully_addressable reference defines visibility through devices the current process can address. It explicitly distinguishes full replication from full addressability across hosts. Therefore a replicated global array can still include devices outside the current process’s direct reach. Do not use a replication flag as an instruction to assume every participating device is locally accessible, or use a local device count as proof that the global operation involved no remote data.
Describe each shard in logical coordinates
The distributed array guide connects logical layout to physical shards and illustrates inspection. Preserve each exported slice’s logical position and distinguish repeated replicas from unique coverage. Concatenating device buffers in enumeration order is not a general reconstruction algorithm. A partitioned feature dimension may require a different assembly operation from a partitioned example dimension. Without coordinates, a plausible output shape can conceal swapped slices or repeated data from a replicated mesh axis.
Design collection as a coordinated operation
If the consumer requires the global result, choose a supported collection or distributed-write design appropriate to the program. Establish participation and completion rules for all required processes instead of assuming local buffer access retrieves remote values. Document how failures and partial outputs are represented. A coordinator finishing its own writes does not establish that every global slice was durably produced. The artifact manifest should express actual coverage rather than infer completeness from a successfully closed local file.
Test a layout that exposes omissions
Use an array whose logical regions contain recognizable values, with both partitioned and replicated dimensions where relevant. Verify that every required region appears exactly as intended. The guides on distributed data-loader ownership and dataset removal lineage provide related coverage and identity concepts. Correct export requires an explicit relationship between local visibility and global ownership. Successful numerical computation and successful local serialization are separate pieces of evidence.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.