[GitHub] [tvm] mehrdadh commented on a diff in pull request #13046: [AOT] Sanitize input/output name in runtime

2022-10-13 Thread GitBox
mehrdadh commented on code in PR #13046: URL: https://github.com/apache/tvm/pull/13046#discussion_r994875455 ## tests/python/relay/aot/test_cpp_aot.py: ## @@ -203,5 +203,44 @@ def test_pass_wrong_device_arg(): # TODO write asserts for # and type of device. +@pytest.mark

[GitHub] [tvm] mehrdadh commented on a diff in pull request #13046: [AOT] Sanitize input/output name in runtime

2022-10-13 Thread GitBox
mehrdadh commented on code in PR #13046: URL: https://github.com/apache/tvm/pull/13046#discussion_r994869065 ## tests/python/relay/aot/test_cpp_aot.py: ## @@ -203,5 +203,44 @@ def test_pass_wrong_device_arg(): # TODO write asserts for # and type of device. +@pytest.mark

[GitHub] [tvm] mehrdadh commented on a diff in pull request #13046: [AOT] Sanitize input/output name in runtime

2022-10-12 Thread GitBox
mehrdadh commented on code in PR #13046: URL: https://github.com/apache/tvm/pull/13046#discussion_r994014937 ## include/tvm/runtime/name_mangling.h: ## @@ -0,0 +1,43 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements.

[GitHub] [tvm] mehrdadh commented on a diff in pull request #13046: [AOT] Sanitize input/output name in runtime

2022-10-12 Thread GitBox
mehrdadh commented on code in PR #13046: URL: https://github.com/apache/tvm/pull/13046#discussion_r993645188 ## tests/python/relay/aot/test_cpp_aot.py: ## @@ -203,5 +203,39 @@ def test_pass_wrong_device_arg(): # TODO write asserts for # and type of device. +@pytest.mark

[GitHub] [tvm] mehrdadh commented on a diff in pull request #13046: [AOT] Sanitize input/output name in runtime

2022-10-12 Thread GitBox
mehrdadh commented on code in PR #13046: URL: https://github.com/apache/tvm/pull/13046#discussion_r993635598 ## include/tvm/runtime/name_mangling.h: ## @@ -0,0 +1,43 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements.

[GitHub] [tvm] mehrdadh commented on a diff in pull request #13046: [AOT] Sanitize input/output name in runtime

2022-10-11 Thread GitBox
mehrdadh commented on code in PR #13046: URL: https://github.com/apache/tvm/pull/13046#discussion_r992877290 ## src/runtime/aot_executor/aot_executor.cc: ## @@ -107,7 +108,7 @@ PackedFunc AotExecutor::GetFunction(const std::string& name, } else if (name == "set_input_zero_cop

[GitHub] [tvm] mehrdadh commented on a diff in pull request #13046: [AOT] Sanitize input/output name in runtime

2022-10-11 Thread GitBox
mehrdadh commented on code in PR #13046: URL: https://github.com/apache/tvm/pull/13046#discussion_r992861389 ## src/runtime/aot_executor/aot_executor.cc: ## @@ -107,7 +108,7 @@ PackedFunc AotExecutor::GetFunction(const std::string& name, } else if (name == "set_input_zero_cop