This is an automated email from the ASF dual-hosted git repository.
comaniac pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new d0da0b94de Fix typos in target warn of dnnl (#11678)
d0da0b94de is described below
commit d0da0b94dea206400d3bf4e15cb7815713c5b6e7
Author: billishyahao <[email protected]>
AuthorDate: Sat Jun 11 13:49:50 2022 +0800
Fix typos in target warn of dnnl (#11678)
---
python/tvm/target/target.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/tvm/target/target.py b/python/tvm/target/target.py
index aea3dfec43..830cd03cec 100644
--- a/python/tvm/target/target.py
+++ b/python/tvm/target/target.py
@@ -111,8 +111,8 @@ class Target(Object):
if isinstance(target, str) and "-libs=mkldnn" in target:
target = target.replace("mkldnn", "dnnl")
warnings.warn(
- "legacy supoort of mkldnn will be eprecated in the next
release."
- " Please replace -libs=mkldnn to -libs=dnnl to enable Intel
OneDNN.",
+ "Legacy support of mkldnn is going to be deprecated. "
+ "Please use -libs=dnnl instead.",
)
if isinstance(target, (dict, str)):
target = convert(target)