Skip to content

Reduce binary package size #2906

Description

@dime10

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CI/BuildPull requests that update CI or build scriptsenhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions