From d0da0b94dea206400d3bf4e15cb7815713c5b6e7 Mon Sep 17 00:00:00 2001 From: billishyahao Date: Sat, 11 Jun 2022 13:49:50 +0800 Subject: [PATCH] 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 aea3dfec4..830cd03ce 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)