KataGo icon indicating copy to clipboard operation
KataGo copied to clipboard

Question about using updated b28 network file with older CoreML .mlpackage

Open Rick130130 opened this issue 6 months ago • 1 comments

I’m running the CoreML version of KataGo on a Mac with M2 chip. Since the latest CoreML-supported version with 19x19 input appears to be from v1.15.1 (with the .bin.gz network file still using the b18 architecture and a matching .mlpackage), I was wondering:

Can I safely replace the old .bin.gz network file with the latest release (kata1-b28c512nbt-s9435149568-d4923088660.bin.gz) while continuing to use the .mlpackage from v1.15.1? I’ve tested this setup, and it appears to run correctly, but I’m unsure whether the architecture mismatch between b18 and b28 might lead to subtle errors or incorrect outputs.

I also noticed that the latest CoreML release (v1.15.3) includes a CoreML .mlpackage for 29x29, but not for 19x19. Is it possible to use the 29x29 .mlpackage to run 19x19 games, since it’s the only available model with b28 architecture? I tried this approach but encountered an error.

If this is not supported, is there any way I can generate a compatible .mlpackage myself from the latest b28 network file (for 19x19 input)?

Rick130130 avatar Jul 01 '25 19:07 Rick130130