A quick investigation reveals that we ship with all internal (non-public) symbols embedded into our binaries, which make up about half the raw size on the package, and 23% of the compressed size.
Additional gains could be had by stripping unused functions from the catalyst binary, about 23% raw and 21% compressed. However, that would require disabling plugin support since in a plugin system we don't know at build time which functions from the MLIR library will be called (by a plugin).
All figures on macOS 26 at 361109c.
A quick investigation reveals that we ship with all internal (non-public) symbols embedded into our binaries, which make up about half the raw size on the package, and 23% of the compressed size.
Additional gains could be had by stripping unused functions from the catalyst binary, about 23% raw and 21% compressed. However, that would require disabling plugin support since in a plugin system we don't know at build time which functions from the MLIR library will be called (by a plugin).
All figures on macOS 26 at 361109c.