fix(metal): TYPE_SIZE knows the agentionai trellis types 143-146 so the streaming experts file can plan a Gyro GGUF (sizes from tools/gguf_reader.py)

This commit is contained in:
Nourrisse Florian committed 2026-11-04 01:48:59 +01:00
1 parent 4b9e05a2a8
commit 2e5d9ef2c7
1 file changed
+2 -1
+2 -1
View File
@@ -31,7 +31,8 @@ LOCK_SUFFIX = ".repack.lock" # <out>.repack.lock holds the repack's pid while
TYPE_SIZE = {0: (4, 1), 1: (2, 1), 30: (2, 1), 2: (18, 32), 3: (20, 32), 6: (22, 32), 7: (24, 32), 8: (34, 32),
10: (84, 256), 11: (110, 256), 12: (144, 256), 13: (176, 256), 14: (210, 256), 16: (66, 256),
17: (74, 256), 18: (98, 256), 19: (50, 256), 20: (18, 32), 21: (110, 256), 22: (82, 256), 23: (136, 256),
42: (18, 64)}
42: (18, 64), # agentionai Gyro trellis blocks (sizes: tools/gguf_reader.py)
143: (28, 128), 144: (34, 128), 145: (26, 128), 146: (30, 128)}
PLE = "per_layer_token_embd.weight"