gromero opened a new pull request #7269: URL: https://github.com/apache/tvm/pull/7269
Hi, This patchset addresses the following two warnings on microTVM: [0] ``` [...] /home/gromero/git/tvm/python/tvm/micro/contrib/zephyr.py:391: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. doc = yaml.load(f) [...] ``` [1] ``` [...] /home/gromero/git/tvm/python/tvm/target/target.py:460: UserWarning: tvm.target.create() is being deprecated. Please use tvm.target.Target() instead warnings.warn("tvm.target.create() is being deprecated. Please use tvm.target.Target() instead") [...] ``` Warning [0] is related to the deprecated form (no loader specified) of yaml.load(input), while the second one is related to the use of deprecated tvm.target.create(). Both warnings appear when running `micro_tflite.py`. The first one [0] when `TARGET = tvm.target.target.micro("stm32f746xx")` and the second one [1] when `TARGET = tvm.target.target.micro("host")`, which is the default target. Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from [Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers) by @ them in the pull request thread. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
