Commit 8239c72
authored
Fix gemma4_unified model type not supported (ml-explore#1349)
Add a MODEL_REMAPPING entry for gemma4_unified → gemma4, and extend
gemma4.sanitize() to skip the encoder-free vision_embedder weight
prefix so the text weights load cleanly.
Signed-off-by: robertlangdonn <prasad@paperd.ink>1 parent fe468f9 commit 8239c72
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments