CoolFace
Datasetpublic

Anurag1734/cuda-error-resolution-analysis

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes7downloads
topics_batch_413.json67979 linesDownload Raw Back to raw
1[2  {3    "post_stream": {4      "posts": [5        {6          "id": 241784,7          "name": "Shane Dev",8          "username": "Shane_Dev",9          "avatar_template": "/user_avatar/discuss.pytorch.org/shane_dev/{size}/12527_2.png",10          "created_at": "2020-11-05T16:03:50.824Z",11          "cooked": "<p>Hello,</p>\n<p>I followed the <a href=\"https://github.com/pytorch/pytorch/blob/v1.7.0/CONTRIBUTING.md#c-development-tips\" rel=\"noopener nofollow ugc\">instructions for building libtorch</a> as a shared library, then successfully compiled and ran a simple program on Linux -</p>\n<pre><code class=\"lang-auto\">#include &lt;ATen/ATen.h&gt;\n\nat::Tensor a = at::ones({2, 2}, at::kInt);\nat::Tensor b = at::randn({2, 2});\nauto c = a + b.to(at::kInt);\n</code></pre>\n<p>Next I compiled libtorch as a <strong>static</strong> library and successfully compiled it with my simple program. However it crashes when run -</p>\n<pre><code class=\"lang-auto\">terminate called after throwing an instance of 'c10::Error'\n  what():  Could not find schema for aten::ones.\nException raised from findSchemaOrThrow at ../aten/src/ATen/core/dispatch/Dispatcher.cpp:81\n\n(gdb) bt\n#0  c10::Dispatcher::findSchemaOrThrow (\n    this=0x555555e4b860 &lt;c10::Dispatcher::singleton()::_singleton&gt;, \n    name=0x555555a67762 \"aten::ones\", overload_name=0x555555a655b8 \"\")\n    at ../aten/src/ATen/core/dispatch/Dispatcher.cpp:81\n#1  0x000055555559fc75 in at::ones (size=..., options=...) at aten/src/ATen/Functions.cpp:4390\n#2  0x000055555557a181 in main () at /home/shane/dev/aten_libtorch/aten_min.cpp:4\n</code></pre>\n<p>Here is my <a href=\"https://github.com/shanemcandrewai/aten_libtorch\" rel=\"noopener nofollow ugc\">CMake script</a></p>\n<p>Does anyone know why?</p>",12          "post_number": 1,13          "post_type": 1,14          "posts_count": 1,15          "updated_at": "2020-11-05T16:04:14.466Z",16          "reply_count": 0,17          "reply_to_post_number": null,18          "quote_count": 0,19          "incoming_link_count": 429,20          "reads": 20,21          "readers_count": 19,22          "score": 2149.0,23          "yours": false,24          "topic_id": 101772,25          "topic_slug": "why-does-my-libtorch-program-terminate-with-what-could-not-find-schema-for-aten-ones",26          "display_username": "Shane Dev",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/shanemcandrewai/aten_libtorch",43              "internal": false,44              "reflection": false,45              "title": "GitHub - shanemcandrewai/aten_libtorch: Build script for simple PyTorch at::Tensor program linked to imported LibTorch libraries",46              "clicks": 2747            },48            {49              "url": "https://github.com/pytorch/pytorch/blob/v1.7.0/CONTRIBUTING.md#c-development-tips",50              "internal": false,51              "reflection": false,52              "title": "pytorch/CONTRIBUTING.md at v1.7.0 · pytorch/pytorch · GitHub",53              "clicks": 1354            }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": 36567,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/why-does-my-libtorch-program-terminate-with-what-could-not-find-schema-for-aten-ones/101772/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      "stream": [80        24178481      ]82    },83    "timeline_lookup": [84      [85        1,86        181587      ]88    ],89    "suggested_topics": [90      {91        "fancy_title": "Thread safety of `AOTIModelContainerRunner::run`",92        "id": 221588,93        "title": "Thread safety of `AOTIModelContainerRunner::run`",94        "slug": "thread-safety-of-aotimodelcontainerrunner-run",95        "posts_count": 1,96        "reply_count": 0,97        "highest_post_number": 1,98        "image_url": null,99        "created_at": "2025-07-16T19:56:38.204Z",100        "last_posted_at": "2025-07-16T19:56:38.246Z",101        "bumped": true,102        "bumped_at": "2025-07-16T19:56:38.246Z",103        "archetype": "regular",104        "unseen": false,105        "pinned": false,106        "unpinned": null,107        "visible": true,108        "closed": false,109        "archived": false,110        "bookmarked": null,111        "liked": null,112        "tags_descriptions": {},113        "like_count": 0,114        "views": 23,115        "category_id": 11,116        "featured_link": null,117        "has_accepted_answer": false,118        "posters": [119          {120            "extras": "latest single",121            "description": "Original Poster, Most Recent Poster",122            "user": {123              "id": 84391,124              "username": "rdgq",125              "name": "",126              "avatar_template": "/user_avatar/discuss.pytorch.org/rdgq/{size}/77106_2.png",127              "trust_level": 1128            }129          }130        ]131      },132      {133        "fancy_title": "Scaled_dot_product_attention with padding mask output",134        "id": 215909,135        "title": "Scaled_dot_product_attention with padding mask output",136        "slug": "scaled-dot-product-attention-with-padding-mask-output",137        "posts_count": 1,138        "reply_count": 0,139        "highest_post_number": 1,140        "image_url": null,141        "created_at": "2025-01-27T02:03:33.381Z",142        "last_posted_at": "2025-01-27T02:03:33.422Z",143        "bumped": true,144        "bumped_at": "2025-01-27T02:03:33.422Z",145        "archetype": "regular",146        "unseen": false,147        "pinned": false,148        "unpinned": null,149        "visible": true,150        "closed": false,151        "archived": false,152        "bookmarked": null,153        "liked": null,154        "tags_descriptions": {},155        "like_count": 0,156        "views": 48,157        "category_id": 11,158        "featured_link": null,159        "has_accepted_answer": false,160        "posters": [161          {162            "extras": "latest single",163            "description": "Original Poster, Most Recent Poster",164            "user": {165              "id": 82332,166              "username": "triThirty",167              "name": "Shanshi Mao",168              "avatar_template": "/user_avatar/discuss.pytorch.org/trithirty/{size}/75312_2.png",169              "trust_level": 1170            }171          }172        ]173      },174      {175        "fancy_title": "What&rsquo;s the difference between .scalar_type vs .dtype?",176        "id": 220266,177        "title": "What's the difference between .scalar_type vs .dtype?",178        "slug": "whats-the-difference-between-scalar-type-vs-dtype",179        "posts_count": 3,180        "reply_count": 1,181        "highest_post_number": 3,182        "image_url": null,183        "created_at": "2025-05-22T21:45:37.410Z",184        "last_posted_at": "2025-05-23T01:12:47.145Z",185        "bumped": true,186        "bumped_at": "2025-05-23T01:12:47.145Z",187        "archetype": "regular",188        "unseen": false,189        "pinned": false,190        "unpinned": null,191        "visible": true,192        "closed": false,193        "archived": false,194        "bookmarked": null,195        "liked": null,196        "tags_descriptions": {},197        "like_count": 0,198        "views": 63,199        "category_id": 11,200        "featured_link": null,201        "has_accepted_answer": false,202        "posters": [203          {204            "extras": "latest",205            "description": "Original Poster, Most Recent Poster",206            "user": {207              "id": 84391,208              "username": "rdgq",209              "name": "",210              "avatar_template": "/user_avatar/discuss.pytorch.org/rdgq/{size}/77106_2.png",211              "trust_level": 1212            }213          },214          {215            "extras": null,216            "description": "Frequent Poster",217            "user": {218              "id": 3534,219              "username": "ptrblck",220              "name": "",221              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",222              "admin": true,223              "moderator": true,224              "trust_level": 2225            }226          }227        ]228      },229      {230        "fancy_title": "Portable parallelization over batch dimension",231        "id": 217392,232        "title": "Portable parallelization over batch dimension",233        "slug": "portable-parallelization-over-batch-dimension",234        "posts_count": 1,235        "reply_count": 0,236        "highest_post_number": 1,237        "image_url": null,238        "created_at": "2025-03-03T18:07:43.894Z",239        "last_posted_at": "2025-03-03T18:07:44.027Z",240        "bumped": true,241        "bumped_at": "2025-03-03T18:07:44.027Z",242        "archetype": "regular",243        "unseen": false,244        "pinned": false,245        "unpinned": null,246        "visible": true,247        "closed": false,248        "archived": false,249        "bookmarked": null,250        "liked": null,251        "tags_descriptions": {},252        "like_count": 0,253        "views": 75,254        "category_id": 11,255        "featured_link": null,256        "has_accepted_answer": false,257        "posters": [258          {259            "extras": "latest single",260            "description": "Original Poster, Most Recent Poster",261            "user": {262              "id": 9258,263              "username": "BeachHut",264              "name": "",265              "avatar_template": "/letter_avatar_proxy/v4/letter/b/4da419/{size}.png",266              "trust_level": 1267            }268          }269        ]270      },271      {272        "fancy_title": "Custom_class nn::module issue",273        "id": 222423,274        "title": "Custom_class nn::module issue",275        "slug": "custom-class-nn-module-issue",276        "posts_count": 1,277        "reply_count": 0,278        "highest_post_number": 1,279        "image_url": null,280        "created_at": "2025-08-17T15:42:41.847Z",281        "last_posted_at": "2025-08-17T15:42:41.903Z",282        "bumped": true,283        "bumped_at": "2025-08-17T15:42:41.903Z",284        "archetype": "regular",285        "unseen": false,286        "pinned": false,287        "unpinned": null,288        "visible": true,289        "closed": false,290        "archived": false,291        "bookmarked": null,292        "liked": null,293        "tags_descriptions": {},294        "like_count": 0,295        "views": 22,296        "category_id": 11,297        "featured_link": null,298        "has_accepted_answer": false,299        "posters": [300          {301            "extras": "latest single",302            "description": "Original Poster, Most Recent Poster",303            "user": {304              "id": 85405,305              "username": "pya",306              "name": null,307              "avatar_template": "/letter_avatar_proxy/v4/letter/p/919ad9/{size}.png",308              "trust_level": 1309            }310          }311        ]312      }313    ],314    "tags_descriptions": {},315    "fancy_title": "Why does my libtorch program terminate with what(): Could not find schema for aten::ones",316    "id": 101772,317    "title": "Why does my libtorch program terminate with what(): Could not find schema for aten::ones",318    "posts_count": 1,319    "created_at": "2020-11-05T16:03:50.760Z",320    "views": 735,321    "reply_count": 0,322    "like_count": 0,323    "last_posted_at": "2020-11-05T16:03:50.824Z",324    "visible": true,325    "closed": false,326    "archived": false,327    "has_summary": false,328    "archetype": "regular",329    "slug": "why-does-my-libtorch-program-terminate-with-what-could-not-find-schema-for-aten-ones",330    "category_id": 11,331    "word_count": 181,332    "deleted_at": null,333    "user_id": 36567,334    "featured_link": null,335    "pinned_globally": false,336    "pinned_at": null,337    "pinned_until": null,338    "image_url": null,339    "slow_mode_seconds": 0,340    "draft": null,341    "draft_key": "topic_101772",342    "draft_sequence": null,343    "unpinned": null,344    "pinned": false,345    "current_post_number": 1,346    "highest_post_number": 1,347    "deleted_by": null,348    "actions_summary": [349      {350        "id": 4,351        "count": 0,352        "hidden": false,353        "can_act": false354      },355      {356        "id": 8,357        "count": 0,358        "hidden": false,359        "can_act": false360      },361      {362        "id": 10,363        "count": 0,364        "hidden": false,365        "can_act": false366      },367      {368        "id": 7,369        "count": 0,370        "hidden": false,371        "can_act": false372      }373    ],374    "chunk_size": 20,375    "bookmarked": false,376    "topic_timer": null,377    "message_bus_last_id": 0,378    "participant_count": 1,379    "show_read_indicator": false,380    "thumbnails": null,381    "slow_mode_enabled_until": null,382    "can_vote": false,383    "vote_count": 0,384    "user_voted": false,385    "discourse_zendesk_plugin_zendesk_id": null,386    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",387    "details": {388      "can_edit": false,389      "notification_level": 1,390      "participants": [391        {392          "id": 36567,393          "username": "Shane_Dev",394          "name": "Shane Dev",395          "avatar_template": "/user_avatar/discuss.pytorch.org/shane_dev/{size}/12527_2.png",396          "post_count": 1,397          "primary_group_name": null,398          "flair_name": null,399          "flair_url": null,400          "flair_color": null,401          "flair_bg_color": null,402          "flair_group_id": null,403          "trust_level": 0404        }405      ],406      "created_by": {407        "id": 36567,408        "username": "Shane_Dev",409        "name": "Shane Dev",410        "avatar_template": "/user_avatar/discuss.pytorch.org/shane_dev/{size}/12527_2.png"411      },412      "last_poster": {413        "id": 36567,414        "username": "Shane_Dev",415        "name": "Shane Dev",416        "avatar_template": "/user_avatar/discuss.pytorch.org/shane_dev/{size}/12527_2.png"417      },418      "links": [419        {420          "url": "https://github.com/shanemcandrewai/aten_libtorch",421          "title": "GitHub - shanemcandrewai/aten_libtorch: Build script for simple PyTorch at::Tensor program linked to imported LibTorch libraries",422          "internal": false,423          "attachment": false,424          "reflection": false,425          "clicks": 27,426          "user_id": 36567,427          "domain": "github.com",428          "root_domain": "github.com"429        },430        {431          "url": "https://github.com/pytorch/pytorch/blob/v1.7.0/CONTRIBUTING.md#c-development-tips",432          "title": "pytorch/CONTRIBUTING.md at v1.7.0 · pytorch/pytorch · GitHub",433          "internal": false,434          "attachment": false,435          "reflection": false,436          "clicks": 13,437          "user_id": 36567,438          "domain": "github.com",439          "root_domain": "github.com"440        }441      ]442    },443    "bookmarks": []444  },445  {446    "post_stream": {447      "posts": [448        {449          "id": 241782,450          "name": "Rajan",451          "username": "mathematics",452          "avatar_template": "/user_avatar/discuss.pytorch.org/mathematics/{size}/40082_2.png",453          "created_at": "2020-11-05T15:58:58.268Z",454          "cooked": "<p>I have trained model of  <code>Trax</code> framework which is stored in <code>.pkl</code> format.<br>\nI am thinking a way to import it to our Pytorch to do more things with it.<br>\nIt is different from converting Tensorflow to Pytorch not like directly building model.</p>",455          "post_number": 1,456          "post_type": 1,457          "posts_count": 1,458          "updated_at": "2020-11-05T15:58:58.268Z",459          "reply_count": 0,460          "reply_to_post_number": null,461          "quote_count": 0,462          "incoming_link_count": 51,463          "reads": 6,464          "readers_count": 5,465          "score": 256.2,466          "yours": false,467          "topic_id": 101771,468          "topic_slug": "how-to-convert-pretrained-trax-model-to-pytorch",469          "display_username": "Rajan",470          "primary_group_name": null,471          "flair_name": null,472          "flair_url": null,473          "flair_bg_color": null,474          "flair_color": null,475          "flair_group_id": null,476          "badges_granted": [],477          "version": 1,478          "can_edit": false,479          "can_delete": false,480          "can_recover": false,481          "can_see_hidden_post": false,482          "can_wiki": false,483          "read": true,484          "user_title": "",485          "bookmarked": false,486          "actions_summary": [],487          "moderator": false,488          "admin": false,489          "staff": false,490          "user_id": 27814,491          "hidden": false,492          "trust_level": 2,493          "deleted_at": null,494          "user_deleted": false,495          "edit_reason": null,496          "can_view_edit_history": true,497          "wiki": false,498          "post_url": "/t/how-to-convert-pretrained-trax-model-to-pytorch/101771/1",499          "can_accept_answer": false,500          "can_unaccept_answer": false,501          "accepted_answer": false,502          "topic_accepted_answer": null,503          "can_vote": false504        }505      ],506      "stream": [507        241782508      ]509    },510    "timeline_lookup": [511      [512        1,513        1815514      ]515    ],516    "suggested_topics": [517      {518        "fancy_title": "New PyTorch Sphinx Theme - Feedback Requested",519        "id": 219351,520        "title": "New PyTorch Sphinx Theme - Feedback Requested",521        "slug": "new-pytorch-sphinx-theme-feedback-requested",522        "posts_count": 1,523        "reply_count": 0,524        "highest_post_number": 1,525        "image_url": null,526        "created_at": "2025-04-22T19:39:57.390Z",527        "last_posted_at": "2025-04-22T19:39:57.442Z",528        "bumped": true,529        "bumped_at": "2025-04-22T19:53:54.534Z",530        "archetype": "regular",531        "unseen": false,532        "pinned": false,533        "unpinned": null,534        "visible": true,535        "closed": false,536        "archived": false,537        "bookmarked": null,538        "liked": null,539        "tags_descriptions": {},540        "like_count": 0,541        "views": 80,542        "category_id": 3,543        "featured_link": null,544        "has_accepted_answer": false,545        "posters": [546          {547            "extras": "latest single",548            "description": "Original Poster, Most Recent Poster",549            "user": {550              "id": 62819,551              "username": "svekars",552              "name": "Svetlana",553              "avatar_template": "/user_avatar/discuss.pytorch.org/svekars/{size}/56746_2.png",554              "trust_level": 1555            }556          }557        ]558      },559      {560        "fancy_title": "Announcement: Share Your Feedback on PyTorch Docs and Tutorial",561        "id": 217813,562        "title": "Announcement: Share Your Feedback on PyTorch Docs and Tutorial",563        "slug": "announcement-share-your-feedback-on-pytorch-docs-and-tutorial",564        "posts_count": 1,565        "reply_count": 0,566        "highest_post_number": 1,567        "image_url": null,568        "created_at": "2025-03-13T14:44:18.138Z",569        "last_posted_at": "2025-03-13T14:44:18.214Z",570        "bumped": true,571        "bumped_at": "2025-03-13T14:44:18.214Z",572        "archetype": "regular",573        "unseen": false,574        "pinned": false,575        "unpinned": null,576        "visible": true,577        "closed": false,578        "archived": false,579        "bookmarked": null,580        "liked": null,581        "tags_descriptions": {},582        "like_count": 0,583        "views": 32,584        "category_id": 3,585        "featured_link": null,586        "has_accepted_answer": false,587        "posters": [588          {589            "extras": "latest single",590            "description": "Original Poster, Most Recent Poster",591            "user": {592              "id": 83252,593              "username": "sekyondaMeta",594              "name": "Sekyonda ",595              "avatar_template": "/user_avatar/discuss.pytorch.org/sekyondameta/{size}/76147_2.png",596              "trust_level": 1597            }598          }599        ]600      },601      {602        "fancy_title": "Industry-Related Groups for Pytorch Forums",603        "id": 222518,604        "title": "Industry-Related Groups for Pytorch Forums",605        "slug": "industry-related-groups-for-pytorch-forums",606        "posts_count": 1,607        "reply_count": 0,608        "highest_post_number": 1,609        "image_url": null,610        "created_at": "2025-08-20T16:39:35.373Z",611        "last_posted_at": "2025-08-20T16:39:35.437Z",612        "bumped": true,613        "bumped_at": "2025-08-20T16:39:35.437Z",614        "archetype": "regular",615        "unseen": false,616        "pinned": false,617        "unpinned": null,618        "visible": true,619        "closed": false,620        "archived": false,621        "bookmarked": null,622        "liked": null,623        "tags_descriptions": {},624        "like_count": 0,625        "views": 37,626        "category_id": 3,627        "featured_link": null,628        "has_accepted_answer": false,629        "posters": [630          {631            "extras": "latest single",632            "description": "Original Poster, Most Recent Poster",633            "user": {634              "id": 77908,635              "username": "mycul",636              "name": "",637              "avatar_template": "/user_avatar/discuss.pytorch.org/mycul/{size}/72394_2.png",638              "trust_level": 2639            }640          }641        ]642      },643      {644        "fancy_title": "Add install instruction for Intel GPU xpu",645        "id": 213768,646        "title": "Add install instruction for Intel GPU xpu",647        "slug": "add-install-instruction-for-intel-gpu-xpu",648        "posts_count": 2,649        "reply_count": 0,650        "highest_post_number": 2,651        "image_url": null,652        "created_at": "2024-12-03T23:04:47.049Z",653        "last_posted_at": "2024-12-04T06:35:39.319Z",654        "bumped": true,655        "bumped_at": "2024-12-04T06:35:39.319Z",656        "archetype": "regular",657        "unseen": false,658        "pinned": false,659        "unpinned": null,660        "visible": true,661        "closed": false,662        "archived": false,663        "bookmarked": null,664        "liked": null,665        "tags_descriptions": {},666        "like_count": 1,667        "views": 252,668        "category_id": 3,669        "featured_link": null,670        "has_accepted_answer": false,671        "posters": [672          {673            "extras": null,674            "description": "Original Poster",675            "user": {676              "id": 81288,677              "username": "silveroxides",678              "name": "Silver",679              "avatar_template": "/user_avatar/discuss.pytorch.org/silveroxides/{size}/74338_2.png",680              "trust_level": 1681            }682          },683          {684            "extras": "latest",685            "description": "Most Recent Poster",686            "user": {687              "id": 81089,688              "username": "Aknw_Fen",689              "name": "Aknw Fen",690              "avatar_template": "/user_avatar/discuss.pytorch.org/aknw_fen/{size}/74156_2.png",691              "trust_level": 2692            }693          }694        ]695      },696      {697        "fancy_title": "How to use transfomers and accelerate library to improve model performance",698        "id": 218399,699        "title": "How to use transfomers and accelerate library to improve model performance",700        "slug": "how-to-use-transfomers-and-accelerate-library-to-improve-model-performance",701        "posts_count": 8,702        "reply_count": 5,703        "highest_post_number": 8,704        "image_url": null,705        "created_at": "2025-03-29T17:48:30.179Z",706        "last_posted_at": "2025-04-06T11:34:59.000Z",707        "bumped": true,708        "bumped_at": "2025-04-06T11:34:59.000Z",709        "archetype": "regular",710        "unseen": false,711        "pinned": false,712        "unpinned": null,713        "visible": true,714        "closed": false,715        "archived": false,716        "bookmarked": null,717        "liked": null,718        "tags_descriptions": {},719        "like_count": 1,720        "views": 203,721        "category_id": 1,722        "featured_link": null,723        "has_accepted_answer": false,724        "posters": [725          {726            "extras": "latest",727            "description": "Original Poster, Most Recent Poster",728            "user": {729              "id": 83524,730              "username": "CarlosR759",731              "name": "Carlos R759",732              "avatar_template": "/user_avatar/discuss.pytorch.org/carlosr759/{size}/76392_2.png",733              "trust_level": 0734            }735          },736          {737            "extras": null,738            "description": "Frequent Poster",739            "user": {740              "id": 3534,741              "username": "ptrblck",742              "name": "",743              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",744              "admin": true,745              "moderator": true,746              "trust_level": 2747            }748          }749        ]750      }751    ],752    "tags_descriptions": {},753    "fancy_title": "How to convert pretrained Trax model to Pytorch",754    "id": 101771,755    "title": "How to convert pretrained Trax model to Pytorch",756    "posts_count": 1,757    "created_at": "2020-11-05T15:58:58.206Z",758    "views": 929,759    "reply_count": 0,760    "like_count": 0,761    "last_posted_at": "2020-11-05T15:58:58.268Z",762    "visible": true,763    "closed": false,764    "archived": false,765    "has_summary": false,766    "archetype": "regular",767    "slug": "how-to-convert-pretrained-trax-model-to-pytorch",768    "category_id": 3,769    "word_count": 43,770    "deleted_at": null,771    "user_id": 27814,772    "featured_link": null,773    "pinned_globally": false,774    "pinned_at": null,775    "pinned_until": null,776    "image_url": null,777    "slow_mode_seconds": 0,778    "draft": null,779    "draft_key": "topic_101771",780    "draft_sequence": null,781    "unpinned": null,782    "pinned": false,783    "current_post_number": 1,784    "highest_post_number": 1,785    "deleted_by": null,786    "actions_summary": [787      {788        "id": 4,789        "count": 0,790        "hidden": false,791        "can_act": false792      },793      {794        "id": 8,795        "count": 0,796        "hidden": false,797        "can_act": false798      },799      {800        "id": 10,801        "count": 0,802        "hidden": false,803        "can_act": false804      },805      {806        "id": 7,807        "count": 0,808        "hidden": false,809        "can_act": false810      }811    ],812    "chunk_size": 20,813    "bookmarked": false,814    "topic_timer": null,815    "message_bus_last_id": 0,816    "participant_count": 1,817    "show_read_indicator": false,818    "thumbnails": null,819    "slow_mode_enabled_until": null,820    "can_vote": false,821    "vote_count": 0,822    "user_voted": false,823    "discourse_zendesk_plugin_zendesk_id": null,824    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",825    "details": {826      "can_edit": false,827      "notification_level": 1,828      "participants": [829        {830          "id": 27814,831          "username": "mathematics",832          "name": "Rajan",833          "avatar_template": "/user_avatar/discuss.pytorch.org/mathematics/{size}/40082_2.png",834          "post_count": 1,835          "primary_group_name": null,836          "flair_name": null,837          "flair_url": null,838          "flair_color": null,839          "flair_bg_color": null,840          "flair_group_id": null,841          "trust_level": 2842        }843      ],844      "created_by": {845        "id": 27814,846        "username": "mathematics",847        "name": "Rajan",848        "avatar_template": "/user_avatar/discuss.pytorch.org/mathematics/{size}/40082_2.png"849      },850      "last_poster": {851        "id": 27814,852        "username": "mathematics",853        "name": "Rajan",854        "avatar_template": "/user_avatar/discuss.pytorch.org/mathematics/{size}/40082_2.png"855      }856    },857    "bookmarks": []858  },859  {860    "post_stream": {861      "posts": [862        {863          "id": 241776,864          "name": "Caleb",865          "username": "cpsanders",866          "avatar_template": "/letter_avatar_proxy/v4/letter/c/bb73d2/{size}.png",867          "created_at": "2020-11-05T15:28:26.803Z",868          "cooked": "<p>If I want a network’s parameters, I can easily throw them into a list using</p>\n<pre><code class=\"lang-auto\">params = list(network.parameters())\n</code></pre>\n<p>Is there an easy way to do this for the gradients of the network parameters? I know each gradient can be accessed using <code>grad = param.grad</code>, but storing all these gradients in an array requires me to iterate over each parameter in the network and access its <code>.grad</code>. Any help is appreciated here!</p>",869          "post_number": 1,870          "post_type": 1,871          "posts_count": 2,872          "updated_at": "2020-11-05T15:28:26.803Z",873          "reply_count": 0,874          "reply_to_post_number": null,875          "quote_count": 0,876          "incoming_link_count": 980,877          "reads": 20,878          "readers_count": 19,879          "score": 4904.0,880          "yours": false,881          "topic_id": 101769,882          "topic_slug": "accessing-parameter-grads-as-a-list",883          "display_username": "Caleb",884          "primary_group_name": null,885          "flair_name": null,886          "flair_url": null,887          "flair_bg_color": null,888          "flair_color": null,889          "flair_group_id": null,890          "badges_granted": [],891          "version": 1,892          "can_edit": false,893          "can_delete": false,894          "can_recover": false,895          "can_see_hidden_post": false,896          "can_wiki": false,897          "read": true,898          "user_title": null,899          "bookmarked": false,900          "actions_summary": [],901          "moderator": false,902          "admin": false,903          "staff": false,904          "user_id": 37413,905          "hidden": false,906          "trust_level": 1,907          "deleted_at": null,908          "user_deleted": false,909          "edit_reason": null,910          "can_view_edit_history": true,911          "wiki": false,912          "post_url": "/t/accessing-parameter-grads-as-a-list/101769/1",913          "can_accept_answer": false,914          "can_unaccept_answer": false,915          "accepted_answer": false,916          "topic_accepted_answer": true,917          "can_vote": false918        },919        {920          "id": 241778,921          "name": "Alban D",922          "username": "albanD",923          "avatar_template": "/user_avatar/discuss.pytorch.org/alband/{size}/215_2.png",924          "created_at": "2020-11-05T15:39:42.543Z",925          "cooked": "<p>Hi,</p>\n<p>You can use <code>grads = autograd.grad(loss, network.parameters())</code> and it will return to you a list of all the gradients.<br>\nIf you already did a <code>.backward()</code> that populated the <code>.grad</code> fields, you can do <code>grads = [p.grad for p in network.parameters()]</code> as well.</p>",926          "post_number": 2,927          "post_type": 1,928          "posts_count": 2,929          "updated_at": "2021-06-17T15:05:18.970Z",930          "reply_count": 0,931          "reply_to_post_number": null,932          "quote_count": 0,933          "incoming_link_count": 15,934          "reads": 20,935          "readers_count": 19,936          "score": 109.0,937          "yours": false,938          "topic_id": 101769,939          "topic_slug": "accessing-parameter-grads-as-a-list",940          "display_username": "Alban D",941          "primary_group_name": null,942          "flair_name": null,943          "flair_url": null,944          "flair_bg_color": null,945          "flair_color": null,946          "flair_group_id": null,947          "badges_granted": [],948          "version": 1,949          "can_edit": false,950          "can_delete": false,951          "can_recover": false,952          "can_see_hidden_post": false,953          "can_wiki": false,954          "read": true,955          "user_title": "",956          "bookmarked": false,957          "actions_summary": [958            {959              "id": 2,960              "count": 2961            }962          ],963          "moderator": true,964          "admin": true,965          "staff": true,966          "user_id": 211,967          "hidden": false,968          "trust_level": 4,969          "deleted_at": null,970          "user_deleted": false,971          "edit_reason": null,972          "can_view_edit_history": true,973          "wiki": false,974          "post_url": "/t/accessing-parameter-grads-as-a-list/101769/2",975          "can_accept_answer": false,976          "can_unaccept_answer": false,977          "accepted_answer": true,978          "topic_accepted_answer": true979        }980      ],981      "stream": [982        241776,983        241778984      ]985    },986    "timeline_lookup": [987      [988        1,989        1815990      ]991    ],992    "suggested_topics": [993      {994        "fancy_title": "RuntimeError: mat1 and mat2 shapes cannot be multiplied (1x92160 and 9216x120)",995        "id": 212186,996        "title": "RuntimeError: mat1 and mat2 shapes cannot be multiplied (1x92160 and 9216x120)",997        "slug": "runtimeerror-mat1-and-mat2-shapes-cannot-be-multiplied-1x92160-and-9216x120",998        "posts_count": 9,999        "reply_count": 7,1000        "highest_post_number": 9,1001        "image_url": null,1002        "created_at": "2024-10-28T03:24:27.630Z",1003        "last_posted_at": "2024-10-28T08:36:54.814Z",1004        "bumped": true,1005        "bumped_at": "2024-10-28T08:36:54.814Z",1006        "archetype": "regular",1007        "unseen": false,1008        "pinned": false,1009        "unpinned": null,1010        "visible": true,1011        "closed": false,1012        "archived": false,1013        "bookmarked": null,1014        "liked": null,1015        "tags_descriptions": {},1016        "like_count": 0,1017        "views": 109,1018        "category_id": 1,1019        "featured_link": null,1020        "has_accepted_answer": false,1021        "posters": [1022          {1023            "extras": "latest",1024            "description": "Original Poster, Most Recent Poster",1025            "user": {1026              "id": 80524,1027              "username": "nassimus",1028              "name": "nassim moualek",1029              "avatar_template": "/user_avatar/discuss.pytorch.org/nassimus/{size}/73605_2.png",1030              "trust_level": 11031            }1032          },1033          {1034            "extras": null,1035            "description": "Frequent Poster",1036            "user": {1037              "id": 12117,1038              "username": "Tony-Y",1039              "name": "",1040              "avatar_template": "/user_avatar/discuss.pytorch.org/tony-y/{size}/8373_2.png",1041              "trust_level": 21042            }1043          }1044        ]1045      },1046      {1047        "fancy_title": "Why does PyTorch + Ray Tune save the data twice?",1048        "id": 213388,1049        "title": "Why does PyTorch + Ray Tune save the data twice?",1050        "slug": "why-does-pytorch-ray-tune-save-the-data-twice",1051        "posts_count": 1,1052        "reply_count": 0,1053        "highest_post_number": 1,1054        "image_url": null,1055        "created_at": "2024-11-25T00:08:53.990Z",1056        "last_posted_at": "2024-11-25T00:08:54.039Z",1057        "bumped": true,1058        "bumped_at": "2024-11-25T00:16:51.279Z",1059        "archetype": "regular",1060        "unseen": false,1061        "pinned": false,1062        "unpinned": null,1063        "visible": true,1064        "closed": false,1065        "archived": false,1066        "bookmarked": null,1067        "liked": null,1068        "tags_descriptions": {},1069        "like_count": 0,1070        "views": 28,1071        "category_id": 1,1072        "featured_link": null,1073        "has_accepted_answer": false,1074        "posters": [1075          {1076            "extras": "latest single",1077            "description": "Original Poster, Most Recent Poster",1078            "user": {1079              "id": 81089,1080              "username": "Aknw_Fen",1081              "name": "Aknw Fen",1082              "avatar_template": "/user_avatar/discuss.pytorch.org/aknw_fen/{size}/74156_2.png",1083              "trust_level": 21084            }1085          }1086        ]1087      },1088      {1089        "fancy_title": "Pycharm Terminal VS Terminal",1090        "id": 213529,1091        "title": "Pycharm Terminal VS Terminal",1092        "slug": "pycharm-terminal-vs-terminal",1093        "posts_count": 1,1094        "reply_count": 0,1095        "highest_post_number": 1,1096        "image_url": null,1097        "created_at": "2024-11-27T14:38:39.813Z",1098        "last_posted_at": "2024-11-27T14:38:39.874Z",1099        "bumped": true,1100        "bumped_at": "2024-11-27T14:38:39.874Z",1101        "archetype": "regular",1102        "unseen": false,1103        "pinned": false,1104        "unpinned": null,1105        "visible": true,1106        "closed": false,1107        "archived": false,1108        "bookmarked": null,1109        "liked": null,1110        "tags_descriptions": {},1111        "like_count": 0,1112        "views": 118,1113        "category_id": 1,1114        "featured_link": null,1115        "has_accepted_answer": false,1116        "posters": [1117          {1118            "extras": "latest single",1119            "description": "Original Poster, Most Recent Poster",1120            "user": {1121              "id": 73999,1122              "username": "Diego_Lovison",1123              "name": "Diego Lovison",1124              "avatar_template": "/user_avatar/discuss.pytorch.org/diego_lovison/{size}/62231_2.png",1125              "trust_level": 11126            }1127          }1128        ]1129      },1130      {1131        "fancy_title": "Torch.cuda.is_available() returns False with cuda12.3",1132        "id": 215442,1133        "title": "Torch.cuda.is_available() returns False with cuda12.3",1134        "slug": "torch-cuda-is-available-returns-false-with-cuda12-3",1135        "posts_count": 1,1136        "reply_count": 0,1137        "highest_post_number": 1,1138        "image_url": null,1139        "created_at": "2025-01-16T00:24:21.813Z",1140        "last_posted_at": "2025-01-16T00:24:21.857Z",1141        "bumped": true,1142        "bumped_at": "2025-01-16T00:24:21.857Z",1143        "archetype": "regular",1144        "unseen": false,1145        "pinned": false,1146        "unpinned": null,1147        "visible": true,1148        "closed": false,1149        "archived": false,1150        "bookmarked": null,1151        "liked": null,1152        "tags_descriptions": {},1153        "like_count": 0,1154        "views": 101,1155        "category_id": 1,1156        "featured_link": null,1157        "has_accepted_answer": false,1158        "posters": [1159          {1160            "extras": "latest single",1161            "description": "Original Poster, Most Recent Poster",1162            "user": {1163              "id": 82111,1164              "username": "leewww",1165              "name": "",1166              "avatar_template": "/letter_avatar_proxy/v4/letter/l/76d3ee/{size}.png",1167              "trust_level": 11168            }1169          }1170        ]1171      },1172      {1173        "fancy_title": "TypeError: image must be passed and be one of PIL image, numpy array, torch tensor, list of PIL images, list of numpy arrays or list of torch tensors, but is &lt;class &lsquo;NoneType&rsquo;&gt;",1174        "id": 217159,1175        "title": "TypeError: image must be passed and be one of PIL image, numpy array, torch tensor, list of PIL images, list of numpy arrays or list of torch tensors, but is <class 'NoneType'>",1176        "slug": "typeerror-image-must-be-passed-and-be-one-of-pil-image-numpy-array-torch-tensor-list-of-pil-images-list-of-numpy-arrays-or-list-of-torch-tensors-but-is-class-nonetype",1177        "posts_count": 2,1178        "reply_count": 0,1179        "highest_post_number": 2,1180        "image_url": "https://discuss.pytorch.org/uploads/default/original/3X/d/9/d94d143cd391652dec01e7c92914a51636c389c3.jpeg",1181        "created_at": "2025-02-25T18:47:08.525Z",1182        "last_posted_at": "2025-02-26T02:12:43.098Z",1183        "bumped": true,1184        "bumped_at": "2025-02-26T02:12:43.098Z",1185        "archetype": "regular",1186        "unseen": false,1187        "pinned": false,1188        "unpinned": null,1189        "visible": true,1190        "closed": false,1191        "archived": false,1192        "bookmarked": null,1193        "liked": null,1194        "tags_descriptions": {},1195        "like_count": 0,1196        "views": 140,1197        "category_id": 1,1198        "featured_link": null,1199        "has_accepted_answer": false,1200        "posters": [

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