normalize

This commit is contained in:
Martin Bukowski
2024-01-22 14:38:52 -06:00
parent 3bc5d4010e
commit 9f76a4fe09
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -31,4 +31,4 @@ DARE-TIES does a stochastic selection of the parameters to keep, and then only p
* Take model B, and merge it in to model A using the mask to protect model A's largest parameters.
### Normalization
I am testing out a new normalization method, which is to normalize the norm of the parameters of one model to another. This is done by taking the ratio of the norms, and then scaling the parameters of the first model by that ratio. This is done in the `Normalize Model` node. There are a few options, of most interest is the 'q_norm' option, which only scales Q and K relative to each other.
I am testing out a new normalization method, which is to normalize the norm of the parameters of one model to another. This is done by taking the ratio of the norms, and then scaling the parameters of the first model by that ratio. This is done in the `Normalize Model` node. There are a few options, of most interest is the 'attn_only' option, which only scales Q and K relative to each other, and just that.
+1 -1
View File
@@ -36,7 +36,7 @@ class NormalizeUnet:
"required": {
"model_a": ("MODEL",),
"model_b": ("MODEL",),
"method": (["q_norm", "all", "none", "attn_only"], ),
"method": (["q_norm", "all", "none", "attn_only"], {"default": "attn_only"}),
}
}