diff --git a/accuracy_tools/msprobe/CMakeLists.txt b/accuracy_tools/msprobe/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..86735ca287f291aee5569138023adf27f38de51a --- /dev/null +++ b/accuracy_tools/msprobe/CMakeLists.txt @@ -0,0 +1 @@ +add_subdirectory(csrc) diff --git a/accuracy_tools/msprobe/__init__.py b/accuracy_tools/msprobe/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e24ad32c29bf95b40d1af1daee384de62179d408 --- /dev/null +++ b/accuracy_tools/msprobe/__init__.py @@ -0,0 +1,16 @@ +# Copyright (c) 2025-2025 Huawei Technologies Co., Ltd. +# +# 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 +# +# http://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. + +from msprobe import core +from msprobe.base import Service diff --git a/accuracy_tools/msprobe/__main__.py b/accuracy_tools/msprobe/__main__.py new file mode 100644 index 0000000000000000000000000000000000000000..173366191232e5308939a7cdea96d2e74324edb8 --- /dev/null +++ b/accuracy_tools/msprobe/__main__.py @@ -0,0 +1,26 @@ +# Copyright (c) 2025-2025 Huawei Technologies Co., Ltd. +# +# 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 +# +# http://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. + +from msprobe.common.cli import MainCommand + + +def main(): + msprobe_command = MainCommand() + msprobe_command.register() + args = msprobe_command.parse() + msprobe_command.execute(args) + + +if __name__ == "__main__": + main()