Searched refs:tensor_split_dims_mapping (Results 1 – 1 of 1) sorted by relevance
409 def mesh_split_sharding(device_mesh, tensor_split_dims_mapping): argument424 permutation = [d for d in tensor_split_dims_mapping if d >= 0]430 device_mesh.shape), tensor_split_dims_mapping, device_mesh.shape))437 1 if d < 0 else device_mesh.shape[d] for d in tensor_split_dims_mapping451 tensor_split_dims_mapping, argument469 sharding = mesh_split_sharding(device_mesh, tensor_split_dims_mapping)