File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ def detect_layer_template(s: str) -> bool:
190
190
if detect_layer_template (k ):
191
191
if not detect_layer_template (v ):
192
192
raise RuntimeError (
193
- f"Usage of mapping requires one-to-one mapping between architectures. A template was found in { k } but not in { v } "
193
+ f"Cross-architecture merging requires one-to-one mapping between architectures. A template was found in { k } but not in { v } "
194
194
)
195
195
196
196
for layer_idx in range (self .num_layers ()):
@@ -199,7 +199,7 @@ def detect_layer_template(s: str) -> bool:
199
199
] = _template_substitution (v , self .config , layer_idx )
200
200
elif detect_layer_template (v ):
201
201
raise RuntimeError (
202
- f"Usage requires one-to-one mapping for { k } and { v } . A template was found in { v } but not in { k } "
202
+ f"Cross-architecture merging requires one-to-one mapping between architectures . A template was found in { v } but not in { k } "
203
203
)
204
204
else :
205
205
new_overrides [
You can’t perform that action at this time.
0 commit comments