Commit 1d0125b
feat: Add conversion support in GraniteHybrid for non-hybrid (all attn) (ggml-org#16177)
This is a configuration of the hparams in the GraniteHybrid architecture
that devolves to the Granite (or GraniteMoe) architecture (ie Granite 3.x).
It may be used for some models in the Granite 4 family with the
GraniteHybrid architecture acting as a superset arch. Rather than support
it directly in the c++ graph, we simply coerce the architecture flag back
to the correct "granite" or "granitemoe" architecture.
Branch: gabe-l-hart/GraniteNonHybridConversion
Signed-off-by: Gabe Goodhart <[email protected]>
Co-authored-by: Sigbjørn Skjæret <[email protected]>1 parent 351f3da commit 1d0125b
1 file changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7656 | 7656 | | |
7657 | 7657 | | |
7658 | 7658 | | |
| 7659 | + | |
| 7660 | + | |
| 7661 | + | |
| 7662 | + | |
| 7663 | + | |
| 7664 | + | |
| 7665 | + | |
| 7666 | + | |
| 7667 | + | |
| 7668 | + | |
| 7669 | + | |
| 7670 | + | |
| 7671 | + | |
| 7672 | + | |
| 7673 | + | |
7659 | 7674 | | |
7660 | 7675 | | |
7661 | 7676 | | |
| |||
7740 | 7755 | | |
7741 | 7756 | | |
7742 | 7757 | | |
7743 | | - | |
7744 | | - | |
| 7758 | + | |
| 7759 | + | |
| 7760 | + | |
| 7761 | + | |
| 7762 | + | |
7745 | 7763 | | |
7746 | 7764 | | |
7747 | 7765 | | |
| |||
0 commit comments