René's URL Explorer Experiment


Title: InternalError: Check failed: func->buffer_map.size() == 0 (3 vs. 0) : This pass must be called after MakePackedAPI · Issue #259 · microsoft/BitBLAS · GitHub

Open Graph Title: InternalError: Check failed: func->buffer_map.size() == 0 (3 vs. 0) : This pass must be called after MakePackedAPI · Issue #259 · microsoft/BitBLAS

X Title: InternalError: Check failed: func->buffer_map.size() == 0 (3 vs. 0) : This pass must be called after MakePackedAPI · Issue #259 · microsoft/BitBLAS

Description: When I used bitblas to tune a matmul operator on the A100, I encountered the following error. Environment Configuration: Ubuntu 22.04.2 LTS bitblas: 2bd1dee cuda12.1 The specific test script is as follows: from bitblas.gpu.matmul_analysi...

Open Graph Description: When I used bitblas to tune a matmul operator on the A100, I encountered the following error. Environment Configuration: Ubuntu 22.04.2 LTS bitblas: 2bd1dee cuda12.1 The specific test script is as ...

X Description: When I used bitblas to tune a matmul operator on the A100, I encountered the following error. Environment Configuration: Ubuntu 22.04.2 LTS bitblas: 2bd1dee cuda12.1 The specific test script is as ...

Opengraph URL: https://github.com/microsoft/BitBLAS/issues/259

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"InternalError: Check failed: func-\u003ebuffer_map.size() == 0 (3 vs. 0) : This pass must be called after MakePackedAPI","articleBody":"When I used bitblas to tune a matmul operator on the A100, I encountered the following error.\n![Image](https://github.com/user-attachments/assets/c7548aed-9076-43ed-b33a-b70a369c70a6)\n\nEnvironment Configuration:\nUbuntu 22.04.2 LTS\nbitblas: 2bd1deeb7977ea27019c8acd3d926dec9ada9eed\ncuda12.1\n\nThe specific test script is as follows:\n```\nfrom bitblas.gpu.matmul_analysis import get_tensorized_func_and_tags\nfrom bitblas.base.roller.policy import TensorCorePolicy, DefaultPolicy\nfrom bitblas.base.arch import CUDA\nfrom bitblas.base.utils import apply_and_build\nimport tvm\nfrom tvm.script import tir as T\nimport bitblas\n\n@tvm.script.ir_module\nclass FusedSingleOp:\n    @T.prim_func(private=True)\n    def dense1(lv11: T.Buffer((T.int64(1024), T.int64(1024)), \"float16\"), B: T.Buffer((T.int64(1024), T.int64(1024)), \"float16\"), T_matmul_NT: T.Buffer((T.int64(1024), T.int64(1024)), \"float16\")):\n        T.func_attr({\"layout_free_buffers\": [1], \"op_attrs\": {\"op_name\": \"nn.dense\", \"out_dtype\": \"float16\", \"units\": None}, \"op_pattern\": 4, \"tir.noalias\": T.bool(True)})\n        # with T.block(\"root\"):\n        for i0, i1, k in T.grid(T.int64(1024), T.int64(1024), T.int64(1024)):\n            with T.block(\"T_matmul_NT\"):\n                v_i0, v_i1, v_k = T.axis.remap(\"SSR\", [i0, i1, k])\n                T.reads(lv11[v_i0, v_k], B[v_i1, v_k])\n                T.writes(T_matmul_NT[v_i0, v_i1])\n                with T.init():\n                    T_matmul_NT[v_i0, v_i1] = T.float16(0)\n                T_matmul_NT[v_i0, v_i1] = T_matmul_NT[v_i0, v_i1] + lv11[v_i0, v_k] * B[v_i1, v_k]\n\nir_module = FusedSingleOp\nfunc = ir_module[\"dense1\"]\ntarget = tvm.target.Target(\"cuda\")\narch = CUDA(target)\npolicy = DefaultPolicy(func=func, arch=arch)\ntry:\n    tensorized_func, tags = get_tensorized_func_and_tags(func, arch.target)\nexcept Exception:\n    tags = None\n# Tune with Tensor Core if possible\nif tags:\n    policy = TensorCorePolicy(func=tensorized_func, arch=arch, tags=tags)\n\nconfigs = policy.emit_config(topk=20)\n\ncpresults, best = apply_and_build(func, configs, arch, parallel_build=False)\n\nprint(best.code)\n```\n\n\nWhen I tested the same script on the V100 with same Environment Configuration, the error`InternalError: Check failed: func-\u003ebuffer_map.size() == 0 (3 vs. 0) : This pass must be called after MakePackedAPI`did not occur. Instead, it resulted in:\n![Image](https://github.com/user-attachments/assets/f0342e51-97a3-46e9-9481-bcffb6a5bf10)\n\nThe specific test script is as follows:\n```\nfrom bitblas.gpu.matmul_analysis import get_tensorized_func_and_tags\nfrom bitblas.base.roller.policy import TensorCorePolicy, DefaultPolicy\nfrom bitblas.base.arch import CUDA\nfrom bitblas.base.utils import apply_and_build\nimport tvm\nfrom tvm.script import tir as T\nimport bitblas\n\n@tvm.script.ir_module\nclass FusedSingleOp:\n    @T.prim_func(private=True)\n    def dense1(lv11: T.Buffer((T.int64(1024), T.int64(1024)), \"float16\"), B: T.Buffer((T.int64(1024), T.int64(1024)), \"float16\"), T_matmul_NT: T.Buffer((T.int64(1024), T.int64(1024)), \"float16\")):\n        T.func_attr({\"layout_free_buffers\": [1], \"op_attrs\": {\"op_name\": \"nn.dense\", \"out_dtype\": \"float16\", \"units\": None}, \"op_pattern\": 4, \"tir.noalias\": T.bool(True)})\n        # with T.block(\"root\"):\n        for i0, i1, k in T.grid(T.int64(1024), T.int64(1024), T.int64(1024)):\n            with T.block(\"T_matmul_NT\"):\n                v_i0, v_i1, v_k = T.axis.remap(\"SSR\", [i0, i1, k])\n                T.reads(lv11[v_i0, v_k], B[v_i1, v_k])\n                T.writes(T_matmul_NT[v_i0, v_i1])\n                with T.init():\n                    T_matmul_NT[v_i0, v_i1] = T.float16(0)\n                T_matmul_NT[v_i0, v_i1] = T_matmul_NT[v_i0, v_i1] + lv11[v_i0, v_k] * B[v_i1, v_k]\n\nir_module = FusedSingleOp\nfunc = ir_module[\"dense1\"]\ntarget = tvm.target.Target(\"cuda\")\narch = CUDA(target)\npolicy = DefaultPolicy(func=func, arch=arch)\ntry:\n    tensorized_func, tags = get_tensorized_func_and_tags(func, arch.target)\nexcept Exception:\n    tags = None\n# Tune with Tensor Core if possible\nif tags:\n    policy = TensorCorePolicy(func=tensorized_func, arch=arch, tags=tags)\n\nconfigs = policy.emit_config(topk=20)\n\ncpresults, best = apply_and_build(func, configs, arch, parallel_build=False)\n\nprint(best.code)\n```","author":{"url":"https://github.com/Cunxiao2002","@type":"Person","name":"Cunxiao2002"},"datePublished":"2024-12-08T13:36:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/259/BitBLAS/issues/259"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a874cc05-7b56-eb8a-7f41-af0d3a751253
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCCF8:3F81E9:26253B:34E05F:6A4C25A1
html-safe-noncecc18cf237591eb8b2dfb7138c7bb886a0f155eb0514f90b999db08a1db0ef909
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0Y4OjNGODFFOToyNjI1M0I6MzRFMDVGOjZBNEMyNUExIiwidmlzaXRvcl9pZCI6IjgxMzQ3NjIwNzcyNDE0ODQ3MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc861712a8d1acb635a47ea96b7dd1ba7caea09946a32a5fbdd0e72887accd8c0
hovercard-subject-tagissue:2725245895
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/BitBLAS/259/issue_layout
twitter:imagehttps://opengraph.githubassets.com/65121d95c4b166ab12900e827270f38a88610bbf7fe2013a14f7c1df035b792d/microsoft/BitBLAS/issues/259
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/65121d95c4b166ab12900e827270f38a88610bbf7fe2013a14f7c1df035b792d/microsoft/BitBLAS/issues/259
og:image:altWhen I used bitblas to tune a matmul operator on the A100, I encountered the following error. Environment Configuration: Ubuntu 22.04.2 LTS bitblas: 2bd1dee cuda12.1 The specific test script is as ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCunxiao2002
hostnamegithub.com
expected-hostnamegithub.com
None1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511
turbo-cache-controlno-preview
go-importgithub.com/microsoft/BitBLAS git https://github.com/microsoft/BitBLAS.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id762181983
octolytics-dimension-repository_nwomicrosoft/BitBLAS
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id762181983
octolytics-dimension-repository_network_root_nwomicrosoft/BitBLAS
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9ee13484b32cf23e15fde191da4c9aa47d41201c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/BitBLAS/issues/259#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FBitBLAS%2Fissues%2F259
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FBitBLAS%2Fissues%2F259
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FBitBLAS
Reloadhttps://github.com/microsoft/BitBLAS/issues/259
Reloadhttps://github.com/microsoft/BitBLAS/issues/259
Reloadhttps://github.com/microsoft/BitBLAS/issues/259
Please reload this pagehttps://github.com/microsoft/BitBLAS/issues/259
microsoft https://github.com/microsoft
BitBLAShttps://github.com/microsoft/BitBLAS
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FBitBLAS
Fork 59 https://github.com/login?return_to=%2Fmicrosoft%2FBitBLAS
Star 769 https://github.com/login?return_to=%2Fmicrosoft%2FBitBLAS
Code https://github.com/microsoft/BitBLAS
Issues 33 https://github.com/microsoft/BitBLAS/issues
Pull requests 6 https://github.com/microsoft/BitBLAS/pulls
Discussions https://github.com/microsoft/BitBLAS/discussions
Actions https://github.com/microsoft/BitBLAS/actions
Projects https://github.com/microsoft/BitBLAS/projects
Models https://github.com/microsoft/BitBLAS/models
Security and quality 0 https://github.com/microsoft/BitBLAS/security
Insights https://github.com/microsoft/BitBLAS/pulse
Code https://github.com/microsoft/BitBLAS
Issues https://github.com/microsoft/BitBLAS/issues
Pull requests https://github.com/microsoft/BitBLAS/pulls
Discussions https://github.com/microsoft/BitBLAS/discussions
Actions https://github.com/microsoft/BitBLAS/actions
Projects https://github.com/microsoft/BitBLAS/projects
Models https://github.com/microsoft/BitBLAS/models
Security and quality https://github.com/microsoft/BitBLAS/security
Insights https://github.com/microsoft/BitBLAS/pulse
InternalError: Check failed: func->buffer_map.size() == 0 (3 vs. 0) : This pass must be called after MakePackedAPIhttps://github.com/microsoft/BitBLAS/issues/259#top
https://github.com/LeiWang1999
bugSomething isn't workinghttps://github.com/microsoft/BitBLAS/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/Cunxiao2002
Cunxiao2002https://github.com/Cunxiao2002
on Dec 8, 2024https://github.com/microsoft/BitBLAS/issues/259#issue-2725245895
https://private-user-images.githubusercontent.com/85601223/393603845-c7548aed-9076-43ed-b33a-b70a369c70a6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODMzNzU1NjUsIm5iZiI6MTc4MzM3NTI2NSwicGF0aCI6Ii84NTYwMTIyMy8zOTM2MDM4NDUtYzc1NDhhZWQtOTA3Ni00M2VkLWIzM2EtYjcwYTM2OWM3MGE2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzA2VDIyMDEwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdlNTcwN2JlNjVlZGVlZjE1MDA0OTdkMjdhN2UxYTMxY2IzNTRiOTc5NmNhMWFmZDc2NGQwNWJiY2Y0MDc4ZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.MyeNoA0fGSyqu_Dl3os6jfaIBmxm82UmR6PSdnZJxTk
2bd1deehttps://github.com/microsoft/BitBLAS/commit/2bd1deeb7977ea27019c8acd3d926dec9ada9eed
https://private-user-images.githubusercontent.com/85601223/393605802-f0342e51-97a3-46e9-9481-bcffb6a5bf10.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODMzNzU1NjUsIm5iZiI6MTc4MzM3NTI2NSwicGF0aCI6Ii84NTYwMTIyMy8zOTM2MDU4MDItZjAzNDJlNTEtOTdhMy00NmU5LTk0ODEtYmNmZmI2YTViZjEwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzA2VDIyMDEwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNiYTMyZWYxMDJmNmY3ZGQxYjBkZjg1NWE3MWI2OGFiY2IwZWJkN2RlNzZkNzk3YzNkN2FiZjY4OGMyYjFkM2MmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.klfF51nLuRgKYZP9FH6Gwsqxm1BA2Z0F9EONRE8uAP8
LeiWang1999https://github.com/LeiWang1999
bugSomething isn't workinghttps://github.com/microsoft/BitBLAS/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.