mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-06 03:20:52 +00:00
[autoparallel] Add conv handler to generate strategies and costs info for conv (#1467)
This commit is contained in:
@@ -199,7 +199,7 @@ class ShardingSpec:
|
||||
if not dim_spec.is_replica:
|
||||
if index not in new_dim_partition_dict:
|
||||
new_dim_partition_dict[index] = []
|
||||
new_dim_partition_dict[index].append(dim_spec.shard_list)
|
||||
new_dim_partition_dict[index].extend(dim_spec.shard_list)
|
||||
self.dim_partition_dict = new_dim_partition_dict
|
||||
|
||||
def sharding_sequence_difference(self, other):
|
||||
|
Reference in New Issue
Block a user