Skip to content

[XLA:CPU] Add Opt Preset FAST_COMPILE for interactive and test users.#40365

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_894064863
Open

[XLA:CPU] Add Opt Preset FAST_COMPILE for interactive and test users.#40365
copybara-service[bot] wants to merge 1 commit intomainfrom
test_894064863

Conversation

@copybara-service
Copy link
Copy Markdown

[XLA:CPU] Add Opt Preset FAST_COMPILE for interactive and test users.

This flag preset will continue to be developed with fast compilation times and numerical stability in mind as the top goals (runtime performance only a secondary goal). Expect tradeoffs similar to XX% compilation time for X% runtime to occur under this flag.

Currently, it just sets LLVM codegen opt to O1, disables platform dependent math, and sets flatten_after_fusion to true.

This flag preset will continue to be developed with fast compilation times and numerical stability in mind as the top goals (runtime performance only a secondary goal). Expect tradeoffs similar to XX% compilation time for X% runtime to occur under this flag.

Currently, it just sets LLVM codegen opt to O1, disables platform dependent math, and sets `flatten_after_fusion` to true.

PiperOrigin-RevId: 894064863
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.

1 participant