Commit 25ef4f6
committed
fix: populateFields must use GetTensor for split GGUF
CRITICAL FIX:
- populateFields was calling Backend().Get() directly
- This only searched main backend, missing projector tensors
- Vision layer weights (norm1, norm2, etc.) were nil crash
Fix:
- Use base.GetTensor() which searches both backends
- Add debug logging to track projector-loaded tensors
- Recursive setPointer calls inherit the fix
This should fix the nil pointer crash in LayerNorm.Forward.1 parent 372e646 commit 25ef4f6
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
| 662 | + | |
674 | 663 | | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
675 | 668 | | |
676 | 669 | | |
677 | 670 | | |
| |||
0 commit comments