Skip to content

docs: OpenXLA performance profiling, perf table, and the transferable-precision decision record (#449) #517

Closed

Description

@inureyes

Summary

Document where the OpenXLA decode time goes and the strategic decision behind this epic, so the precision-not-kernels choice is recorded and reproducible.

Scope

  • An iree-profile (or Metal System Trace) per-kernel breakdown of one decode step identifying the dominant ops (MLP matmul, the 128256-vocab lm_head, attention), to confirm what precision/quantization can and cannot address.
  • Update src/lib/mlxcel-xla/README.md (and the relevant docs/ page) with the measured perf table (f32 / f16 / int8 across Metal + CPU, MLX for reference), the Metal-as-proxy framing, and the transferable (graph) vs non-transferable (per-backend kernel codegen, upstream IREE) analysis.
  • A short decision record: graph-level precision/quantization is in scope and transfers to NPUs; Metal kernel codegen is out of scope.

Integration (required for done)

Docs reflect the shipped behavior from S1 to S3 (the actual defaults and numbers), not a proposal.

Depends on S1, S2, S3. Part of #513

Activity

  1. added
    area:inference
    platform:macos
    status:done
    on Jun 30, 2026
  2. self-assigned this
    on Jul 4, 2026
  3. added
    type:docs
    on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:inferenceplatform:macosstatus:donetype:docs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions