[MetaSchedule][Minor] Organize Testing Scripts#11751
Merged
junrushao merged 1 commit intoJun 17, 2022
Merged
Conversation
Member
Author
|
CC: @zxybazh |
zxybazh
reviewed
Jun 16, 2022
zxybazh
left a comment
Member
There was a problem hiding this comment.
LGTM. Since we are organizing the tune_onnx scripts as well, could you please also add profiler to them like tune_relay? That would be a lot of help, thanks!
Member
Author
|
@zxybazh that makes a lot of sense! let me update the script a little bit |
Member
|
Hey Junru you may want to retrigger the CI after the CI fix. |
4f08249 to
0d4d95d
Compare
junrushao
pushed a commit
that referenced
this pull request
Jun 18, 2022
This PR is based on #11751 and adds `describe` function for `tune_relay` and `tune_onnx` script on both AutoScheduler and MetaSchedule. It prints out very useful information for reproducibility as follows: ``` Python Environment TVM version = 0.9.dev0 Python version = 3.8.8 (default, Apr 13 2021, 19:58:26) [GCC 7.3.0] (64 bit) os.uname() = Linux 5.15.5-76051505-generic #202111250933~1638201579~21.04~09f1aa7-Ubuntu SMP Tue Nov 30 02: x86_64 CMake Options: { "BUILD_STATIC_RUNTIME": "OFF", "COMPILER_RT_PATH": "3rdparty/compiler-rt", "CUDA_VERSION": "NOT-FOUND", "DLPACK_PATH": "3rdparty/dlpack/include", "DMLC_PATH": "3rdparty/dmlc-core/include", "GIT_COMMIT_HASH": "3b872a0adae07b0cd60248346fd31b158cba630c", "GIT_COMMIT_TIME": "2022-06-15 11:27:59 -0700", "HIDE_PRIVATE_SYMBOLS": "OFF", "INDEX_DEFAULT_I64": "ON", "INSTALL_DEV": "OFF", "LLVM_VERSION": "11.0.1", "PICOJSON_PATH": "3rdparty/picojson", "RANG_PATH": "3rdparty/rang/include", "ROCM_PATH": "/opt/rocm", "SUMMARIZE": "OFF", "TVM_CXX_COMPILER_PATH": "/usr/lib/ccache/c++", "USE_ALTERNATIVE_LINKER": "AUTO", "USE_AOT_EXECUTOR": "ON", "USE_ARM_COMPUTE_LIB": "OFF", "USE_ARM_COMPUTE_LIB_GRAPH_EXECUTOR": "OFF", "USE_BLAS": "none", "USE_BNNS": "OFF", "USE_BYODT_POSIT": "OFF", "USE_CLML": "OFF", "USE_CLML_GRAPH_EXECUTOR": "OFF", "USE_CMSISNN": "OFF", "USE_COREML": "OFF", "USE_CPP_RPC": "OFF", "USE_CUBLAS": "OFF", "USE_CUDA": "/usr/lib/cuda-11.2", "USE_CUDNN": "OFF", "USE_CUSTOM_LOGGING": "OFF", "USE_CUTLASS": "OFF", "USE_DNNL": "OFF", "USE_ETHOSN": "OFF", "USE_FALLBACK_STL_MAP": "OFF", "USE_GRAPH_EXECUTOR": "ON", "USE_GRAPH_EXECUTOR_CUDA_GRAPH": "OFF", "USE_GTEST": "AUTO", "USE_HEXAGON": "OFF", "USE_HEXAGON_GTEST": "/path/to/hexagon/gtest", "USE_HEXAGON_RPC": "OFF", "USE_HEXAGON_SDK": "/path/to/sdk", "USE_IOS_RPC": "OFF", "USE_KHRONOS_SPIRV": "OFF", "USE_LIBBACKTRACE": "ON", "USE_LIBTORCH": "OFF", "USE_LLVM": "llvm-config-11", "USE_METAL": "OFF", "USE_MICRO": "OFF", "USE_MICRO_STANDALONE_RUNTIME": "OFF", "USE_MIOPEN": "OFF", "USE_MKL": "OFF", "USE_MSVC_MT": "OFF", "USE_NNPACK": "OFF", "USE_OPENCL": "OFF", "USE_OPENCL_GTEST": "/path/to/opencl/gtest", "USE_OPENMP": "none", "USE_PAPI": "OFF", "USE_PROFILER": "ON", "USE_PT_TVMDSOOP": "OFF", "USE_RANDOM": "ON", "USE_RELAY_DEBUG": "OFF", "USE_ROCBLAS": "OFF", "USE_ROCM": "OFF", "USE_RPC": "ON", "USE_RTTI": "ON", "USE_RUST_EXT": "OFF", "USE_SORT": "ON", "USE_SPIRV_KHR_INTEGER_DOT_PRODUCT": "OFF", "USE_STACKVM_RUNTIME": "OFF", "USE_TARGET_ONNX": "OFF", "USE_TENSORFLOW_PATH": "none", "USE_TENSORRT_CODEGEN": "OFF", "USE_TENSORRT_RUNTIME": "OFF", "USE_TFLITE": "OFF", "USE_TF_TVMDSOOP": "OFF", "USE_THREADS": "ON", "USE_THRUST": "OFF", "USE_VITIS_AI": "OFF", "USE_VULKAN": "OFF" } ```
junrushao
pushed a commit
to junrushao/tvm
that referenced
this pull request
Jun 18, 2022
…e#11754) This PR is based on apache#11751 and adds `describe` function for `tune_relay` and `tune_onnx` script on both AutoScheduler and MetaSchedule. It prints out very useful information for reproducibility as follows: ``` Python Environment TVM version = 0.9.dev0 Python version = 3.8.8 (default, Apr 13 2021, 19:58:26) [GCC 7.3.0] (64 bit) os.uname() = Linux 5.15.5-76051505-generic #202111250933~1638201579~21.04~09f1aa7-Ubuntu SMP Tue Nov 30 02: x86_64 CMake Options: { "BUILD_STATIC_RUNTIME": "OFF", "COMPILER_RT_PATH": "3rdparty/compiler-rt", "CUDA_VERSION": "NOT-FOUND", "DLPACK_PATH": "3rdparty/dlpack/include", "DMLC_PATH": "3rdparty/dmlc-core/include", "GIT_COMMIT_HASH": "3b872a0adae07b0cd60248346fd31b158cba630c", "GIT_COMMIT_TIME": "2022-06-15 11:27:59 -0700", "HIDE_PRIVATE_SYMBOLS": "OFF", "INDEX_DEFAULT_I64": "ON", "INSTALL_DEV": "OFF", "LLVM_VERSION": "11.0.1", "PICOJSON_PATH": "3rdparty/picojson", "RANG_PATH": "3rdparty/rang/include", "ROCM_PATH": "/opt/rocm", "SUMMARIZE": "OFF", "TVM_CXX_COMPILER_PATH": "/usr/lib/ccache/c++", "USE_ALTERNATIVE_LINKER": "AUTO", "USE_AOT_EXECUTOR": "ON", "USE_ARM_COMPUTE_LIB": "OFF", "USE_ARM_COMPUTE_LIB_GRAPH_EXECUTOR": "OFF", "USE_BLAS": "none", "USE_BNNS": "OFF", "USE_BYODT_POSIT": "OFF", "USE_CLML": "OFF", "USE_CLML_GRAPH_EXECUTOR": "OFF", "USE_CMSISNN": "OFF", "USE_COREML": "OFF", "USE_CPP_RPC": "OFF", "USE_CUBLAS": "OFF", "USE_CUDA": "/usr/lib/cuda-11.2", "USE_CUDNN": "OFF", "USE_CUSTOM_LOGGING": "OFF", "USE_CUTLASS": "OFF", "USE_DNNL": "OFF", "USE_ETHOSN": "OFF", "USE_FALLBACK_STL_MAP": "OFF", "USE_GRAPH_EXECUTOR": "ON", "USE_GRAPH_EXECUTOR_CUDA_GRAPH": "OFF", "USE_GTEST": "AUTO", "USE_HEXAGON": "OFF", "USE_HEXAGON_GTEST": "/path/to/hexagon/gtest", "USE_HEXAGON_RPC": "OFF", "USE_HEXAGON_SDK": "/path/to/sdk", "USE_IOS_RPC": "OFF", "USE_KHRONOS_SPIRV": "OFF", "USE_LIBBACKTRACE": "ON", "USE_LIBTORCH": "OFF", "USE_LLVM": "llvm-config-11", "USE_METAL": "OFF", "USE_MICRO": "OFF", "USE_MICRO_STANDALONE_RUNTIME": "OFF", "USE_MIOPEN": "OFF", "USE_MKL": "OFF", "USE_MSVC_MT": "OFF", "USE_NNPACK": "OFF", "USE_OPENCL": "OFF", "USE_OPENCL_GTEST": "/path/to/opencl/gtest", "USE_OPENMP": "none", "USE_PAPI": "OFF", "USE_PROFILER": "ON", "USE_PT_TVMDSOOP": "OFF", "USE_RANDOM": "ON", "USE_RELAY_DEBUG": "OFF", "USE_ROCBLAS": "OFF", "USE_ROCM": "OFF", "USE_RPC": "ON", "USE_RTTI": "ON", "USE_RUST_EXT": "OFF", "USE_SORT": "ON", "USE_SPIRV_KHR_INTEGER_DOT_PRODUCT": "OFF", "USE_STACKVM_RUNTIME": "OFF", "USE_TARGET_ONNX": "OFF", "USE_TENSORFLOW_PATH": "none", "USE_TENSORRT_CODEGEN": "OFF", "USE_TENSORRT_RUNTIME": "OFF", "USE_TFLITE": "OFF", "USE_TF_TVMDSOOP": "OFF", "USE_THREADS": "ON", "USE_THRUST": "OFF", "USE_VITIS_AI": "OFF", "USE_VULKAN": "OFF" } ```
blackkker
pushed a commit
to blackkker/tvm
that referenced
this pull request
Jul 7, 2022
…e#11754) This PR is based on apache#11751 and adds `describe` function for `tune_relay` and `tune_onnx` script on both AutoScheduler and MetaSchedule. It prints out very useful information for reproducibility as follows: ``` Python Environment TVM version = 0.9.dev0 Python version = 3.8.8 (default, Apr 13 2021, 19:58:26) [GCC 7.3.0] (64 bit) os.uname() = Linux 5.15.5-76051505-generic #202111250933~1638201579~21.04~09f1aa7-Ubuntu SMP Tue Nov 30 02: x86_64 CMake Options: { "BUILD_STATIC_RUNTIME": "OFF", "COMPILER_RT_PATH": "3rdparty/compiler-rt", "CUDA_VERSION": "NOT-FOUND", "DLPACK_PATH": "3rdparty/dlpack/include", "DMLC_PATH": "3rdparty/dmlc-core/include", "GIT_COMMIT_HASH": "3b872a0adae07b0cd60248346fd31b158cba630c", "GIT_COMMIT_TIME": "2022-06-15 11:27:59 -0700", "HIDE_PRIVATE_SYMBOLS": "OFF", "INDEX_DEFAULT_I64": "ON", "INSTALL_DEV": "OFF", "LLVM_VERSION": "11.0.1", "PICOJSON_PATH": "3rdparty/picojson", "RANG_PATH": "3rdparty/rang/include", "ROCM_PATH": "/opt/rocm", "SUMMARIZE": "OFF", "TVM_CXX_COMPILER_PATH": "/usr/lib/ccache/c++", "USE_ALTERNATIVE_LINKER": "AUTO", "USE_AOT_EXECUTOR": "ON", "USE_ARM_COMPUTE_LIB": "OFF", "USE_ARM_COMPUTE_LIB_GRAPH_EXECUTOR": "OFF", "USE_BLAS": "none", "USE_BNNS": "OFF", "USE_BYODT_POSIT": "OFF", "USE_CLML": "OFF", "USE_CLML_GRAPH_EXECUTOR": "OFF", "USE_CMSISNN": "OFF", "USE_COREML": "OFF", "USE_CPP_RPC": "OFF", "USE_CUBLAS": "OFF", "USE_CUDA": "/usr/lib/cuda-11.2", "USE_CUDNN": "OFF", "USE_CUSTOM_LOGGING": "OFF", "USE_CUTLASS": "OFF", "USE_DNNL": "OFF", "USE_ETHOSN": "OFF", "USE_FALLBACK_STL_MAP": "OFF", "USE_GRAPH_EXECUTOR": "ON", "USE_GRAPH_EXECUTOR_CUDA_GRAPH": "OFF", "USE_GTEST": "AUTO", "USE_HEXAGON": "OFF", "USE_HEXAGON_GTEST": "/path/to/hexagon/gtest", "USE_HEXAGON_RPC": "OFF", "USE_HEXAGON_SDK": "/path/to/sdk", "USE_IOS_RPC": "OFF", "USE_KHRONOS_SPIRV": "OFF", "USE_LIBBACKTRACE": "ON", "USE_LIBTORCH": "OFF", "USE_LLVM": "llvm-config-11", "USE_METAL": "OFF", "USE_MICRO": "OFF", "USE_MICRO_STANDALONE_RUNTIME": "OFF", "USE_MIOPEN": "OFF", "USE_MKL": "OFF", "USE_MSVC_MT": "OFF", "USE_NNPACK": "OFF", "USE_OPENCL": "OFF", "USE_OPENCL_GTEST": "/path/to/opencl/gtest", "USE_OPENMP": "none", "USE_PAPI": "OFF", "USE_PROFILER": "ON", "USE_PT_TVMDSOOP": "OFF", "USE_RANDOM": "ON", "USE_RELAY_DEBUG": "OFF", "USE_ROCBLAS": "OFF", "USE_ROCM": "OFF", "USE_RPC": "ON", "USE_RTTI": "ON", "USE_RUST_EXT": "OFF", "USE_SORT": "ON", "USE_SPIRV_KHR_INTEGER_DOT_PRODUCT": "OFF", "USE_STACKVM_RUNTIME": "OFF", "USE_TARGET_ONNX": "OFF", "USE_TENSORFLOW_PATH": "none", "USE_TENSORRT_CODEGEN": "OFF", "USE_TENSORRT_RUNTIME": "OFF", "USE_TFLITE": "OFF", "USE_TF_TVMDSOOP": "OFF", "USE_THREADS": "ON", "USE_THRUST": "OFF", "USE_VITIS_AI": "OFF", "USE_VULKAN": "OFF" } ```
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.
No description provided.