CoolFace
Datasetpublic

Anurag1734/cuda-error-resolution-analysis

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes7downloads
topics_batch_153.json65248 linesDownload Raw Back to raw
1[2  {3    "post_stream": {4      "posts": [5        {6          "id": 385466,7          "name": "Vivek Khandelwal",8          "username": "vivek_khandelwal",9          "avatar_template": "/user_avatar/discuss.pytorch.org/vivek_khandelwal/{size}/56905_2.png",10          "created_at": "2023-01-31T13:50:23.744Z",11          "cooked": "<p>Hi all, I’m working on compiling a model using Torchdynamo + <a href=\"https://github.com/llvm/torch-mlir\" rel=\"noopener nofollow ugc\">Torch-MLIR</a>, and running it via <a href=\"https://github.com/iree-org/iree/\" rel=\"noopener nofollow ugc\">IREE</a>. The issue I’m facing is that the fx graph that is getting generated contains nearly 1000 function args (all tensors). Because of such a large number of function args, it results in a segmentation fault during IREE runtime. The reason is that the system heap gets exhausted when allocating such a large number of tensors (which are large in size). FYI, these tensors are the weights of the model. I have two questions here:<br>\n1.) Can we make any changes to the fx graph such that these function args are replaced by a single arg which would be a list of tensors and all the usages of these function args with the list accesses?<br>\n2.) Is there any other way we can handle this type of instance via torchdynamo?</p>",12          "post_number": 1,13          "post_type": 1,14          "posts_count": 3,15          "updated_at": "2023-01-31T13:51:04.412Z",16          "reply_count": 0,17          "reply_to_post_number": null,18          "quote_count": 0,19          "incoming_link_count": 203,20          "reads": 16,21          "readers_count": 15,22          "score": 1018.2,23          "yours": false,24          "topic_id": 171469,25          "topic_slug": "torchdynamo-too-many-function-args-in-a-fx-graph",26          "display_username": "Vivek Khandelwal",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          "link_counts": [41            {42              "url": "https://github.com/iree-org/iree/",43              "internal": false,44              "reflection": false,45              "title": "GitHub - iree-org/iree: 👻",46              "clicks": 947            },48            {49              "url": "https://github.com/llvm/torch-mlir",50              "internal": false,51              "reflection": false,52              "title": "GitHub - llvm/torch-mlir: The Torch-MLIR project aims to provide first class support from the PyTorch ecosystem to the MLIR ecosystem.",53              "clicks": 554            }55          ],56          "read": true,57          "user_title": null,58          "bookmarked": false,59          "actions_summary": [],60          "moderator": false,61          "admin": false,62          "staff": false,63          "user_id": 62952,64          "hidden": false,65          "trust_level": 0,66          "deleted_at": null,67          "user_deleted": false,68          "edit_reason": null,69          "can_view_edit_history": true,70          "wiki": false,71          "post_url": "/t/torchdynamo-too-many-function-args-in-a-fx-graph/171469/1",72          "can_accept_answer": false,73          "can_unaccept_answer": false,74          "accepted_answer": false,75          "topic_accepted_answer": null,76          "can_vote": false77        },78        {79          "id": 393443,80          "name": "Mark Saroufim",81          "username": "marksaroufim",82          "avatar_template": "/user_avatar/discuss.pytorch.org/marksaroufim/{size}/36747_2.png",83          "created_at": "2023-03-22T00:45:57.420Z",84          "cooked": "<p>cc <a class=\"mention\" href=\"/u/sherlocknomad\">@SherlockNoMad</a> who might know</p>",85          "post_number": 2,86          "post_type": 1,87          "posts_count": 3,88          "updated_at": "2023-03-22T00:45:57.420Z",89          "reply_count": 0,90          "reply_to_post_number": null,91          "quote_count": 0,92          "incoming_link_count": 0,93          "reads": 11,94          "readers_count": 10,95          "score": 2.2,96          "yours": false,97          "topic_id": 171469,98          "topic_slug": "torchdynamo-too-many-function-args-in-a-fx-graph",99          "display_username": "Mark Saroufim",100          "primary_group_name": null,101          "flair_name": null,102          "flair_url": null,103          "flair_bg_color": null,104          "flair_color": null,105          "flair_group_id": null,106          "badges_granted": [],107          "version": 1,108          "can_edit": false,109          "can_delete": false,110          "can_recover": false,111          "can_see_hidden_post": false,112          "can_wiki": false,113          "read": true,114          "user_title": "Regular",115          "title_is_group": false,116          "bookmarked": false,117          "actions_summary": [],118          "moderator": false,119          "admin": false,120          "staff": false,121          "user_id": 43941,122          "hidden": false,123          "trust_level": 3,124          "deleted_at": null,125          "user_deleted": false,126          "edit_reason": null,127          "can_view_edit_history": true,128          "wiki": false,129          "post_url": "/t/torchdynamo-too-many-function-args-in-a-fx-graph/171469/2",130          "can_accept_answer": false,131          "can_unaccept_answer": false,132          "accepted_answer": false,133          "topic_accepted_answer": null134        },135        {136          "id": 393446,137          "name": "Sherlock",138          "username": "SherlockNoMad",139          "avatar_template": "/user_avatar/discuss.pytorch.org/sherlocknomad/{size}/44866_2.png",140          "created_at": "2023-03-22T01:28:01.785Z",141          "cooked": "<p>You are getting a FX graph produced by AOTAutograd, which lifts parameters/buffers as graph inputs. You may ask why we wanna do this? This is because we want to produce a stateless graph, which will be easier to work with for most backends.</p>\n<p>As a work around, you may want to write a pass that fold inputs back into graph as its internal state.</p>",142          "post_number": 3,143          "post_type": 1,144          "posts_count": 3,145          "updated_at": "2023-03-22T01:28:01.785Z",146          "reply_count": 0,147          "reply_to_post_number": null,148          "quote_count": 0,149          "incoming_link_count": 2,150          "reads": 10,151          "readers_count": 9,152          "score": 12.0,153          "yours": false,154          "topic_id": 171469,155          "topic_slug": "torchdynamo-too-many-function-args-in-a-fx-graph",156          "display_username": "Sherlock",157          "primary_group_name": null,158          "flair_name": null,159          "flair_url": null,160          "flair_bg_color": null,161          "flair_color": null,162          "flair_group_id": null,163          "badges_granted": [],164          "version": 1,165          "can_edit": false,166          "can_delete": false,167          "can_recover": false,168          "can_see_hidden_post": false,169          "can_wiki": false,170          "read": true,171          "user_title": null,172          "bookmarked": false,173          "actions_summary": [],174          "moderator": false,175          "admin": false,176          "staff": false,177          "user_id": 51520,178          "hidden": false,179          "trust_level": 1,180          "deleted_at": null,181          "user_deleted": false,182          "edit_reason": null,183          "can_view_edit_history": true,184          "wiki": false,185          "post_url": "/t/torchdynamo-too-many-function-args-in-a-fx-graph/171469/3",186          "can_accept_answer": false,187          "can_unaccept_answer": false,188          "accepted_answer": false,189          "topic_accepted_answer": null190        }191      ],192      "stream": [193        385466,194        393443,195        393446196      ]197    },198    "timeline_lookup": [199      [200        1,201        998202      ],203      [204        2,205        949206      ]207    ],208    "suggested_topics": [209      {210        "fancy_title": "Dynamic slicing torch.export",211        "id": 212889,212        "title": "Dynamic slicing torch.export",213        "slug": "dynamic-slicing-torch-export",214        "posts_count": 3,215        "reply_count": 0,216        "highest_post_number": 3,217        "image_url": null,218        "created_at": "2024-11-12T19:40:42.004Z",219        "last_posted_at": "2024-11-16T17:48:29.488Z",220        "bumped": true,221        "bumped_at": "2024-11-16T17:48:29.488Z",222        "archetype": "regular",223        "unseen": false,224        "pinned": false,225        "unpinned": null,226        "visible": true,227        "closed": false,228        "archived": false,229        "bookmarked": null,230        "liked": null,231        "tags_descriptions": {},232        "like_count": 0,233        "views": 690,234        "category_id": 39,235        "featured_link": null,236        "has_accepted_answer": false,237        "posters": [238          {239            "extras": null,240            "description": "Original Poster",241            "user": {242              "id": 8321,243              "username": "will-rice",244              "name": "Will Rice",245              "avatar_template": "/user_avatar/discuss.pytorch.org/will-rice/{size}/55325_2.png",246              "trust_level": 1247            }248          },249          {250            "extras": "latest",251            "description": "Most Recent Poster",252            "user": {253              "id": 41997,254              "username": "bdhirsh",255              "name": "Brian Hirsh",256              "avatar_template": "/user_avatar/discuss.pytorch.org/bdhirsh/{size}/74038_2.png",257              "trust_level": 2258            }259          }260        ]261      },262      {263        "fancy_title": "Workaround for unsupported return of multiple tensors for torch.cond in a model intended for torch.onnx.export(dynamo=true,&hellip;)",264        "id": 215944,265        "title": "Workaround for unsupported return of multiple tensors for torch.cond in a model intended for torch.onnx.export(dynamo=true,...)",266        "slug": "workaround-for-unsupported-return-of-multiple-tensors-for-torch-cond-in-a-model-intended-for-torch-onnx-export-dynamo-true",267        "posts_count": 2,268        "reply_count": 0,269        "highest_post_number": 2,270        "image_url": null,271        "created_at": "2025-01-27T15:46:07.290Z",272        "last_posted_at": "2025-02-03T20:06:24.298Z",273        "bumped": true,274        "bumped_at": "2025-02-03T20:06:24.298Z",275        "archetype": "regular",276        "unseen": false,277        "pinned": false,278        "unpinned": null,279        "visible": true,280        "closed": false,281        "archived": false,282        "bookmarked": null,283        "liked": null,284        "tags_descriptions": {},285        "like_count": 0,286        "views": 87,287        "category_id": 39,288        "featured_link": null,289        "has_accepted_answer": false,290        "posters": [291          {292            "extras": "latest single",293            "description": "Original Poster, Most Recent Poster",294            "user": {295              "id": 81490,296              "username": "ionymikler",297              "name": "Jonathan (iony) Mikler",298              "avatar_template": "/user_avatar/discuss.pytorch.org/ionymikler/{size}/74503_2.png",299              "trust_level": 1300            }301          }302        ]303      },304      {305        "fancy_title": "Dynamo.explain() output",306        "id": 216610,307        "title": "Dynamo.explain() output",308        "slug": "dynamo-explain-output",309        "posts_count": 1,310        "reply_count": 0,311        "highest_post_number": 1,312        "image_url": null,313        "created_at": "2025-02-13T07:11:39.228Z",314        "last_posted_at": "2025-02-13T07:11:39.285Z",315        "bumped": true,316        "bumped_at": "2025-02-13T07:11:39.285Z",317        "archetype": "regular",318        "unseen": false,319        "pinned": false,320        "unpinned": null,321        "visible": true,322        "closed": false,323        "archived": false,324        "bookmarked": null,325        "liked": null,326        "tags_descriptions": {},327        "like_count": 0,328        "views": 131,329        "category_id": 39,330        "featured_link": null,331        "has_accepted_answer": false,332        "posters": [333          {334            "extras": "latest single",335            "description": "Original Poster, Most Recent Poster",336            "user": {337              "id": 82655,338              "username": "ysna",339              "name": "youngsu",340              "avatar_template": "/user_avatar/discuss.pytorch.org/ysna/{size}/75632_2.png",341              "trust_level": 1342            }343          }344        ]345      },346      {347        "fancy_title": "How to make TorchDynamoc decompose torch.nn.functional.scaled_dot_product_attention?",348        "id": 217112,349        "title": "How to make TorchDynamoc decompose torch.nn.functional.scaled_dot_product_attention?",350        "slug": "how-to-make-torchdynamoc-decompose-torch-nn-functional-scaled-dot-product-attention",351        "posts_count": 2,352        "reply_count": 0,353        "highest_post_number": 2,354        "image_url": null,355        "created_at": "2025-02-24T19:28:02.018Z",356        "last_posted_at": "2025-02-27T17:42:02.151Z",357        "bumped": true,358        "bumped_at": "2025-02-27T17:42:02.151Z",359        "archetype": "regular",360        "unseen": false,361        "pinned": false,362        "unpinned": null,363        "visible": true,364        "closed": false,365        "archived": false,366        "bookmarked": null,367        "liked": null,368        "tags_descriptions": {},369        "like_count": 0,370        "views": 89,371        "category_id": 39,372        "featured_link": null,373        "has_accepted_answer": false,374        "posters": [375          {376            "extras": null,377            "description": "Original Poster",378            "user": {379              "id": 82906,380              "username": "Weiliang_Lin",381              "name": "Weiliang Lin",382              "avatar_template": "/user_avatar/discuss.pytorch.org/weiliang_lin/{size}/75855_2.png",383              "trust_level": 0384            }385          },386          {387            "extras": "latest",388            "description": "Most Recent Poster",389            "user": {390              "id": 82975,391              "username": "zhxchen17",392              "name": "Zhengxu Chen",393              "avatar_template": "/user_avatar/discuss.pytorch.org/zhxchen17/{size}/75908_2.png",394              "trust_level": 1395            }396          }397        ]398      },399      {400        "fancy_title": "How does torch dynamo set custom eval frame callback?",401        "id": 219139,402        "title": "How does torch dynamo set custom eval frame callback?",403        "slug": "how-does-torch-dynamo-set-custom-eval-frame-callback",404        "posts_count": 2,405        "reply_count": 0,406        "highest_post_number": 2,407        "image_url": null,408        "created_at": "2025-04-16T05:57:47.318Z",409        "last_posted_at": "2025-04-16T12:09:20.702Z",410        "bumped": true,411        "bumped_at": "2025-04-16T12:09:20.702Z",412        "archetype": "regular",413        "unseen": false,414        "pinned": false,415        "unpinned": null,416        "visible": true,417        "closed": false,418        "archived": false,419        "bookmarked": null,420        "liked": null,421        "tags_descriptions": {},422        "like_count": 0,423        "views": 65,424        "category_id": 39,425        "featured_link": null,426        "has_accepted_answer": false,427        "posters": [428          {429            "extras": "latest single",430            "description": "Original Poster, Most Recent Poster",431            "user": {432              "id": 68949,433              "username": "huijjj",434              "name": "HUIJONG JEONG",435              "avatar_template": "/user_avatar/discuss.pytorch.org/huijjj/{size}/63435_2.png",436              "trust_level": 1437            }438          }439        ]440      }441    ],442    "tags_descriptions": {},443    "fancy_title": "[TorchDynamo] Too many function args in a fx graph",444    "id": 171469,445    "title": "[TorchDynamo] Too many function args in a fx graph",446    "posts_count": 3,447    "created_at": "2023-01-31T13:50:23.628Z",448    "views": 847,449    "reply_count": 0,450    "like_count": 0,451    "last_posted_at": "2023-03-22T01:28:01.785Z",452    "visible": true,453    "closed": false,454    "archived": false,455    "has_summary": false,456    "archetype": "regular",457    "slug": "torchdynamo-too-many-function-args-in-a-fx-graph",458    "category_id": 39,459    "word_count": 230,460    "deleted_at": null,461    "user_id": 62952,462    "featured_link": null,463    "pinned_globally": false,464    "pinned_at": null,465    "pinned_until": null,466    "image_url": null,467    "slow_mode_seconds": 0,468    "draft": null,469    "draft_key": "topic_171469",470    "draft_sequence": null,471    "unpinned": null,472    "pinned": false,473    "current_post_number": 1,474    "highest_post_number": 3,475    "deleted_by": null,476    "actions_summary": [477      {478        "id": 4,479        "count": 0,480        "hidden": false,481        "can_act": false482      },483      {484        "id": 8,485        "count": 0,486        "hidden": false,487        "can_act": false488      },489      {490        "id": 10,491        "count": 0,492        "hidden": false,493        "can_act": false494      },495      {496        "id": 7,497        "count": 0,498        "hidden": false,499        "can_act": false500      }501    ],502    "chunk_size": 20,503    "bookmarked": false,504    "topic_timer": null,505    "message_bus_last_id": 0,506    "participant_count": 3,507    "show_read_indicator": false,508    "thumbnails": null,509    "slow_mode_enabled_until": null,510    "can_vote": false,511    "vote_count": 0,512    "user_voted": false,513    "discourse_zendesk_plugin_zendesk_id": null,514    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",515    "details": {516      "can_edit": false,517      "notification_level": 1,518      "participants": [519        {520          "id": 43941,521          "username": "marksaroufim",522          "name": "Mark Saroufim",523          "avatar_template": "/user_avatar/discuss.pytorch.org/marksaroufim/{size}/36747_2.png",524          "post_count": 1,525          "primary_group_name": null,526          "flair_name": null,527          "flair_url": null,528          "flair_color": null,529          "flair_bg_color": null,530          "flair_group_id": null,531          "trust_level": 3532        },533        {534          "id": 51520,535          "username": "SherlockNoMad",536          "name": "Sherlock",537          "avatar_template": "/user_avatar/discuss.pytorch.org/sherlocknomad/{size}/44866_2.png",538          "post_count": 1,539          "primary_group_name": null,540          "flair_name": null,541          "flair_url": null,542          "flair_color": null,543          "flair_bg_color": null,544          "flair_group_id": null,545          "trust_level": 1546        },547        {548          "id": 62952,549          "username": "vivek_khandelwal",550          "name": "Vivek Khandelwal",551          "avatar_template": "/user_avatar/discuss.pytorch.org/vivek_khandelwal/{size}/56905_2.png",552          "post_count": 1,553          "primary_group_name": null,554          "flair_name": null,555          "flair_url": null,556          "flair_color": null,557          "flair_bg_color": null,558          "flair_group_id": null,559          "trust_level": 0560        }561      ],562      "created_by": {563        "id": 62952,564        "username": "vivek_khandelwal",565        "name": "Vivek Khandelwal",566        "avatar_template": "/user_avatar/discuss.pytorch.org/vivek_khandelwal/{size}/56905_2.png"567      },568      "last_poster": {569        "id": 51520,570        "username": "SherlockNoMad",571        "name": "Sherlock",572        "avatar_template": "/user_avatar/discuss.pytorch.org/sherlocknomad/{size}/44866_2.png"573      },574      "links": [575        {576          "url": "https://github.com/iree-org/iree/",577          "title": "GitHub - iree-org/iree: 👻",578          "internal": false,579          "attachment": false,580          "reflection": false,581          "clicks": 9,582          "user_id": 62952,583          "domain": "github.com",584          "root_domain": "github.com"585        },586        {587          "url": "https://github.com/llvm/torch-mlir",588          "title": "GitHub - llvm/torch-mlir: The Torch-MLIR project aims to provide first class support from the PyTorch ecosystem to the MLIR ecosystem.",589          "internal": false,590          "attachment": false,591          "reflection": false,592          "clicks": 5,593          "user_id": 62952,594          "domain": "github.com",595          "root_domain": "github.com"596        }597      ]598    },599    "bookmarks": []600  },601  {602    "post_stream": {603      "posts": [604        {605          "id": 383566,606          "name": "jay thakur",607          "username": "jay_thakur",608          "avatar_template": "/user_avatar/discuss.pytorch.org/jay_thakur/{size}/23949_2.png",609          "created_at": "2023-01-18T08:20:03.103Z",610          "cooked": "<p>I see that there is warning when run a model using torch.compile(model) way</p>\n<p>Warning:<br>\n2128922-2023-01-18 10:11:40:751  INFO     [logging.py:121] — Step 1: torchdynamo start tracing forward<br>\n2128922-2023-01-18 10:11:40:756  INFO     [logging.py:121] — Step 1: torchdynamo done tracing forward (RETURN_VALUE)<br>\n2128922-2023-01-18 10:11:40:757  INFO     [logging.py:121] — Step 2: calling compiler function debug_wrapper<br>\n2128922-2023-01-18 10:11:40:884  INFO     [logging.py:121] — Step 3: torchinductor compiling FORWARDS graph 0<br>\n2128922-2023-01-18 10:11:40:887  WARNING  [graph.py:280] — Creating implicit fallback for:<br>\ntarget: aten._adaptive_avg_pool3d.default<br>\nargs[0]: TensorBox(StorageBox(<br>\nInputBuffer(name=‘primals_1’, layout=FixedLayout(‘cpu’, torch.float32, size=[8, 2048, 7, 7], stride=[100352, 49, 7, 1]))<br>\n))<br>\nargs[1]: [32, 7, 7]<br>\n2128922-2023-01-18 10:11:40:894  WARNING  [ir.py:2942] — Using FallbackKernel: torch.ops.aten._adaptive_avg_pool3d.default</p>\n<p>can someone help me to understand above the reason of fallback? is it running in eager mode?<br>\nwhat can be done to execute in compile mode?</p>",611          "post_number": 1,612          "post_type": 1,613          "posts_count": 2,614          "updated_at": "2023-01-18T08:20:03.103Z",615          "reply_count": 0,616          "reply_to_post_number": null,617          "quote_count": 0,618          "incoming_link_count": 145,619          "reads": 12,620          "readers_count": 11,621          "score": 717.2,622          "yours": false,623          "topic_id": 170517,624          "topic_slug": "pytorch-2-0-compile-warning-meaning",625          "display_username": "jay thakur",626          "primary_group_name": null,627          "flair_name": null,628          "flair_url": null,629          "flair_bg_color": null,630          "flair_color": null,631          "flair_group_id": null,632          "badges_granted": [],633          "version": 1,634          "can_edit": false,635          "can_delete": false,636          "can_recover": false,637          "can_see_hidden_post": false,638          "can_wiki": false,639          "read": true,640          "user_title": null,641          "bookmarked": false,642          "actions_summary": [],643          "moderator": false,644          "admin": false,645          "staff": false,646          "user_id": 31302,647          "hidden": false,648          "trust_level": 1,649          "deleted_at": null,650          "user_deleted": false,651          "edit_reason": null,652          "can_view_edit_history": true,653          "wiki": false,654          "post_url": "/t/pytorch-2-0-compile-warning-meaning/170517/1",655          "can_accept_answer": false,656          "can_unaccept_answer": false,657          "accepted_answer": false,658          "topic_accepted_answer": null,659          "can_vote": false660        },661        {662          "id": 393444,663          "name": "Mark Saroufim",664          "username": "marksaroufim",665          "avatar_template": "/user_avatar/discuss.pytorch.org/marksaroufim/{size}/36747_2.png",666          "created_at": "2023-03-22T00:48:26.321Z",667          "cooked": "<p>Yes fallback means it’s falling back to eager mode, you can add a decomposition for it so that’s no longer the case - it’s a good first issue <a href=\"https://github.com/pytorch/pytorch/issues/93757\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">TorchInductor missing ops tracker · Issue #93757 · pytorch/pytorch · GitHub</a></p>",668          "post_number": 2,669          "post_type": 1,670          "posts_count": 2,671          "updated_at": "2023-03-22T00:48:26.321Z",672          "reply_count": 0,673          "reply_to_post_number": null,674          "quote_count": 0,675          "incoming_link_count": 3,676          "reads": 8,677          "readers_count": 7,678          "score": 16.4,679          "yours": false,680          "topic_id": 170517,681          "topic_slug": "pytorch-2-0-compile-warning-meaning",682          "display_username": "Mark Saroufim",683          "primary_group_name": null,684          "flair_name": null,685          "flair_url": null,686          "flair_bg_color": null,687          "flair_color": null,688          "flair_group_id": null,689          "badges_granted": [],690          "version": 1,691          "can_edit": false,692          "can_delete": false,693          "can_recover": false,694          "can_see_hidden_post": false,695          "can_wiki": false,696          "link_counts": [697            {698              "url": "https://github.com/pytorch/pytorch/issues/93757",699              "internal": false,700              "reflection": false,701              "title": "TorchInductor missing ops tracker · Issue #93757 · pytorch/pytorch · GitHub",702              "clicks": 24703            }704          ],705          "read": true,706          "user_title": "Regular",707          "title_is_group": false,708          "bookmarked": false,709          "actions_summary": [],710          "moderator": false,711          "admin": false,712          "staff": false,713          "user_id": 43941,714          "hidden": false,715          "trust_level": 3,716          "deleted_at": null,717          "user_deleted": false,718          "edit_reason": null,719          "can_view_edit_history": true,720          "wiki": false,721          "post_url": "/t/pytorch-2-0-compile-warning-meaning/170517/2",722          "can_accept_answer": false,723          "can_unaccept_answer": false,724          "accepted_answer": false,725          "topic_accepted_answer": null726        }727      ],728      "stream": [729        383566,730        393444731      ]732    },733    "timeline_lookup": [734      [735        1,736        1011737      ],738      [739        2,740        949741      ]742    ],743    "suggested_topics": [744      {745        "fancy_title": "Issues with PyTorch while_loop operator when exporting the torch model to ExecuTorch",746        "id": 220890,747        "title": "Issues with PyTorch while_loop operator when exporting the torch model to ExecuTorch",748        "slug": "issues-with-pytorch-while-loop-operator-when-exporting-the-torch-model-to-executorch",749        "posts_count": 2,750        "reply_count": 0,751        "highest_post_number": 2,752        "image_url": null,753        "created_at": "2025-06-18T05:11:31.443Z",754        "last_posted_at": "2025-06-19T05:01:18.999Z",755        "bumped": true,756        "bumped_at": "2025-06-19T05:01:18.999Z",757        "archetype": "regular",758        "unseen": false,759        "pinned": false,760        "unpinned": null,761        "visible": true,762        "closed": false,763        "archived": false,764        "bookmarked": null,765        "liked": null,766        "tags_descriptions": {},767        "like_count": 0,768        "views": 75,769        "category_id": 39,770        "featured_link": null,771        "has_accepted_answer": false,772        "posters": [773          {774            "extras": "latest single",775            "description": "Original Poster, Most Recent Poster",776            "user": {777              "id": 84738,778              "username": "Vikas_Balaga",779              "name": "Vikas Balaga",780              "avatar_template": "/user_avatar/discuss.pytorch.org/vikas_balaga/{size}/77400_2.png",781              "trust_level": 1782            }783          }784        ]785      },786      {787        "fancy_title": "What is the uplimit of dynamo graph cache?",788        "id": 215145,789        "title": "What is the uplimit of dynamo graph cache?",790        "slug": "what-is-the-uplimit-of-dynamo-graph-cache",791        "posts_count": 3,792        "reply_count": 1,793        "highest_post_number": 3,794        "image_url": null,795        "created_at": "2025-01-09T02:26:13.918Z",796        "last_posted_at": "2025-01-10T03:16:07.070Z",797        "bumped": true,798        "bumped_at": "2025-01-10T03:16:07.070Z",799        "archetype": "regular",800        "unseen": false,801        "pinned": false,802        "unpinned": null,803        "visible": true,804        "closed": false,805        "archived": false,806        "bookmarked": null,807        "liked": null,808        "tags_descriptions": {},809        "like_count": 0,810        "views": 224,811        "category_id": 39,812        "featured_link": null,813        "has_accepted_answer": true,814        "posters": [815          {816            "extras": null,817            "description": "Original Poster",818            "user": {819              "id": 78373,820              "username": "GodHforever",821              "name": "God Hforever",822              "avatar_template": "/user_avatar/discuss.pytorch.org/godhforever/{size}/72261_2.png",823              "trust_level": 1824            }825          },826          {827            "extras": "latest",828            "description": "Most Recent Poster, Accepted Answer",829            "user": {830              "id": 41997,831              "username": "bdhirsh",832              "name": "Brian Hirsh",833              "avatar_template": "/user_avatar/discuss.pytorch.org/bdhirsh/{size}/74038_2.png",834              "trust_level": 2835            }836          }837        ]838      },839      {840        "fancy_title": "Compiling a model that uses sdp_kernel to enable the backends does not work",841        "id": 214200,842        "title": "Compiling a model that uses sdp_kernel to enable the backends does not work",843        "slug": "compiling-a-model-that-uses-sdp-kernel-to-enable-the-backends-does-not-work",844        "posts_count": 5,845        "reply_count": 2,846        "highest_post_number": 5,847        "image_url": null,848        "created_at": "2024-12-13T14:23:27.650Z",849        "last_posted_at": "2024-12-18T20:23:48.812Z",850        "bumped": true,851        "bumped_at": "2024-12-18T20:23:48.812Z",852        "archetype": "regular",853        "unseen": false,854        "pinned": false,855        "unpinned": null,856        "visible": true,857        "closed": false,858        "archived": false,859        "bookmarked": null,860        "liked": null,861        "tags_descriptions": {},862        "like_count": 2,863        "views": 281,864        "category_id": 39,865        "featured_link": null,866        "has_accepted_answer": false,867        "posters": [868          {869            "extras": "latest",870            "description": "Original Poster, Most Recent Poster",871            "user": {872              "id": 75496,873              "username": "raulc",874              "name": "Raul Ciotescu",875              "avatar_template": "/user_avatar/discuss.pytorch.org/raulc/{size}/69719_2.png",876              "trust_level": 1877            }878          },879          {880            "extras": null,881            "description": "Frequent Poster",882            "user": {883              "id": 3534,884              "username": "ptrblck",885              "name": "",886              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",887              "admin": true,888              "moderator": true,889              "trust_level": 2890            }891          },892          {893            "extras": null,894            "description": "Frequent Poster",895            "user": {896              "id": 41997,897              "username": "bdhirsh",898              "name": "Brian Hirsh",899              "avatar_template": "/user_avatar/discuss.pytorch.org/bdhirsh/{size}/74038_2.png",900              "trust_level": 2901            }902          }903        ]904      },905      {906        "fancy_title": "Dynamo.explain() output",907        "id": 216610,908        "title": "Dynamo.explain() output",909        "slug": "dynamo-explain-output",910        "posts_count": 1,911        "reply_count": 0,912        "highest_post_number": 1,913        "image_url": null,914        "created_at": "2025-02-13T07:11:39.228Z",915        "last_posted_at": "2025-02-13T07:11:39.285Z",916        "bumped": true,917        "bumped_at": "2025-02-13T07:11:39.285Z",918        "archetype": "regular",919        "unseen": false,920        "pinned": false,921        "unpinned": null,922        "visible": true,923        "closed": false,924        "archived": false,925        "bookmarked": null,926        "liked": null,927        "tags_descriptions": {},928        "like_count": 0,929        "views": 131,930        "category_id": 39,931        "featured_link": null,932        "has_accepted_answer": false,933        "posters": [934          {935            "extras": "latest single",936            "description": "Original Poster, Most Recent Poster",937            "user": {938              "id": 82655,939              "username": "ysna",940              "name": "youngsu",941              "avatar_template": "/user_avatar/discuss.pytorch.org/ysna/{size}/75632_2.png",942              "trust_level": 1943            }944          }945        ]946      },947      {948        "fancy_title": "Disabling guards generation using dynamo based export",949        "id": 221094,950        "title": "Disabling guards generation using dynamo based export",951        "slug": "disabling-guards-generation-using-dynamo-based-export",952        "posts_count": 2,953        "reply_count": 0,954        "highest_post_number": 2,955        "image_url": null,956        "created_at": "2025-06-26T23:25:11.633Z",957        "last_posted_at": "2025-06-30T09:05:39.315Z",958        "bumped": true,959        "bumped_at": "2025-06-30T09:05:39.315Z",960        "archetype": "regular",961        "unseen": false,962        "pinned": false,963        "unpinned": null,964        "visible": true,965        "closed": false,966        "archived": false,967        "bookmarked": null,968        "liked": null,969        "tags_descriptions": {},970        "like_count": 0,971        "views": 64,972        "category_id": 39,973        "featured_link": null,974        "has_accepted_answer": false,975        "posters": [976          {977            "extras": null,978            "description": "Original Poster",979            "user": {980              "id": 55803,981              "username": "Himalayjor",982              "name": "Himalay Joriwal",983              "avatar_template": "/user_avatar/discuss.pytorch.org/himalayjor/{size}/49474_2.png",984              "trust_level": 1985            }986          },987          {988            "extras": "latest",989            "description": "Most Recent Poster",990            "user": {991              "id": 84865,992              "username": "Hamza_Javaid",993              "name": "Hamza Javaid",994              "avatar_template": "/user_avatar/discuss.pytorch.org/hamza_javaid/{size}/77517_2.png",995              "trust_level": 2996            }997          }998        ]999      }1000    ],1001    "tags_descriptions": {},1002    "fancy_title": "Pytorch 2.0 compile warning meaning",1003    "id": 170517,1004    "title": "Pytorch 2.0 compile warning meaning",1005    "posts_count": 2,1006    "created_at": "2023-01-18T08:20:03.006Z",1007    "views": 906,1008    "reply_count": 0,1009    "like_count": 0,1010    "last_posted_at": "2023-03-22T00:48:26.321Z",1011    "visible": true,1012    "closed": false,1013    "archived": false,1014    "has_summary": false,1015    "archetype": "regular",1016    "slug": "pytorch-2-0-compile-warning-meaning",1017    "category_id": 39,1018    "word_count": 219,1019    "deleted_at": null,1020    "user_id": 31302,1021    "featured_link": null,1022    "pinned_globally": false,1023    "pinned_at": null,1024    "pinned_until": null,1025    "image_url": null,1026    "slow_mode_seconds": 0,1027    "draft": null,1028    "draft_key": "topic_170517",1029    "draft_sequence": null,1030    "unpinned": null,1031    "pinned": false,1032    "current_post_number": 1,1033    "highest_post_number": 2,1034    "deleted_by": null,1035    "actions_summary": [1036      {1037        "id": 4,1038        "count": 0,1039        "hidden": false,1040        "can_act": false1041      },1042      {1043        "id": 8,1044        "count": 0,1045        "hidden": false,1046        "can_act": false1047      },1048      {1049        "id": 10,1050        "count": 0,1051        "hidden": false,1052        "can_act": false1053      },1054      {1055        "id": 7,1056        "count": 0,1057        "hidden": false,1058        "can_act": false1059      }1060    ],1061    "chunk_size": 20,1062    "bookmarked": false,1063    "topic_timer": null,1064    "message_bus_last_id": 0,1065    "participant_count": 2,1066    "show_read_indicator": false,1067    "thumbnails": null,1068    "slow_mode_enabled_until": null,1069    "can_vote": false,1070    "vote_count": 0,1071    "user_voted": false,1072    "discourse_zendesk_plugin_zendesk_id": null,1073    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",1074    "details": {1075      "can_edit": false,1076      "notification_level": 1,1077      "participants": [1078        {1079          "id": 31302,1080          "username": "jay_thakur",1081          "name": "jay thakur",1082          "avatar_template": "/user_avatar/discuss.pytorch.org/jay_thakur/{size}/23949_2.png",1083          "post_count": 1,1084          "primary_group_name": null,1085          "flair_name": null,1086          "flair_url": null,1087          "flair_color": null,1088          "flair_bg_color": null,1089          "flair_group_id": null,1090          "trust_level": 11091        },1092        {1093          "id": 43941,1094          "username": "marksaroufim",1095          "name": "Mark Saroufim",1096          "avatar_template": "/user_avatar/discuss.pytorch.org/marksaroufim/{size}/36747_2.png",1097          "post_count": 1,1098          "primary_group_name": null,1099          "flair_name": null,1100          "flair_url": null,1101          "flair_color": null,1102          "flair_bg_color": null,1103          "flair_group_id": null,1104          "trust_level": 31105        }1106      ],1107      "created_by": {1108        "id": 31302,1109        "username": "jay_thakur",1110        "name": "jay thakur",1111        "avatar_template": "/user_avatar/discuss.pytorch.org/jay_thakur/{size}/23949_2.png"1112      },1113      "last_poster": {1114        "id": 43941,1115        "username": "marksaroufim",1116        "name": "Mark Saroufim",1117        "avatar_template": "/user_avatar/discuss.pytorch.org/marksaroufim/{size}/36747_2.png"1118      },1119      "links": [1120        {1121          "url": "https://github.com/pytorch/pytorch/issues/93757",1122          "title": "TorchInductor missing ops tracker · Issue #93757 · pytorch/pytorch · GitHub",1123          "internal": false,1124          "attachment": false,1125          "reflection": false,1126          "clicks": 24,1127          "user_id": 43941,1128          "domain": "github.com",1129          "root_domain": "github.com"1130        }1131      ]1132    },1133    "bookmarks": []1134  },1135  {1136    "post_stream": {1137      "posts": [1138        {1139          "id": 388776,1140          "name": "Daniel Wood",1141          "username": "aifartist",1142          "avatar_template": "/user_avatar/discuss.pytorch.org/aifartist/{size}/57106_2.png",1143          "created_at": "2023-02-21T19:31:02.832Z",1144          "cooked": "<p>I’m trying to leverage torch.compile(model) in an existing largish application called AUTOMATIC1111(stable difusion inference).  When run with a compiled model I get:<br>\n<code>RuntimeError: Triton Error [CUDA]: an illegal memory access was encountered</code><br>\nThrough instrumention I’ve found that it appears to create on the fly PY benchmark programs that are run to determine the best way to do something.  The function generated in my /tmp dir is:</p>\n<pre><code class=\"lang-auto\">@triton.jit\ndef triton_mm(in_ptr0, arg_A, arg_B, out_ptr0):\n    &lt;body deleted for brevity&gt;\n    tl.store(out_ptr0 + (xindex + tl.zeros(mask.shape, tl.int32)), tmp1, mask)\n</code></pre>\n<p>My guess is that this last line of the function is writting outside the bounds of the output variable.  If I try to print the 5 var’s used in tl.store() I get:</p>\n<pre><code class=\"lang-auto\">out_ptr0   pointer&lt;fp16&gt;[constexpr[1]]\nxindex     int32[constexpr[32],constexpr[32]]\nmask.shape [constexpr[32], constexpr[32]]\ntmp1       fp32[constexpr[32],constexpr[32]]\nmask       int1[constexpr[32],constexpr[32]]\n</code></pre>\n<p>I’m still new to python.  What are these?  I want to see the actual values so I can see if the index offset is crazy.  What was printed look like types instead of values.  I tried to print “out_ptr0[0]” and got a syntax error.  Is it an array?<br>\nNOTE:<br>\nprint(f\"xxx = {xxx}\") doesn’t work giving an<br>\n<code>    NotImplementedError: Unsupported node: JoinedStr</code><br>\nerror as if this is some restricted python that can only print simple strings and values.  Also print(type(out_ptr0)) doesn’t work.</p>",1145          "post_number": 1,1146          "post_type": 1,1147          "posts_count": 10,1148          "updated_at": "2023-02-21T21:24:19.402Z",1149          "reply_count": 0,1150          "reply_to_post_number": null,1151          "quote_count": 0,1152          "incoming_link_count": 3145,1153          "reads": 65,1154          "readers_count": 64,1155          "score": 15662.8,1156          "yours": false,1157          "topic_id": 173168,1158          "topic_slug": "triton-error-cuda-an-illegal-memory-access-was-encountered",1159          "display_username": "Daniel Wood",1160          "primary_group_name": null,1161          "flair_name": null,1162          "flair_url": null,1163          "flair_bg_color": null,1164          "flair_color": null,1165          "flair_group_id": null,1166          "badges_granted": [],1167          "version": 3,1168          "can_edit": false,1169          "can_delete": false,1170          "can_recover": false,1171          "can_see_hidden_post": false,1172          "can_wiki": false,1173          "read": true,1174          "user_title": null,1175          "bookmarked": false,1176          "actions_summary": [],1177          "moderator": false,1178          "admin": false,1179          "staff": false,1180          "user_id": 63148,1181          "hidden": false,1182          "trust_level": 1,1183          "deleted_at": null,1184          "user_deleted": false,1185          "edit_reason": null,1186          "can_view_edit_history": true,1187          "wiki": false,1188          "post_url": "/t/triton-error-cuda-an-illegal-memory-access-was-encountered/173168/1",1189          "can_accept_answer": false,1190          "can_unaccept_answer": false,1191          "accepted_answer": false,1192          "topic_accepted_answer": null,1193          "can_vote": false1194        },1195        {1196          "id": 388832,1197          "name": "Daniel Wood",1198          "username": "aifartist",1199          "avatar_template": "/user_avatar/discuss.pytorch.org/aifartist/{size}/57106_2.png",1200          "created_at": "2023-02-22T02:34:06.597Z",

Showing the first 1,200 of 65248 lines. Download the file for the rest.