Repository navigation
Caching TargetBackends and their flags. - #6856
Merged
Merged
Conversation
benvanik
marked this pull request as ready for review
August 25, 2021 04:56
benvanik
force-pushed
the
benvanik-shared-target-backend
branch
from
August 25, 2021 14:19
816bc13 to
091f332
Compare
ScottTodd
approved these changes
Aug 25, 2021
This shouldn't even be needed, but if it is it should be in the right place.
Unlike gflags the LLVM flags don't really change once set.
Still not good because each alias has its own copy, but baby steps. Reduces the number of times we alloc (and setup options) a few thousand times on the bert training model.
benvanik
force-pushed
the
benvanik-shared-target-backend
branch
from
August 25, 2021 16:26
091f332 to
ba9a441
Compare
benvanik
enabled auto-merge
August 25, 2021 16:26
Merged
copybara-service Bot
pushed a commit
that referenced
this pull request
Aug 25, 2021
* 30463f1 Adding #util.composite attribute. (#6854) * 7a1c579 Implement function.py return type coercion (#6832) * d90f0fc Remove PromoteTensorLoads pass, convert ExtractOp in TensorToFlow. (#6852) * 7fa8c20 Update SwiftShader to 2021-08-25 (#6859) * a328761 Rename Bazel repo iree_vulkan_headers to vulkan_headers (#6862) * 7660e49 Merge pull request #6856 from google/benvanik-shared-target-backend * ebc5eb5 Removing the pipeline caching during executable translation. (#6855) * 2fb7a8d Reapply "Update TFLite concrete function conversion codes" (#6800) * ce7b475 NFC: Merge ConvertToFlow passes into dedicated before/after passes. (#6850) * 9fce2d6 Support f32 in the VM by default in the compiler. (#6744) * b6baea9 Support global ref ops and fix passing of refs on function boundaries in the C.. * 4b5d2ed Bump flatcc version (#6853) * c8a8f5d Add e2e tests for mhlo.bitcast_convert (#6846) COPYBARA_INTEGRATE_REVIEW=#6865 from hanhanW:main-to-google 30463f1 PiperOrigin-RevId: 392952973
iree-github-actions-bot
pushed a commit
that referenced
this pull request
Aug 25, 2021
* 30463f1 Adding #util.composite attribute. (#6854) * 7a1c579 Implement function.py return type coercion (#6832) * d90f0fc Remove PromoteTensorLoads pass, convert ExtractOp in TensorToFlow. (#6852) * 7fa8c20 Update SwiftShader to 2021-08-25 (#6859) * a328761 Rename Bazel repo iree_vulkan_headers to vulkan_headers (#6862) * 7660e49 Merge pull request #6856 from google/benvanik-shared-target-backend * ebc5eb5 Removing the pipeline caching during executable translation. (#6855) * 2fb7a8d Reapply "Update TFLite concrete function conversion codes" (#6800) * ce7b475 NFC: Merge ConvertToFlow passes into dedicated before/after passes. (#6850) * 9fce2d6 Support f32 in the VM by default in the compiler. (#6744) * b6baea9 Support global ref ops and fix passing of refs on function boundaries in the C.. * 4b5d2ed Bump flatcc version (#6853) * c8a8f5d Add e2e tests for mhlo.bitcast_convert (#6846) PiperOrigin-RevId: 392952973
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reduces a lot of churn - especially for things like LLVM target options queries (which make syscalls to get the current host CPU architecture!) and is just cleaner overall. The target backend registry still needs to die but this will hold us over a bit longer.