We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 187f1c1 commit f08f7acCopy full SHA for f08f7ac
serialize.py
@@ -118,6 +118,10 @@ def main():
118
if args.ft_perm is not None and target_is_nnue:
119
import ftperm
120
121
+ if not args.source.endswith(".nnue"):
122
+ M.coalesce_ft_weights_inplace(nnue.model.feature_set, nnue.model.input)
123
+ nnue.model.layer_stacks.coalesce_layer_stacks_inplace()
124
+
125
ftperm.ft_permute(nnue.model, args.ft_perm)
126
127
if args.ft_optimize and target_is_nnue:
0 commit comments