k_filter改回nn.Parameter以匹配R3MOE检查点的结构 - #3
Open
tachengP wants to merge 1 commit into
Open
Conversation
LiuYunPlayer
added a commit
that referenced
this pull request
Jul 17, 2026
旧代 ckpt(2026-04-28 前)k_filter 为 nn.Parameter 平铺键 'k_filter', 新代为 nn.Embedding 键 'k_filter.weight'(官方 0508 已核实为后者)。 该头仅在传 spk_id 时参与前向,DiffSinger binarize 走 infer(mel) 恒不传, 故统一剔除、其余键仍严格校验(unexpected 必空、missing 仅容 k_filter*)。 替代 PR #3 的结构回退方案(该方案会反向弄坏新代 ckpt 加载,且对旧代 权重套用新代 sigmoid 变换、校准语义错位——虽属死代码仍不宜保留)。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.