ShardedTensorInfo

data class ShardedTensorInfo(base: StreamingSafeTensorInfo, val shardFilename: String, val shardIndex: Int, val totalShards: Int)(source)

Tensor info with shard location information.

Wraps StreamingSafeTensorInfo and adds information about which shard contains this tensor.

Constructors

Link copied to clipboard
constructor(base: StreamingSafeTensorInfo, shardFilename: String, shardIndex: Int, totalShards: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Filename of the shard containing this tensor

Link copied to clipboard

1-based shard index

Link copied to clipboard

Formatted shard location, e.g., "1/3"

Link copied to clipboard
Link copied to clipboard

Total number of shards