forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 82d8765 Merge branch 'google' into main-to-google * b7e2b09 Remove special casing for IreeFileCheck in iree_lit_test.cmake (iree-org#5209) * b67af5a Clean up several CMake options configured for our CI builds. (iree-org#5197) * ea8b82d Integrate MLIR-EmitC at iml130/mlir-emitc@68547d0 (iree-org#5205) * 10d9ea1 Make CPU/GPU end-to-end testing in Linalg on tensors/buffers align. (iree-org#5203) * ff69d02 Move prepration of benchmark files to python script. (iree-org#5201) * 0c2f9e8 Bump Abseil-cpp submodule to LTS 20200923, Patch 3 (iree-org#5198) * 6ac0023 Add runtime tracing support to passes under IREE's PassManager usage. (iree-org#5160) * 2e41217 Bump Benchmark submodule to 39c8d58 (iree-org#5196) * 663ab93 Adjust UnixLinkerTool flags used for Apple targets. (iree-org#5164) * 963beb9 Plumb pooling ops through Linalg on tensors path. (iree-org#5136) * a33f72f Plumb depthwise convolution in Linalg on tensors. (iree-org#5189) * 2864ee4 Add restrictions for enabling generic op vectorization. (iree-org#5188) * 4f218a8 Make sure convolution vectorization is off when the option flag is off (iree-org#5187) * 44736b5 build_tools:cmake:riscv: Fix the system library path (iree-org#5175) * 96e9c49 Switching from mhlo::ConvertOp to ZeroExtendI for i1->i8 conversion. (iree-org#5119) * da4ad51 Fix and re-enable jax testing (iree-org#5183) * 301bc15 Merge google -> main (iree-org#5182) * 400719c Shuffling around/removing some HLO deps. * 9ba1d57 Enable MobileBert on GPU for the linalg on tensors path. (iree-org#5180) * 52f02af Resolve name conflicts while linking executables in LLVM. (iree-org#5179) * 4a732d3 Removing the post-partitioning conversion pass as it is unused. We've built up.. PiperOrigin-RevId: 364658113
- Loading branch information
Showing
60 changed files
with
628 additions
and
402 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/usr/bin/env python3 | ||
# Copyright 2021 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Prepares files for | ||
# * compile_android_modules.py | ||
# * benchmark_modules_on_android.py | ||
# | ||
# The script assumes model artifacts are in google bucket and they are zipped in | ||
# tar.gz format. | ||
|
||
import subprocess | ||
|
||
import configuration | ||
|
||
|
||
def main() -> None: | ||
for model_benchmark in configuration.MODEL_BENCHMARKS: | ||
print(f"Preparing benchmark files for {model_benchmark.name}") | ||
subprocess.run(args=[ | ||
"gsutil", "cp", | ||
f"gs://iree-model-artifacts/{model_benchmark.model_artifacts_name}", "." | ||
], | ||
check=True) | ||
subprocess.run(args=["tar", "-xvf", model_benchmark.model_artifacts_name], | ||
check=True) | ||
subprocess.run(args=[ | ||
"cp", model_benchmark.flagfile_path, | ||
configuration.get_flagfile_name(model_benchmark.name) | ||
], | ||
check=True) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.