sort index parts
This commit is contained in:
parent
077f1bdd8c
commit
5f2f5e6177
|
|
@ -218,7 +218,7 @@ class ModelBase:
|
|||
raise ValueError(f"Can't load 'weight_map' from {index_name!r}")
|
||||
tensor_names_from_index.update(weight_map.keys())
|
||||
part_dict: dict[str, None] = dict.fromkeys(weight_map.values(), None)
|
||||
part_names = list(part_dict.keys())
|
||||
part_names = sorted(part_dict.keys())
|
||||
else:
|
||||
weight_map = {}
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue