{"id":431,"date":"2024-05-11T14:33:36","date_gmt":"2024-05-11T06:33:36","guid":{"rendered":"https:\/\/likesite.win\/?p=431"},"modified":"2024-05-22T14:53:21","modified_gmt":"2024-05-22T06:53:21","slug":"tvm%e7%ac%94%e8%ae%b0","status":"publish","type":"post","link":"https:\/\/189505.xyz\/?p=431","title":{"rendered":"tvm\u7b14\u8bb0"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_40 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" area-label=\"ez-toc-toggle-icon-1\"><label for=\"item-6a1cbb8eab385\" aria-label=\"Table of Content\"><span style=\"display: flex;align-items: center;width: 35px;height: 30px;justify-content: center;direction:ltr;\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/label><input  type=\"checkbox\" id=\"item-6a1cbb8eab385\"><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/189505.xyz\/?p=431\/#tvm%E6%9E%B6%E6%9E%84\" title=\"\ntvm\u67b6\u6784 \n\">\ntvm\u67b6\u6784 \n<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/189505.xyz\/?p=431\/#tlcpack%E7%9A%84docker%E6%B7%BB%E5%8A%A0pudb%E9%9C%80%E8%A6%81%E7%9A%84%E4%B8%9C%E8%A5%BF\" title=\"\ntlcpack\u7684docker\u6dfb\u52a0pudb\u9700\u8981\u7684\u4e1c\u897f \n\">\ntlcpack\u7684docker\u6dfb\u52a0pudb\u9700\u8981\u7684\u4e1c\u897f \n<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/189505.xyz\/?p=431\/#gemm_profiler\" title=\"\ngemm profiler \n\">\ngemm profiler \n<\/a><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"tvm%E6%9E%B6%E6%9E%84\"><\/span>\ntvm\u67b6\u6784<br \/>\n<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>walk through<br \/>\n<a href=\"https:\/\/tvm.apache.org\/docs\/dev\/tutorial\/codebase_walkthrough.html\">https:\/\/tvm.apache.org\/docs\/dev\/tutorial\/codebase_walkthrough.html<\/a> <\/p>\n<p>runtime system <br \/>\n<a href=\"https:\/\/tvm.apache.org\/docs\/arch\/runtime.html#tvm-runtime-system\">https:\/\/tvm.apache.org\/docs\/arch\/runtime.html#tvm-runtime-system<\/a><br \/>\nruntime\u7ec6\u8282\u5728<code><code>python\/tvm\/_ffi\/<\/code><\/code>\u4ee3\u7801\u91cc\u9762<br \/>\nPackedFunc\u673a\u5236<br \/>\n<a href=\"https:\/\/tvm.apache.org\/docs\/arch\/runtime.html#tvm-runtime-system-packed-func\">https:\/\/tvm.apache.org\/docs\/arch\/runtime.html#tvm-runtime-system-packed-func<\/a><br \/>\nadd op<br \/>\n<a href=\"https:\/\/tvm.apache.org\/docs\/dev\/how_to\/relay_add_op.html\">https:\/\/tvm.apache.org\/docs\/dev\/how_to\/relay_add_op.html<\/a><br \/>\ntopi<br \/>\n<a href=\"https:\/\/tvm.apache.org\/docs\/tutorial\/intro_topi.html#tutorial-topi\">https:\/\/tvm.apache.org\/docs\/tutorial\/intro_topi.html#tutorial-topi<\/a><\/p>\n<h1><span class=\"ez-toc-section\" id=\"tlcpack%E7%9A%84docker%E6%B7%BB%E5%8A%A0pudb%E9%9C%80%E8%A6%81%E7%9A%84%E4%B8%9C%E8%A5%BF\"><\/span>\ntlcpack\u7684docker\u6dfb\u52a0pudb\u9700\u8981\u7684\u4e1c\u897f<br \/>\n<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<pre><code>cp -r pudb pudb-2022.1.3.dist-info \/venv\/apache-tvm-py3.8\/lib\/python3.8\/site-packages\/\ncp -r  urwid urwid-2.1.2.dist-info \/venv\/apache-tvm-py3.8\/lib\/python3.8\/site-packages\/\ncp -r  urwid_readline urwid_readline-0.14.dist-info \/venv\/apache-tvm-py3.8\/lib\/python3.8\/site-packages\/\ncp -r  jedi jedi-0.19.1.dist-info \/venv\/apache-tvm-py3.8\/lib\/python3.8\/site-packages\/\ncp -r  parso parso-0.8.4.dist-info \/venv\/apache-tvm-py3.8\/lib\/python3.8\/site-packages\/\ncp -r \/mast\/packageLinux\/tvm\/tophub\/ \/root\/.tvm\/<\/code><\/pre>\n<h1><span class=\"ez-toc-section\" id=\"gemm_profiler\"><\/span>\ngemm profiler<br \/>\n<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<pre><code>src\/relay\/backend\/contrib\/cutlass\/codegen.cc\npython\/tvm\/contrib\/cutlass\/build.py\n\/tvm\/tvm\/python\/tvm\/relay\/op\/contrib\/cutlass.py:def partition_for_cutlass(mod, params=None)<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>tvm\u67b6\u6784 walk through https:\/\/tvm.apache.org\/docs\/dev\/tuto &#8230; <a title=\"tvm\u7b14\u8bb0\" class=\"read-more\" href=\"https:\/\/189505.xyz\/?p=431\" aria-label=\"More on tvm\u7b14\u8bb0\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/posts\/431"}],"collection":[{"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/189505.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=431"}],"version-history":[{"count":11,"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":444,"href":"https:\/\/189505.xyz\/index.php?rest_route=\/wp\/v2\/posts\/431\/revisions\/444"}],"wp:attachment":[{"href":"https:\/\/189505.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/189505.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/189505.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}