Skip to content

Enable MobiusBuilder in olive optimize - #2640

Draft
devang-ml with Copilot wants to merge 2 commits into
mainfrom
copilot/fr-enable-mobius-exporter
Draft

Enable MobiusBuilder in olive optimize#2640
devang-ml with Copilot wants to merge 2 commits into
mainfrom
copilot/fr-enable-mobius-exporter

Conversation

Copilot AI commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Describe your changes

  • Exporter selection

    • Add mobius_builder to olive optimize --exporter.
    • Keep model_builder as the default text exporter.
  • Pass scheduling

    • Emit MobiusBuilder with the requested fp32/fp16/bf16 precision.
    • Reject unsupported Mobius quantized precisions.
    • Skip redundant peephole and fp16 conversion passes for Mobius output.
olive optimize -m <model> --exporter mobius_builder --precision fp16
  • Coverage and docs
    • Add pass-list coverage for Mobius export.
    • Document the new exporter option.

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by running lintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.
    • olive optimize now supports --exporter mobius_builder for fp32, fp16, and bf16 ONNX capture.

(Optional) Issue link

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI linked an issue Aug 26, 2026 that may be closed by this pull request
7 tasks
Co-authored-by: devang-ml <47577486+devang-ml@users.noreply.github.com>
Copilot AI changed the title [WIP] Enable mobius exporter in optimize cli command Enable MobiusBuilder in olive optimize Aug 26, 2026
Copilot AI requested a review from devang-ml August 26, 2026 22:02
@devang-ml

devang-ml commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Mobius builder should support input model that is already quantized in int4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FR]: Enable mobius exporter in optimize cli command

2 participants