Anurag1734/cuda-error-resolution-analysis
07
1[2 {3 "post_stream": {4 "posts": [5 {6 "id": 475612,7 "name": "Prahlad",8 "username": "Prahlad",9 "avatar_template": "/user_avatar/discuss.pytorch.org/prahlad/{size}/76925_2.png",10 "created_at": "2025-09-22T06:36:37.202Z",11 "cooked": "<p>APK is not compatible with 16 KB devices.<br>\nSome libraries have LOAD segments not aligned at 16 KB boundaries:</p>\n<p>base/lib/arm64-v8a/libpytorch_jni.so<br>\nbase/lib/arm64-v8a/libpytorch_vision_jni.so</p>\n<p>base/lib/x86_64/libfbjni.so<br>\nbase/lib/x86_64/libpytorch_jni.so<br>\nbase/lib/x86_64/libpytorch_vision_jni.so</p>\n<p><strong>Google requires 16 KB alignment starting Nov 1, 2025</strong>.</p>\n<p>Requesting you to <strong>update Android build pipeline</strong> (CMake/NDK flags) to produce aligned <code>.so</code> files.</p>",12 "post_number": 1,13 "post_type": 1,14 "posts_count": 4,15 "updated_at": "2025-09-22T06:36:37.202Z",16 "reply_count": 0,17 "reply_to_post_number": null,18 "quote_count": 0,19 "incoming_link_count": 52,20 "reads": 4,21 "readers_count": 3,22 "score": 190.8,23 "yours": false,24 "topic_id": 223243,25 "topic_slug": "android-build-native-libraries-not-16-kb-page-aligned-play-store-rejecting-apps",26 "display_username": "Prahlad",27 "primary_group_name": null,28 "flair_name": null,29 "flair_url": null,30 "flair_bg_color": null,31 "flair_color": null,32 "flair_group_id": null,33 "badges_granted": [],34 "version": 1,35 "can_edit": false,36 "can_delete": false,37 "can_recover": false,38 "can_see_hidden_post": false,39 "can_wiki": false,40 "read": true,41 "user_title": null,42 "bookmarked": false,43 "actions_summary": [],44 "moderator": false,45 "admin": false,46 "staff": false,47 "user_id": 85936,48 "hidden": false,49 "trust_level": 0,50 "deleted_at": null,51 "user_deleted": false,52 "edit_reason": null,53 "can_view_edit_history": true,54 "wiki": false,55 "post_url": "/t/android-build-native-libraries-not-16-kb-page-aligned-play-store-rejecting-apps/223243/1",56 "can_accept_answer": false,57 "can_unaccept_answer": false,58 "accepted_answer": false,59 "topic_accepted_answer": null,60 "can_vote": false61 },62 {63 "id": 475622,64 "name": "Cagatay Bilgin",65 "username": "cbilgin",66 "avatar_template": "/user_avatar/discuss.pytorch.org/cbilgin/{size}/48008_2.png",67 "created_at": "2025-09-22T16:17:37.633Z",68 "cooked": "<p>Please use ExecuTorch. We are no longer investing in PyTorch Mobile. You’ll get much more support along with all sorts of perf, memory, sizewins.</p>\n<ul>\n<li>ExecuTorch in Meta’s app <a href=\"https://engineering.fb.com/2025/07/28/android/executorch-on-device-ml-meta-family-of-apps/\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">Accelerating on-device ML on Meta’s family of apps with ExecuTorch - Engineering at Meta</a></li>\n<li>ExecuTorch in Reality Lab products: <a href=\"https://www.facebook.com/zuck/posts/pfbid0GchXk9XnAVgxRPfgCqLeZFivQGpcf6kzWWKZgGGxMkVEwJyQfmRa739Lwu5nt2ozl\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">Mark Zuckerberg</a></li>\n<li>VB post from a few years ago: <a href=\"https://venturebeat.com/ai/pytorch-executorch-extends-open-source-ai-for-new-quests-at-the-edge\" rel=\"noopener nofollow ugc\">https://venturebeat.com/ai/pytorch-executorch-extends-open-source-ai-for-new-quests-at-the-edge</a></li>\n</ul>",69 "post_number": 2,70 "post_type": 1,71 "posts_count": 4,72 "updated_at": "2025-09-22T16:17:37.633Z",73 "reply_count": 1,74 "reply_to_post_number": null,75 "quote_count": 0,76 "incoming_link_count": 6,77 "reads": 4,78 "readers_count": 3,79 "score": 50.8,80 "yours": false,81 "topic_id": 223243,82 "topic_slug": "android-build-native-libraries-not-16-kb-page-aligned-play-store-rejecting-apps",83 "display_username": "Cagatay Bilgin",84 "primary_group_name": null,85 "flair_name": null,86 "flair_url": null,87 "flair_bg_color": null,88 "flair_color": null,89 "flair_group_id": null,90 "badges_granted": [],91 "version": 1,92 "can_edit": false,93 "can_delete": false,94 "can_recover": false,95 "can_see_hidden_post": false,96 "can_wiki": false,97 "link_counts": [98 {99 "url": "https://engineering.fb.com/2025/07/28/android/executorch-on-device-ml-meta-family-of-apps/",100 "internal": false,101 "reflection": false,102 "title": "Accelerating on-device ML on Meta’s family of apps with ExecuTorch - Engineering at Meta",103 "clicks": 1104 },105 {106 "url": "https://www.facebook.com/zuck/posts/pfbid0GchXk9XnAVgxRPfgCqLeZFivQGpcf6kzWWKZgGGxMkVEwJyQfmRa739Lwu5nt2ozl",107 "internal": false,108 "reflection": false,109 "title": "Mark Zuckerberg",110 "clicks": 0111 },112 {113 "url": "https://venturebeat.com/ai/pytorch-executorch-extends-open-source-ai-for-new-quests-at-the-edge",114 "internal": false,115 "reflection": false,116 "clicks": 0117 }118 ],119 "read": true,120 "user_title": null,121 "bookmarked": false,122 "actions_summary": [123 {124 "id": 2,125 "count": 1126 }127 ],128 "moderator": false,129 "admin": false,130 "staff": false,131 "user_id": 58104,132 "hidden": false,133 "trust_level": 1,134 "deleted_at": null,135 "user_deleted": false,136 "edit_reason": null,137 "can_view_edit_history": true,138 "wiki": false,139 "post_url": "/t/android-build-native-libraries-not-16-kb-page-aligned-play-store-rejecting-apps/223243/2",140 "can_accept_answer": false,141 "can_unaccept_answer": false,142 "accepted_answer": false,143 "topic_accepted_answer": null144 },145 {146 "id": 475691,147 "name": "Prahlad",148 "username": "Prahlad",149 "avatar_template": "/user_avatar/discuss.pytorch.org/prahlad/{size}/76925_2.png",150 "created_at": "2025-09-24T05:06:26.271Z",151 "cooked": "<p>But still, the latest version of ExecuTorch is not aligned at 16 KB page boundaries.</p>\n<p>// <a href=\"https://mvnrepository.com/artifact/org.pytorch/executorch-android\" rel=\"noopener nofollow ugc\">https://mvnrepository.com/artifact/org.pytorch/executorch-android</a><br>\nimplementation ‘org.pytorch:executorch-android:1.0.0-rc1’</p>\n<p>When we can expect the newer version?</p>\n<p>Can we use it in production app?</p>",152 "post_number": 3,153 "post_type": 1,154 "posts_count": 4,155 "updated_at": "2025-09-24T05:06:26.271Z",156 "reply_count": 1,157 "reply_to_post_number": 2,158 "quote_count": 0,159 "incoming_link_count": 0,160 "reads": 3,161 "readers_count": 2,162 "score": 5.6,163 "yours": false,164 "topic_id": 223243,165 "topic_slug": "android-build-native-libraries-not-16-kb-page-aligned-play-store-rejecting-apps",166 "display_username": "Prahlad",167 "primary_group_name": null,168 "flair_name": null,169 "flair_url": null,170 "flair_bg_color": null,171 "flair_color": null,172 "flair_group_id": null,173 "badges_granted": [],174 "version": 1,175 "can_edit": false,176 "can_delete": false,177 "can_recover": false,178 "can_see_hidden_post": false,179 "can_wiki": false,180 "link_counts": [181 {182 "url": "https://mvnrepository.com/artifact/org.pytorch/executorch-android",183 "internal": false,184 "reflection": false,185 "clicks": 5186 }187 ],188 "read": true,189 "user_title": null,190 "reply_to_user": {191 "id": 58104,192 "username": "cbilgin",193 "name": "Cagatay Bilgin",194 "avatar_template": "/user_avatar/discuss.pytorch.org/cbilgin/{size}/48008_2.png"195 },196 "bookmarked": false,197 "actions_summary": [],198 "moderator": false,199 "admin": false,200 "staff": false,201 "user_id": 85936,202 "hidden": false,203 "trust_level": 0,204 "deleted_at": null,205 "user_deleted": false,206 "edit_reason": null,207 "can_view_edit_history": true,208 "wiki": false,209 "post_url": "/t/android-build-native-libraries-not-16-kb-page-aligned-play-store-rejecting-apps/223243/3",210 "can_accept_answer": false,211 "can_unaccept_answer": false,212 "accepted_answer": false,213 "topic_accepted_answer": null214 },215 {216 "id": 476030,217 "name": "Yusuf",218 "username": "olokobayusuf",219 "avatar_template": "/user_avatar/discuss.pytorch.org/olokobayusuf/{size}/78371_2.png",220 "created_at": "2025-10-07T16:29:30.910Z",221 "cooked": "<p>Do you still need this?</p>",222 "post_number": 4,223 "post_type": 1,224 "posts_count": 4,225 "updated_at": "2025-10-07T16:29:30.910Z",226 "reply_count": 0,227 "reply_to_post_number": 3,228 "quote_count": 0,229 "incoming_link_count": 0,230 "reads": 2,231 "readers_count": 1,232 "score": 0.4,233 "yours": false,234 "topic_id": 223243,235 "topic_slug": "android-build-native-libraries-not-16-kb-page-aligned-play-store-rejecting-apps",236 "display_username": "Yusuf",237 "primary_group_name": null,238 "flair_name": null,239 "flair_url": null,240 "flair_bg_color": null,241 "flair_color": null,242 "flair_group_id": null,243 "badges_granted": [],244 "version": 1,245 "can_edit": false,246 "can_delete": false,247 "can_recover": false,248 "can_see_hidden_post": false,249 "can_wiki": false,250 "read": true,251 "user_title": null,252 "reply_to_user": {253 "id": 85936,254 "username": "Prahlad",255 "name": "Prahlad",256 "avatar_template": "/user_avatar/discuss.pytorch.org/prahlad/{size}/76925_2.png"257 },258 "bookmarked": false,259 "actions_summary": [],260 "moderator": false,261 "admin": false,262 "staff": false,263 "user_id": 86070,264 "hidden": false,265 "trust_level": 0,266 "deleted_at": null,267 "user_deleted": false,268 "edit_reason": null,269 "can_view_edit_history": true,270 "wiki": false,271 "post_url": "/t/android-build-native-libraries-not-16-kb-page-aligned-play-store-rejecting-apps/223243/4",272 "can_accept_answer": false,273 "can_unaccept_answer": false,274 "accepted_answer": false,275 "topic_accepted_answer": null276 }277 ],278 "stream": [279 475612,280 475622,281 475691,282 476030283 ]284 },285 "timeline_lookup": [286 [287 1,288 33289 ],290 [291 3,292 32293 ],294 [295 4,296 18297 ]298 ],299 "suggested_topics": [300 {301 "fancy_title": "Pytorch on Android App Open Source Code",302 "id": 212345,303 "title": "Pytorch on Android App Open Source Code",304 "slug": "pytorch-on-android-app-open-source-code",305 "posts_count": 4,306 "reply_count": 2,307 "highest_post_number": 4,308 "image_url": null,309 "created_at": "2024-10-31T05:01:09.173Z",310 "last_posted_at": "2024-11-01T05:45:54.334Z",311 "bumped": true,312 "bumped_at": "2024-11-01T05:45:54.334Z",313 "archetype": "regular",314 "unseen": false,315 "pinned": false,316 "unpinned": null,317 "visible": true,318 "closed": false,319 "archived": false,320 "bookmarked": null,321 "liked": null,322 "tags_descriptions": {},323 "like_count": 0,324 "views": 415,325 "category_id": 18,326 "featured_link": null,327 "has_accepted_answer": false,328 "posters": [329 {330 "extras": null,331 "description": "Original Poster",332 "user": {333 "id": 80605,334 "username": "hasan10242048",335 "name": "Hasan",336 "avatar_template": "/letter_avatar_proxy/v4/letter/h/db5fbb/{size}.png",337 "trust_level": 0338 }339 },340 {341 "extras": "latest",342 "description": "Most Recent Poster",343 "user": {344 "id": 78822,345 "username": "Mert_Oguzhan",346 "name": "Mert Oğuzhan",347 "avatar_template": "/user_avatar/discuss.pytorch.org/mert_oguzhan/{size}/72669_2.png",348 "trust_level": 1349 }350 }351 ]352 },353 {354 "fancy_title": "Xcode got error “Error loading model: Following ops cannot be found: [aten::scaled_dot_product_attention]. Please check if the operator library is included in the build. If built with selected ops, check if these ops are in the list.”",355 "id": 215201,356 "title": "Xcode got error \"Error loading model: Following ops cannot be found: [aten::scaled_dot_product_attention]. Please check if the operator library is included in the build. If built with selected ops, check if these ops are in the list.\"",357 "slug": "xcode-got-error-error-loading-model-following-ops-cannot-be-found-aten-scaled-dot-product-attention-please-check-if-the-operator-library-is-included-in-the-build-if-built-with-selected-ops-check-if-these-ops-are-in-the-list",358 "posts_count": 5,359 "reply_count": 2,360 "highest_post_number": 5,361 "image_url": null,362 "created_at": "2025-01-10T08:48:17.185Z",363 "last_posted_at": "2025-01-13T08:45:48.126Z",364 "bumped": true,365 "bumped_at": "2025-01-13T08:45:48.126Z",366 "archetype": "regular",367 "unseen": false,368 "pinned": false,369 "unpinned": null,370 "visible": true,371 "closed": false,372 "archived": false,373 "bookmarked": null,374 "liked": null,375 "tags_descriptions": {},376 "like_count": 0,377 "views": 55,378 "category_id": 18,379 "featured_link": null,380 "has_accepted_answer": false,381 "posters": [382 {383 "extras": "latest",384 "description": "Original Poster, Most Recent Poster",385 "user": {386 "id": 81987,387 "username": "Danny_Vu",388 "name": "Danny Vu",389 "avatar_template": "/user_avatar/discuss.pytorch.org/danny_vu/{size}/75016_2.png",390 "trust_level": 0391 }392 },393 {394 "extras": null,395 "description": "Frequent Poster",396 "user": {397 "id": 3534,398 "username": "ptrblck",399 "name": "",400 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",401 "admin": true,402 "moderator": true,403 "trust_level": 2404 }405 },406 {407 "extras": null,408 "description": "Frequent Poster",409 "user": {410 "id": 82002,411 "username": "tarun292",412 "name": "Tarun Karuturi",413 "avatar_template": "/user_avatar/discuss.pytorch.org/tarun292/{size}/75031_2.png",414 "trust_level": 0415 }416 }417 ]418 },419 {420 "fancy_title": "[Android] Large model 4GB on Android app is crashing",421 "id": 223543,422 "title": "[Android] Large model 4GB on Android app is crashing",423 "slug": "android-large-model-4gb-on-android-app-is-crashing",424 "posts_count": 7,425 "reply_count": 1,426 "highest_post_number": 7,427 "image_url": null,428 "created_at": "2025-10-09T07:28:00.164Z",429 "last_posted_at": "2025-10-20T19:14:43.627Z",430 "bumped": true,431 "bumped_at": "2025-10-20T19:14:43.627Z",432 "archetype": "regular",433 "unseen": false,434 "pinned": false,435 "unpinned": null,436 "visible": true,437 "closed": false,438 "archived": false,439 "bookmarked": null,440 "liked": null,441 "tags_descriptions": {},442 "like_count": 0,443 "views": 46,444 "category_id": 18,445 "featured_link": null,446 "has_accepted_answer": false,447 "posters": [448 {449 "extras": null,450 "description": "Original Poster",451 "user": {452 "id": 86107,453 "username": "brainchip_india",454 "name": "brainchip india",455 "avatar_template": "/user_avatar/discuss.pytorch.org/brainchip_india/{size}/78397_2.png",456 "trust_level": 1457 }458 },459 {460 "extras": null,461 "description": "Frequent Poster",462 "user": {463 "id": 86058,464 "username": "GerryMan",465 "name": null,466 "avatar_template": "/letter_avatar_proxy/v4/letter/g/f6c823/{size}.png",467 "trust_level": 1468 }469 },470 {471 "extras": null,472 "description": "Frequent Poster",473 "user": {474 "id": 86070,475 "username": "olokobayusuf",476 "name": "Yusuf",477 "avatar_template": "/user_avatar/discuss.pytorch.org/olokobayusuf/{size}/78371_2.png",478 "trust_level": 0479 }480 },481 {482 "extras": "latest",483 "description": "Most Recent Poster",484 "user": {485 "id": 58104,486 "username": "cbilgin",487 "name": "Cagatay Bilgin",488 "avatar_template": "/user_avatar/discuss.pytorch.org/cbilgin/{size}/48008_2.png",489 "trust_level": 1490 }491 }492 ]493 },494 {495 "fancy_title": "How to freeze a single neurons?",496 "id": 223080,497 "title": "How to freeze a single neurons?",498 "slug": "how-to-freeze-a-single-neurons",499 "posts_count": 2,500 "reply_count": 0,501 "highest_post_number": 2,502 "image_url": null,503 "created_at": "2025-09-14T11:33:33.612Z",504 "last_posted_at": "2025-09-14T11:51:04.581Z",505 "bumped": true,506 "bumped_at": "2025-09-14T11:51:04.581Z",507 "archetype": "regular",508 "unseen": false,509 "pinned": false,510 "unpinned": null,511 "visible": true,512 "closed": false,513 "archived": false,514 "bookmarked": null,515 "liked": null,516 "tags_descriptions": {},517 "like_count": 1,518 "views": 21,519 "category_id": 1,520 "featured_link": null,521 "has_accepted_answer": false,522 "posters": [523 {524 "extras": null,525 "description": "Original Poster",526 "user": {527 "id": 85860,528 "username": "Junlin1111",529 "name": null,530 "avatar_template": "/letter_avatar_proxy/v4/letter/j/9de053/{size}.png",531 "trust_level": 0532 }533 },534 {535 "extras": "latest",536 "description": "Most Recent Poster",537 "user": {538 "id": 41458,539 "username": "J_Johnson",540 "name": "J Johnson",541 "avatar_template": "/user_avatar/discuss.pytorch.org/j_johnson/{size}/55494_2.png",542 "trust_level": 2543 }544 }545 ]546 },547 {548 "fancy_title": "TensorRT: Errors in PTQ Example",549 "id": 215386,550 "title": "TensorRT: Errors in PTQ Example",551 "slug": "tensorrt-errors-in-ptq-example",552 "posts_count": 4,553 "reply_count": 0,554 "highest_post_number": 4,555 "image_url": null,556 "created_at": "2025-01-14T17:41:05.390Z",557 "last_posted_at": "2025-01-21T11:58:15.063Z",558 "bumped": true,559 "bumped_at": "2025-01-21T11:58:15.063Z",560 "archetype": "regular",561 "unseen": false,562 "pinned": false,563 "unpinned": null,564 "visible": true,565 "closed": false,566 "archived": false,567 "bookmarked": null,568 "liked": null,569 "tags_descriptions": {},570 "like_count": 0,571 "views": 365,572 "category_id": 1,573 "featured_link": null,574 "has_accepted_answer": true,575 "posters": [576 {577 "extras": "latest",578 "description": "Original Poster, Most Recent Poster",579 "user": {580 "id": 82089,581 "username": "Tim_Langer",582 "name": "Tim Langer",583 "avatar_template": "/user_avatar/discuss.pytorch.org/tim_langer/{size}/75104_2.png",584 "trust_level": 1585 }586 },587 {588 "extras": null,589 "description": "Frequent Poster, Accepted Answer",590 "user": {591 "id": 50592,592 "username": "narendasan",593 "name": "Naren Dasan",594 "avatar_template": "/user_avatar/discuss.pytorch.org/narendasan/{size}/44133_2.png",595 "trust_level": 1596 }597 },598 {599 "extras": null,600 "description": "Frequent Poster",601 "user": {602 "id": 3534,603 "username": "ptrblck",604 "name": "",605 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",606 "admin": true,607 "moderator": true,608 "trust_level": 2609 }610 }611 ]612 }613 ],614 "tags_descriptions": {},615 "fancy_title": "Android build: Native libraries not 16 KB page-aligned, Play Store rejecting apps",616 "id": 223243,617 "title": "Android build: Native libraries not 16 KB page-aligned, Play Store rejecting apps",618 "posts_count": 4,619 "created_at": "2025-09-22T06:36:37.147Z",620 "views": 71,621 "reply_count": 2,622 "like_count": 1,623 "last_posted_at": "2025-10-07T16:29:30.910Z",624 "visible": true,625 "closed": false,626 "archived": false,627 "has_summary": false,628 "archetype": "regular",629 "slug": "android-build-native-libraries-not-16-kb-page-aligned-play-store-rejecting-apps",630 "category_id": 18,631 "word_count": 202,632 "deleted_at": null,633 "user_id": 85936,634 "featured_link": null,635 "pinned_globally": false,636 "pinned_at": null,637 "pinned_until": null,638 "image_url": null,639 "slow_mode_seconds": 0,640 "draft": null,641 "draft_key": "topic_223243",642 "draft_sequence": null,643 "unpinned": null,644 "pinned": false,645 "current_post_number": 1,646 "highest_post_number": 4,647 "deleted_by": null,648 "actions_summary": [649 {650 "id": 4,651 "count": 0,652 "hidden": false,653 "can_act": false654 },655 {656 "id": 8,657 "count": 0,658 "hidden": false,659 "can_act": false660 },661 {662 "id": 10,663 "count": 0,664 "hidden": false,665 "can_act": false666 },667 {668 "id": 7,669 "count": 0,670 "hidden": false,671 "can_act": false672 }673 ],674 "chunk_size": 20,675 "bookmarked": false,676 "topic_timer": null,677 "message_bus_last_id": 0,678 "participant_count": 3,679 "show_read_indicator": false,680 "thumbnails": null,681 "slow_mode_enabled_until": null,682 "can_vote": false,683 "vote_count": 0,684 "user_voted": false,685 "discourse_zendesk_plugin_zendesk_id": null,686 "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",687 "details": {688 "can_edit": false,689 "notification_level": 1,690 "participants": [691 {692 "id": 85936,693 "username": "Prahlad",694 "name": "Prahlad",695 "avatar_template": "/user_avatar/discuss.pytorch.org/prahlad/{size}/76925_2.png",696 "post_count": 2,697 "primary_group_name": null,698 "flair_name": null,699 "flair_url": null,700 "flair_color": null,701 "flair_bg_color": null,702 "flair_group_id": null,703 "trust_level": 0704 },705 {706 "id": 58104,707 "username": "cbilgin",708 "name": "Cagatay Bilgin",709 "avatar_template": "/user_avatar/discuss.pytorch.org/cbilgin/{size}/48008_2.png",710 "post_count": 1,711 "primary_group_name": null,712 "flair_name": null,713 "flair_url": null,714 "flair_color": null,715 "flair_bg_color": null,716 "flair_group_id": null,717 "trust_level": 1718 },719 {720 "id": 86070,721 "username": "olokobayusuf",722 "name": "Yusuf",723 "avatar_template": "/user_avatar/discuss.pytorch.org/olokobayusuf/{size}/78371_2.png",724 "post_count": 1,725 "primary_group_name": null,726 "flair_name": null,727 "flair_url": null,728 "flair_color": null,729 "flair_bg_color": null,730 "flair_group_id": null,731 "trust_level": 0732 }733 ],734 "created_by": {735 "id": 85936,736 "username": "Prahlad",737 "name": "Prahlad",738 "avatar_template": "/user_avatar/discuss.pytorch.org/prahlad/{size}/76925_2.png"739 },740 "last_poster": {741 "id": 86070,742 "username": "olokobayusuf",743 "name": "Yusuf",744 "avatar_template": "/user_avatar/discuss.pytorch.org/olokobayusuf/{size}/78371_2.png"745 },746 "links": [747 {748 "url": "https://mvnrepository.com/artifact/org.pytorch/executorch-android",749 "title": null,750 "internal": false,751 "attachment": false,752 "reflection": false,753 "clicks": 5,754 "user_id": 85936,755 "domain": "mvnrepository.com",756 "root_domain": "mvnrepository.com"757 },758 {759 "url": "https://engineering.fb.com/2025/07/28/android/executorch-on-device-ml-meta-family-of-apps/",760 "title": "Accelerating on-device ML on Meta’s family of apps with ExecuTorch - Engineering at Meta",761 "internal": false,762 "attachment": false,763 "reflection": false,764 "clicks": 1,765 "user_id": 58104,766 "domain": "engineering.fb.com",767 "root_domain": "fb.com"768 }769 ]770 },771 "bookmarks": []772 },773 {774 "post_stream": {775 "posts": [776 {777 "id": 475986,778 "name": "Peter Featherstone",779 "username": "Peter_Featherstone",780 "avatar_template": "/user_avatar/discuss.pytorch.org/peter_featherstone/{size}/12813_2.png",781 "created_at": "2025-10-06T09:01:13.275Z",782 "cooked": "<p>Is there a way to export a pytorch model to pure C code ?</p>\n<p>Can you use <code>torch.export()</code> to go from Export IR to LLVM/MLIR IR to pure C, maybe using EmitC ?</p>\n<p>My alternative approach is to export my model to ONNX, then load into Tinygrad, then compile to C code, which TinyGrad does anyway as it is essentially a compiler. However i would have thought that pytorch could do this natively with <code>torch.export()</code>.</p>\n<p>Motivation is to create a self contained C library without any dependencies on executorch or onnxruntime.</p>",783 "post_number": 1,784 "post_type": 1,785 "posts_count": 3,786 "updated_at": "2025-10-06T09:01:13.275Z",787 "reply_count": 0,788 "reply_to_post_number": null,789 "quote_count": 0,790 "incoming_link_count": 6,791 "reads": 9,792 "readers_count": 8,793 "score": 26.8,794 "yours": false,795 "topic_id": 223479,796 "topic_slug": "export-model-to-pure-c",797 "display_username": "Peter Featherstone",798 "primary_group_name": null,799 "flair_name": null,800 "flair_url": null,801 "flair_bg_color": null,802 "flair_color": null,803 "flair_group_id": null,804 "badges_granted": [],805 "version": 1,806 "can_edit": false,807 "can_delete": false,808 "can_recover": false,809 "can_see_hidden_post": false,810 "can_wiki": false,811 "read": true,812 "user_title": null,813 "bookmarked": false,814 "actions_summary": [],815 "moderator": false,816 "admin": false,817 "staff": false,818 "user_id": 19335,819 "hidden": false,820 "trust_level": 2,821 "deleted_at": null,822 "user_deleted": false,823 "edit_reason": null,824 "can_view_edit_history": true,825 "wiki": false,826 "post_url": "/t/export-model-to-pure-c/223479/1",827 "can_accept_answer": false,828 "can_unaccept_answer": false,829 "accepted_answer": false,830 "topic_accepted_answer": null,831 "can_vote": false832 },833 {834 "id": 475998,835 "name": null,836 "username": "GerryMan",837 "avatar_template": "/letter_avatar_proxy/v4/letter/g/f6c823/{size}.png",838 "created_at": "2025-10-06T17:12:55.856Z",839 "cooked": "<p>Direct C code export isn’t supported but <code>torch.export</code> plus AOTInductor can produce a self contained C compatible library without python or onnx dependencies.</p>",840 "post_number": 2,841 "post_type": 1,842 "posts_count": 3,843 "updated_at": "2025-10-06T17:12:55.856Z",844 "reply_count": 0,845 "reply_to_post_number": null,846 "quote_count": 0,847 "incoming_link_count": 1,848 "reads": 5,849 "readers_count": 4,850 "score": 6.0,851 "yours": false,852 "topic_id": 223479,853 "topic_slug": "export-model-to-pure-c",854 "display_username": null,855 "primary_group_name": null,856 "flair_name": null,857 "flair_url": null,858 "flair_bg_color": null,859 "flair_color": null,860 "flair_group_id": null,861 "badges_granted": [],862 "version": 1,863 "can_edit": false,864 "can_delete": false,865 "can_recover": false,866 "can_see_hidden_post": false,867 "can_wiki": false,868 "read": true,869 "user_title": null,870 "bookmarked": false,871 "actions_summary": [],872 "moderator": false,873 "admin": false,874 "staff": false,875 "user_id": 86058,876 "hidden": false,877 "trust_level": 1,878 "deleted_at": null,879 "user_deleted": false,880 "edit_reason": null,881 "can_view_edit_history": true,882 "wiki": false,883 "post_url": "/t/export-model-to-pure-c/223479/2",884 "can_accept_answer": false,885 "can_unaccept_answer": false,886 "accepted_answer": false,887 "topic_accepted_answer": null888 },889 {890 "id": 476029,891 "name": "Yusuf",892 "username": "olokobayusuf",893 "avatar_template": "/user_avatar/discuss.pytorch.org/olokobayusuf/{size}/78371_2.png",894 "created_at": "2025-10-07T16:25:43.560Z",895 "cooked": "<p><a class=\"mention\" href=\"/u/peter_featherstone\">@Peter_Featherstone</a> we’re building this exact thing at <a href=\"https://docs.muna.ai/predictors/ai\" rel=\"noopener nofollow ugc\">Muna</a>. We ingest plain Python/PyTorch code, transpile it to C++, then cross-compile it for different platforms. The compiled binaries are fully self-contained, hardware accelerated, and can be used from multiple languages in as little as two lines of code.</p>\n<p><a href=\"https://muna.ai/slack\" rel=\"noopener nofollow ugc\">Hop on our Slack</a> and I’ll be happy to give you a walkthrough.</p>",896 "post_number": 3,897 "post_type": 1,898 "posts_count": 3,899 "updated_at": "2025-10-07T16:25:43.560Z",900 "reply_count": 0,901 "reply_to_post_number": null,902 "quote_count": 0,903 "incoming_link_count": 1,904 "reads": 4,905 "readers_count": 3,906 "score": 5.8,907 "yours": false,908 "topic_id": 223479,909 "topic_slug": "export-model-to-pure-c",910 "display_username": "Yusuf",911 "primary_group_name": null,912 "flair_name": null,913 "flair_url": null,914 "flair_bg_color": null,915 "flair_color": null,916 "flair_group_id": null,917 "badges_granted": [],918 "version": 1,919 "can_edit": false,920 "can_delete": false,921 "can_recover": false,922 "can_see_hidden_post": false,923 "can_wiki": false,924 "link_counts": [925 {926 "url": "https://muna.ai/slack",927 "internal": false,928 "reflection": false,929 "title": "Slack",930 "clicks": 3931 },932 {933 "url": "https://docs.muna.ai/predictors/ai",934 "internal": false,935 "reflection": false,936 "title": "Compiling AI Functions - Muna Docs",937 "clicks": 2938 }939 ],940 "read": true,941 "user_title": null,942 "bookmarked": false,943 "actions_summary": [],944 "moderator": false,945 "admin": false,946 "staff": false,947 "user_id": 86070,948 "hidden": false,949 "trust_level": 0,950 "deleted_at": null,951 "user_deleted": false,952 "edit_reason": null,953 "can_view_edit_history": true,954 "wiki": false,955 "post_url": "/t/export-model-to-pure-c/223479/3",956 "can_accept_answer": false,957 "can_unaccept_answer": false,958 "accepted_answer": false,959 "topic_accepted_answer": null960 }961 ],962 "stream": [963 475986,964 475998,965 476029966 ]967 },968 "timeline_lookup": [969 [970 1,971 19972 ],973 [974 3,975 18976 ]977 ],978 "suggested_topics": [979 {980 "fancy_title": "How to assignment between two parameters with their string names?",981 "id": 219811,982 "title": "How to assignment between two parameters with their string names?",983 "slug": "how-to-assignment-between-two-parameters-with-their-string-names",984 "posts_count": 4,985 "reply_count": 0,986 "highest_post_number": 4,987 "image_url": null,988 "created_at": "2025-05-06T13:43:56.583Z",989 "last_posted_at": "2025-05-06T14:00:31.125Z",990 "bumped": true,991 "bumped_at": "2025-05-06T14:00:31.125Z",992 "archetype": "regular",993 "unseen": false,994 "pinned": false,995 "unpinned": null,996 "visible": true,997 "closed": false,998 "archived": false,999 "bookmarked": null,1000 "liked": null,1001 "tags_descriptions": {},1002 "like_count": 0,1003 "views": 35,1004 "category_id": 1,1005 "featured_link": null,1006 "has_accepted_answer": false,1007 "posters": [1008 {1009 "extras": "latest",1010 "description": "Original Poster, Most Recent Poster",1011 "user": {1012 "id": 84172,1013 "username": "ljppro",1014 "name": "ljppro",1015 "avatar_template": "/letter_avatar_proxy/v4/letter/l/43a26b/{size}.png",1016 "trust_level": 11017 }1018 },1019 {1020 "extras": null,1021 "description": "Frequent Poster",1022 "user": {1023 "id": 3534,1024 "username": "ptrblck",1025 "name": "",1026 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1027 "admin": true,1028 "moderator": true,1029 "trust_level": 21030 }1031 }1032 ]1033 },1034 {1035 "fancy_title": "Apply vectorized random permutations to conv2d weight tensors",1036 "id": 219841,1037 "title": "Apply vectorized random permutations to conv2d weight tensors",1038 "slug": "apply-vectorized-random-permutations-to-conv2d-weight-tensors",1039 "posts_count": 5,1040 "reply_count": 2,1041 "highest_post_number": 5,1042 "image_url": null,1043 "created_at": "2025-05-07T16:18:32.454Z",1044 "last_posted_at": "2025-05-12T07:56:52.703Z",1045 "bumped": true,1046 "bumped_at": "2025-05-12T07:56:52.703Z",1047 "archetype": "regular",1048 "unseen": false,1049 "pinned": false,1050 "unpinned": null,1051 "visible": true,1052 "closed": false,1053 "archived": false,1054 "bookmarked": null,1055 "liked": null,1056 "tags_descriptions": {},1057 "like_count": 2,1058 "views": 130,1059 "category_id": 1,1060 "featured_link": null,1061 "has_accepted_answer": true,1062 "posters": [1063 {1064 "extras": "latest",1065 "description": "Original Poster, Most Recent Poster",1066 "user": {1067 "id": 80418,1068 "username": "basavyr",1069 "name": "Robert Poenaru",1070 "avatar_template": "/user_avatar/discuss.pytorch.org/basavyr/{size}/73507_2.png",1071 "trust_level": 11072 }1073 },1074 {1075 "extras": null,1076 "description": "Frequent Poster, Accepted Answer",1077 "user": {1078 "id": 3534,1079 "username": "ptrblck",1080 "name": "",1081 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1082 "admin": true,1083 "moderator": true,1084 "trust_level": 21085 }1086 },1087 {1088 "extras": null,1089 "description": "Frequent Poster",1090 "user": {1091 "id": 18088,1092 "username": "KFrank",1093 "name": "K. Frank",1094 "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",1095 "trust_level": 21096 }1097 }1098 ]1099 },1100 {1101 "fancy_title": "Process Pool freezes",1102 "id": 214981,1103 "title": "Process Pool freezes",1104 "slug": "process-pool-freezes",1105 "posts_count": 1,1106 "reply_count": 0,1107 "highest_post_number": 1,1108 "image_url": null,1109 "created_at": "2025-01-04T22:52:42.533Z",1110 "last_posted_at": "2025-01-04T22:52:42.574Z",1111 "bumped": true,1112 "bumped_at": "2025-01-04T22:52:42.574Z",1113 "archetype": "regular",1114 "unseen": false,1115 "pinned": false,1116 "unpinned": null,1117 "visible": true,1118 "closed": false,1119 "archived": false,1120 "bookmarked": null,1121 "liked": null,1122 "tags_descriptions": {},1123 "like_count": 0,1124 "views": 106,1125 "category_id": 1,1126 "featured_link": null,1127 "has_accepted_answer": false,1128 "posters": [1129 {1130 "extras": "latest single",1131 "description": "Original Poster, Most Recent Poster",1132 "user": {1133 "id": 81433,1134 "username": "ACitronella",1135 "name": "",1136 "avatar_template": "/letter_avatar_proxy/v4/letter/a/9fc29f/{size}.png",1137 "trust_level": 11138 }1139 }1140 ]1141 },1142 {1143 "fancy_title": "AttributeError: module ‘html.parser’ has no attribute ‘HTMLParseError’",1144 "id": 212573,1145 "title": "AttributeError: module 'html.parser' has no attribute 'HTMLParseError'",1146 "slug": "attributeerror-module-html-parser-has-no-attribute-htmlparseerror",1147 "posts_count": 2,1148 "reply_count": 0,1149 "highest_post_number": 2,1150 "image_url": null,1151 "created_at": "2024-11-05T20:11:42.202Z",1152 "last_posted_at": "2024-11-05T20:38:24.609Z",1153 "bumped": true,1154 "bumped_at": "2024-11-05T20:38:24.609Z",1155 "archetype": "regular",1156 "unseen": false,1157 "pinned": false,1158 "unpinned": null,1159 "visible": true,1160 "closed": false,1161 "archived": false,1162 "bookmarked": null,1163 "liked": null,1164 "tags_descriptions": {},1165 "like_count": 0,1166 "views": 178,1167 "category_id": 1,1168 "featured_link": null,1169 "has_accepted_answer": false,1170 "posters": [1171 {1172 "extras": null,1173 "description": "Original Poster",1174 "user": {1175 "id": 72430,1176 "username": "Eduardo_Lawson",1177 "name": "Eduardo Lawson da Silva",1178 "avatar_template": "/user_avatar/discuss.pytorch.org/eduardo_lawson/{size}/66899_2.png",1179 "trust_level": 21180 }1181 },1182 {1183 "extras": "latest",1184 "description": "Most Recent Poster",1185 "user": {1186 "id": 3534,1187 "username": "ptrblck",1188 "name": "",1189 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1190 "admin": true,1191 "moderator": true,1192 "trust_level": 21193 }1194 }1195 ]1196 },1197 {1198 "fancy_title": "Performance Issue: torch.matmul selecting cutlass sm75 kernel for A100",1199 "id": 220682,1200 "title": "Performance Issue: torch.matmul selecting cutlass sm75 kernel for A100",