CoolFace
Datasetpublic

Anurag1734/cuda-error-resolution-analysis

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes7downloads
topics_batch_358.json59451 linesDownload Raw Back to raw
1[2  {3    "post_stream": {4      "posts": [5        {6          "id": 275982,7          "name": "jpj",8          "username": "jpj",9          "avatar_template": "/letter_avatar_proxy/v4/letter/j/ed655f/{size}.png",10          "created_at": "2021-04-08T13:03:38.342Z",11          "cooked": "<pre><code class=\"lang-auto\"> # layers\n  self.hidden_layer_1 = torch.nn.Linear(80,100)\n  self.hidden_layer_2 = torch.nn.Linear(100,100)\n  self.output = torch.nn.Linear(100,15)\n</code></pre>\n<pre><code class=\"lang-auto\"> def forward(self, input):\n        H1 = self.hidden_layer_1(input)\n        H1 = self.ReLU(H1)\n        H2 = self.hidden_layer_2(H1)\n        H2 = self.ReLU(H2)\n        final_inputs = self.output(H2)\n        # not applying activation on final_inputs because CrossEntropyLoss does that\n        return final_inputs\n</code></pre>\n<p>I have a feed forward neural network with 80 input features, two hidden layers with 100 nodes each and 15 outputs(one for each class).</p>\n<p>I save weights from a restricted boltzmann machine on tensor flow in a <em>.pkl</em> file.</p>\n<p>How do I initialise the above code with these weights?</p>",12          "post_number": 1,13          "post_type": 1,14          "posts_count": 2,15          "updated_at": "2021-04-08T13:11:49.396Z",16          "reply_count": 0,17          "reply_to_post_number": null,18          "quote_count": 0,19          "incoming_link_count": 127,20          "reads": 7,21          "readers_count": 6,22          "score": 636.4,23          "yours": false,24          "topic_id": 117511,25          "topic_slug": "how-to-initialise-weights-for-the-first-layer",26          "display_username": "jpj",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": 2,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": 42234,48          "hidden": false,49          "trust_level": 1,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/how-to-initialise-weights-for-the-first-layer/117511/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": 276127,64          "name": "",65          "username": "ptrblck",66          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",67          "created_at": "2021-04-09T06:54:34.150Z",68          "cooked": "<p>Assuming you’ve stored the TF weights as numpy arrays, you could take a look at <a href=\"https://github.com/lernapparat/lernapparat/blob/master/style_gan/pytorch_style_gan.ipynb\">this notebook</a>, which <a class=\"mention\" href=\"/u/tom\">@tom</a> and I created to port the StyleGAN parameters to our PyTorch implementation.</p>",69          "post_number": 2,70          "post_type": 1,71          "posts_count": 2,72          "updated_at": "2021-04-09T06:54:34.150Z",73          "reply_count": 0,74          "reply_to_post_number": null,75          "quote_count": 0,76          "incoming_link_count": 4,77          "reads": 4,78          "readers_count": 3,79          "score": 20.8,80          "yours": false,81          "topic_id": 117511,82          "topic_slug": "how-to-initialise-weights-for-the-first-layer",83          "display_username": "",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://github.com/lernapparat/lernapparat/blob/master/style_gan/pytorch_style_gan.ipynb",100              "internal": false,101              "reflection": false,102              "title": "lernapparat/pytorch_style_gan.ipynb at master · lernapparat/lernapparat · GitHub",103              "clicks": 15104            }105          ],106          "read": true,107          "user_title": "",108          "bookmarked": false,109          "actions_summary": [],110          "moderator": true,111          "admin": true,112          "staff": true,113          "user_id": 3534,114          "hidden": false,115          "trust_level": 2,116          "deleted_at": null,117          "user_deleted": false,118          "edit_reason": null,119          "can_view_edit_history": true,120          "wiki": false,121          "post_url": "/t/how-to-initialise-weights-for-the-first-layer/117511/2",122          "can_accept_answer": false,123          "can_unaccept_answer": false,124          "accepted_answer": false,125          "topic_accepted_answer": null126        }127      ],128      "stream": [129        275982,130        276127131      ]132    },133    "timeline_lookup": [134      [135        1,136        1661137      ]138    ],139    "suggested_topics": [140      {141        "fancy_title": "Distributed app examples is crashing with error",142        "id": 213442,143        "title": "Distributed app examples is crashing with error",144        "slug": "distributed-app-examples-is-crashing-with-error",145        "posts_count": 2,146        "reply_count": 0,147        "highest_post_number": 2,148        "image_url": null,149        "created_at": "2024-11-26T06:00:28.350Z",150        "last_posted_at": "2024-11-26T18:54:26.852Z",151        "bumped": true,152        "bumped_at": "2024-11-26T18:54:26.852Z",153        "archetype": "regular",154        "unseen": false,155        "pinned": false,156        "unpinned": null,157        "visible": true,158        "closed": false,159        "archived": false,160        "bookmarked": null,161        "liked": null,162        "tags_descriptions": {},163        "like_count": 0,164        "views": 54,165        "category_id": 1,166        "featured_link": null,167        "has_accepted_answer": false,168        "posters": [169          {170            "extras": null,171            "description": "Original Poster",172            "user": {173              "id": 70312,174              "username": "jury_duty",175              "name": "jury duty",176              "avatar_template": "/user_avatar/discuss.pytorch.org/jury_duty/{size}/64824_2.png",177              "trust_level": 0178            }179          },180          {181            "extras": "latest",182            "description": "Most Recent Poster",183            "user": {184              "id": 3534,185              "username": "ptrblck",186              "name": "",187              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",188              "admin": true,189              "moderator": true,190              "trust_level": 2191            }192          }193        ]194      },195      {196        "fancy_title": "CUDA driver initialization failed. torch.cuda.is_available()False",197        "id": 213691,198        "title": "CUDA driver initialization failed. torch.cuda.is_available()False",199        "slug": "cuda-driver-initialization-failed-torch-cuda-is-available-false",200        "posts_count": 3,201        "reply_count": 0,202        "highest_post_number": 3,203        "image_url": null,204        "created_at": "2024-12-02T09:17:30.818Z",205        "last_posted_at": "2024-12-03T06:20:19.956Z",206        "bumped": true,207        "bumped_at": "2024-12-03T06:20:19.956Z",208        "archetype": "regular",209        "unseen": false,210        "pinned": false,211        "unpinned": null,212        "visible": true,213        "closed": false,214        "archived": false,215        "bookmarked": null,216        "liked": null,217        "tags_descriptions": {},218        "like_count": 1,219        "views": 492,220        "category_id": 1,221        "featured_link": null,222        "has_accepted_answer": true,223        "posters": [224          {225            "extras": "latest",226            "description": "Original Poster, Most Recent Poster, Accepted Answer",227            "user": {228              "id": 81241,229              "username": "open2smu",230              "name": "kim",231              "avatar_template": "/user_avatar/discuss.pytorch.org/open2smu/{size}/74294_2.png",232              "trust_level": 0233            }234          },235          {236            "extras": null,237            "description": "Frequent Poster",238            "user": {239              "id": 81089,240              "username": "Aknw_Fen",241              "name": "Aknw Fen",242              "avatar_template": "/user_avatar/discuss.pytorch.org/aknw_fen/{size}/74156_2.png",243              "trust_level": 2244            }245          }246        ]247      },248      {249        "fancy_title": "Matrix multiplication implementation in PyTorch",250        "id": 214503,251        "title": "Matrix multiplication implementation in PyTorch",252        "slug": "matrix-multiplication-implementation-in-pytorch",253        "posts_count": 5,254        "reply_count": 3,255        "highest_post_number": 5,256        "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/1/1/1164c0316f8a3e99f93bb18951f2174bd5a5b9cd_2_1024x920.jpeg",257        "created_at": "2024-12-21T14:51:31.856Z",258        "last_posted_at": "2025-01-02T17:24:33.016Z",259        "bumped": true,260        "bumped_at": "2025-01-02T17:24:33.016Z",261        "archetype": "regular",262        "unseen": false,263        "pinned": false,264        "unpinned": null,265        "visible": true,266        "closed": false,267        "archived": false,268        "bookmarked": null,269        "liked": null,270        "tags_descriptions": {},271        "like_count": 2,272        "views": 890,273        "category_id": 1,274        "featured_link": null,275        "has_accepted_answer": true,276        "posters": [277          {278            "extras": null,279            "description": "Original Poster",280            "user": {281              "id": 81557,282              "username": "Areg_Petrosyan",283              "name": "Areg Petrosyan",284              "avatar_template": "/user_avatar/discuss.pytorch.org/areg_petrosyan/{size}/74662_2.png",285              "trust_level": 1286            }287          },288          {289            "extras": null,290            "description": "Frequent Poster, Accepted Answer",291            "user": {292              "id": 211,293              "username": "albanD",294              "name": "Alban D",295              "avatar_template": "/user_avatar/discuss.pytorch.org/alband/{size}/215_2.png",296              "admin": true,297              "moderator": true,298              "trust_level": 4299            }300          },301          {302            "extras": null,303            "description": "Frequent Poster",304            "user": {305              "id": 2544,306              "username": "blackberry",307              "name": "Blackberry",308              "avatar_template": "/letter_avatar_proxy/v4/letter/b/ecd19e/{size}.png",309              "trust_level": 2310            }311          },312          {313            "extras": "latest",314            "description": "Most Recent Poster",315            "user": {316              "id": 78368,317              "username": "swolchok",318              "name": "Scott Wolchok",319              "avatar_template": "/user_avatar/discuss.pytorch.org/swolchok/{size}/72256_2.png",320              "trust_level": 3321            }322          }323        ]324      },325      {326        "fancy_title": "GPU Error unspecified launch failure",327        "id": 216460,328        "title": "GPU Error unspecified launch failure",329        "slug": "gpu-error-unspecified-launch-failure",330        "posts_count": 2,331        "reply_count": 1,332        "highest_post_number": 4,333        "image_url": null,334        "created_at": "2025-02-10T11:20:19.364Z",335        "last_posted_at": "2025-02-10T14:46:25.454Z",336        "bumped": true,337        "bumped_at": "2025-02-10T14:46:25.454Z",338        "archetype": "regular",339        "unseen": false,340        "pinned": false,341        "unpinned": null,342        "visible": true,343        "closed": false,344        "archived": false,345        "bookmarked": null,346        "liked": null,347        "tags_descriptions": {},348        "like_count": 0,349        "views": 179,350        "category_id": 1,351        "featured_link": null,352        "has_accepted_answer": false,353        "posters": [354          {355            "extras": "latest single",356            "description": "Original Poster, Most Recent Poster",357            "user": {358              "id": 82364,359              "username": "Sourabh_Yadav",360              "name": "Sourabh Yadav",361              "avatar_template": "/user_avatar/discuss.pytorch.org/sourabh_yadav/{size}/75350_2.png",362              "trust_level": 1363            }364          }365        ]366      },367      {368        "fancy_title": "How to parallelise this multidimensional indexing",369        "id": 212571,370        "title": "How to parallelise this multidimensional indexing",371        "slug": "how-to-parallelise-this-multidimensional-indexing",372        "posts_count": 1,373        "reply_count": 0,374        "highest_post_number": 1,375        "image_url": null,376        "created_at": "2024-11-05T18:03:16.982Z",377        "last_posted_at": "2024-11-05T18:03:17.033Z",378        "bumped": true,379        "bumped_at": "2024-11-05T18:30:18.836Z",380        "archetype": "regular",381        "unseen": false,382        "pinned": false,383        "unpinned": null,384        "visible": true,385        "closed": false,386        "archived": false,387        "bookmarked": null,388        "liked": null,389        "tags_descriptions": {},390        "like_count": 0,391        "views": 96,392        "category_id": 1,393        "featured_link": null,394        "has_accepted_answer": false,395        "posters": [396          {397            "extras": "latest single",398            "description": "Original Poster, Most Recent Poster",399            "user": {400              "id": 67807,401              "username": "Vassil17",402              "name": "Vas17",403              "avatar_template": "/user_avatar/discuss.pytorch.org/vassil17/{size}/62192_2.png",404              "trust_level": 1405            }406          }407        ]408      }409    ],410    "tags_descriptions": {},411    "fancy_title": "How to initialise weights for the first layer",412    "id": 117511,413    "title": "How to initialise weights for the first layer",414    "posts_count": 2,415    "created_at": "2021-04-08T13:03:38.274Z",416    "views": 484,417    "reply_count": 0,418    "like_count": 0,419    "last_posted_at": "2021-04-09T06:54:34.150Z",420    "visible": true,421    "closed": false,422    "archived": false,423    "has_summary": false,424    "archetype": "regular",425    "slug": "how-to-initialise-weights-for-the-first-layer",426    "category_id": 1,427    "word_count": 149,428    "deleted_at": null,429    "user_id": 42234,430    "featured_link": null,431    "pinned_globally": false,432    "pinned_at": null,433    "pinned_until": null,434    "image_url": null,435    "slow_mode_seconds": 0,436    "draft": null,437    "draft_key": "topic_117511",438    "draft_sequence": null,439    "unpinned": null,440    "pinned": false,441    "current_post_number": 1,442    "highest_post_number": 2,443    "deleted_by": null,444    "actions_summary": [445      {446        "id": 4,447        "count": 0,448        "hidden": false,449        "can_act": false450      },451      {452        "id": 8,453        "count": 0,454        "hidden": false,455        "can_act": false456      },457      {458        "id": 10,459        "count": 0,460        "hidden": false,461        "can_act": false462      },463      {464        "id": 7,465        "count": 0,466        "hidden": false,467        "can_act": false468      }469    ],470    "chunk_size": 20,471    "bookmarked": false,472    "topic_timer": null,473    "message_bus_last_id": 0,474    "participant_count": 2,475    "show_read_indicator": false,476    "thumbnails": null,477    "slow_mode_enabled_until": null,478    "can_vote": false,479    "vote_count": 0,480    "user_voted": false,481    "discourse_zendesk_plugin_zendesk_id": null,482    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",483    "details": {484      "can_edit": false,485      "notification_level": 1,486      "participants": [487        {488          "id": 3534,489          "username": "ptrblck",490          "name": "",491          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",492          "post_count": 1,493          "primary_group_name": null,494          "flair_name": null,495          "flair_url": null,496          "flair_color": null,497          "flair_bg_color": null,498          "flair_group_id": null,499          "admin": true,500          "moderator": true,501          "trust_level": 2502        },503        {504          "id": 42234,505          "username": "jpj",506          "name": "jpj",507          "avatar_template": "/letter_avatar_proxy/v4/letter/j/ed655f/{size}.png",508          "post_count": 1,509          "primary_group_name": null,510          "flair_name": null,511          "flair_url": null,512          "flair_color": null,513          "flair_bg_color": null,514          "flair_group_id": null,515          "trust_level": 1516        }517      ],518      "created_by": {519        "id": 42234,520        "username": "jpj",521        "name": "jpj",522        "avatar_template": "/letter_avatar_proxy/v4/letter/j/ed655f/{size}.png"523      },524      "last_poster": {525        "id": 3534,526        "username": "ptrblck",527        "name": "",528        "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"529      },530      "links": [531        {532          "url": "https://github.com/lernapparat/lernapparat/blob/master/style_gan/pytorch_style_gan.ipynb",533          "title": "lernapparat/pytorch_style_gan.ipynb at master · lernapparat/lernapparat · GitHub",534          "internal": false,535          "attachment": false,536          "reflection": false,537          "clicks": 15,538          "user_id": 3534,539          "domain": "github.com",540          "root_domain": "github.com"541        }542      ]543    },544    "bookmarks": []545  },546  {547    "post_stream": {548      "posts": [549        {550          "id": 276058,551          "name": "Moinudin Gallotta",552          "username": "moinudin",553          "avatar_template": "/user_avatar/discuss.pytorch.org/moinudin/{size}/36842_2.png",554          "created_at": "2021-04-08T21:39:36.817Z",555          "cooked": "<p>I have seen tutorials use <code>x.to(device)</code>, which I understand sends <code>x</code> to the computation device (cpu/gpu) and I have seen others use <code>Variable(x)</code>, which I understand is for <code>autograd</code>, without calling <code>.to(device)</code>. Does <code>x.to(device)</code> implicitly create an autograd variable? Or can you use <code>Variable(x).to(device)</code>?</p>",556          "post_number": 1,557          "post_type": 1,558          "posts_count": 2,559          "updated_at": "2021-04-08T21:39:36.817Z",560          "reply_count": 0,561          "reply_to_post_number": null,562          "quote_count": 0,563          "incoming_link_count": 1325,564          "reads": 19,565          "readers_count": 18,566          "score": 6623.8,567          "yours": false,568          "topic_id": 117551,569          "topic_slug": "x-to-device-vs-variable-x",570          "display_username": "Moinudin Gallotta",571          "primary_group_name": null,572          "flair_name": null,573          "flair_url": null,574          "flair_bg_color": null,575          "flair_color": null,576          "flair_group_id": null,577          "badges_granted": [],578          "version": 1,579          "can_edit": false,580          "can_delete": false,581          "can_recover": false,582          "can_see_hidden_post": false,583          "can_wiki": false,584          "read": true,585          "user_title": null,586          "bookmarked": false,587          "actions_summary": [],588          "moderator": false,589          "admin": false,590          "staff": false,591          "user_id": 44024,592          "hidden": false,593          "trust_level": 1,594          "deleted_at": null,595          "user_deleted": false,596          "edit_reason": null,597          "can_view_edit_history": true,598          "wiki": false,599          "post_url": "/t/x-to-device-vs-variable-x/117551/1",600          "can_accept_answer": false,601          "can_unaccept_answer": false,602          "accepted_answer": false,603          "topic_accepted_answer": null,604          "can_vote": false605        },606        {607          "id": 276115,608          "name": "",609          "username": "ptrblck",610          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",611          "created_at": "2021-04-09T05:32:16.580Z",612          "cooked": "<p><code>Variable</code>s are deprecated since PyTorch <code>0.4</code> and you should use tensors now.<br>\nAutograd is able to track operations of tensors, if they require gradients, so there is no need to use the tensor vs. <code>Variable</code> split anymore.</p>",613          "post_number": 2,614          "post_type": 1,615          "posts_count": 2,616          "updated_at": "2021-04-09T05:32:16.580Z",617          "reply_count": 0,618          "reply_to_post_number": null,619          "quote_count": 0,620          "incoming_link_count": 12,621          "reads": 13,622          "readers_count": 12,623          "score": 77.6,624          "yours": false,625          "topic_id": 117551,626          "topic_slug": "x-to-device-vs-variable-x",627          "display_username": "",628          "primary_group_name": null,629          "flair_name": null,630          "flair_url": null,631          "flair_bg_color": null,632          "flair_color": null,633          "flair_group_id": null,634          "badges_granted": [],635          "version": 1,636          "can_edit": false,637          "can_delete": false,638          "can_recover": false,639          "can_see_hidden_post": false,640          "can_wiki": false,641          "read": true,642          "user_title": "",643          "bookmarked": false,644          "actions_summary": [645            {646              "id": 2,647              "count": 1648            }649          ],650          "moderator": true,651          "admin": true,652          "staff": true,653          "user_id": 3534,654          "hidden": false,655          "trust_level": 2,656          "deleted_at": null,657          "user_deleted": false,658          "edit_reason": null,659          "can_view_edit_history": true,660          "wiki": false,661          "post_url": "/t/x-to-device-vs-variable-x/117551/2",662          "can_accept_answer": false,663          "can_unaccept_answer": false,664          "accepted_answer": false,665          "topic_accepted_answer": null666        }667      ],668      "stream": [669        276058,670        276115671      ]672    },673    "timeline_lookup": [674      [675        1,676        1661677      ]678    ],679    "suggested_topics": [680      {681        "fancy_title": "RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [], which is output 0 of PermuteBackward, is at version 3; expected version 0 instead",682        "id": 217071,683        "title": "RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [], which is output 0 of PermuteBackward, is at version 3; expected version 0 instead",684        "slug": "runtimeerror-one-of-the-variables-needed-for-gradient-computation-has-been-modified-by-an-inplace-operation-torch-cuda-floattensor-which-is-output-0-of-permutebackward-is-at-version-3-expected-version-0-instead",685        "posts_count": 3,686        "reply_count": 1,687        "highest_post_number": 3,688        "image_url": null,689        "created_at": "2025-02-24T03:04:56.489Z",690        "last_posted_at": "2025-02-27T16:03:51.563Z",691        "bumped": true,692        "bumped_at": "2025-02-27T16:03:51.563Z",693        "archetype": "regular",694        "unseen": false,695        "pinned": false,696        "unpinned": null,697        "visible": true,698        "closed": false,699        "archived": false,700        "bookmarked": null,701        "liked": null,702        "tags_descriptions": {},703        "like_count": 1,704        "views": 47,705        "category_id": 1,706        "featured_link": null,707        "has_accepted_answer": true,708        "posters": [709          {710            "extras": "latest",711            "description": "Original Poster, Most Recent Poster",712            "user": {713              "id": 82881,714              "username": "Zhouker",715              "name": "",716              "avatar_template": "/letter_avatar_proxy/v4/letter/z/87869e/{size}.png",717              "trust_level": 1718            }719          },720          {721            "extras": null,722            "description": "Frequent Poster, Accepted Answer",723            "user": {724              "id": 18088,725              "username": "KFrank",726              "name": "K. Frank",727              "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",728              "trust_level": 2729            }730          }731        ]732      },733      {734        "fancy_title": "CUDA illegal memory exception",735        "id": 219718,736        "title": "CUDA illegal memory exception",737        "slug": "cuda-illegal-memory-exception",738        "posts_count": 3,739        "reply_count": 1,740        "highest_post_number": 3,741        "image_url": null,742        "created_at": "2025-05-03T22:58:43.789Z",743        "last_posted_at": "2025-05-04T18:20:10.998Z",744        "bumped": true,745        "bumped_at": "2025-05-04T18:20:10.998Z",746        "archetype": "regular",747        "unseen": false,748        "pinned": false,749        "unpinned": null,750        "visible": true,751        "closed": false,752        "archived": false,753        "bookmarked": null,754        "liked": null,755        "tags_descriptions": {},756        "like_count": 0,757        "views": 241,758        "category_id": 1,759        "featured_link": null,760        "has_accepted_answer": false,761        "posters": [762          {763            "extras": "latest",764            "description": "Original Poster, Most Recent Poster",765            "user": {766              "id": 82910,767              "username": "alifani",768              "name": null,769              "avatar_template": "/letter_avatar_proxy/v4/letter/a/aca169/{size}.png",770              "trust_level": 1771            }772          },773          {774            "extras": null,775            "description": "Frequent Poster",776            "user": {777              "id": 3534,778              "username": "ptrblck",779              "name": "",780              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",781              "admin": true,782              "moderator": true,783              "trust_level": 2784            }785          }786        ]787      },788      {789        "fancy_title": "Runtime error: &ldquo;ImportError: /usr/lib64/libtorch_cuda.so: undefined symbol: cudnnSetDropoutDescriptor&rdquo;",790        "id": 212671,791        "title": "Runtime error: \"ImportError: /usr/lib64/libtorch_cuda.so: undefined symbol: cudnnSetDropoutDescriptor\"",792        "slug": "runtime-error-importerror-usr-lib64-libtorch-cuda-so-undefined-symbol-cudnnsetdropoutdescriptor",793        "posts_count": 9,794        "reply_count": 6,795        "highest_post_number": 9,796        "image_url": null,797        "created_at": "2024-11-07T23:33:42.975Z",798        "last_posted_at": "2024-11-09T22:38:42.148Z",799        "bumped": true,800        "bumped_at": "2024-11-09T22:38:42.148Z",801        "archetype": "regular",802        "unseen": false,803        "pinned": false,804        "unpinned": null,805        "visible": true,806        "closed": false,807        "archived": false,808        "bookmarked": null,809        "liked": null,810        "tags_descriptions": {},811        "like_count": 0,812        "views": 2102,813        "category_id": 1,814        "featured_link": null,815        "has_accepted_answer": true,816        "posters": [817          {818            "extras": "latest",819            "description": "Original Poster, Most Recent Poster, Accepted Answer",820            "user": {821              "id": 75981,822              "username": "Geremia",823              "name": "Geremia",824              "avatar_template": "/user_avatar/discuss.pytorch.org/geremia/{size}/70165_2.png",825              "trust_level": 2826            }827          },828          {829            "extras": null,830            "description": "Frequent Poster",831            "user": {832              "id": 3534,833              "username": "ptrblck",834              "name": "",835              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",836              "admin": true,837              "moderator": true,838              "trust_level": 2839            }840          }841        ]842      },843      {844        "fancy_title": "Pytorch CUDA for Jetson orin nano",845        "id": 216618,846        "title": "Pytorch CUDA for Jetson orin nano",847        "slug": "pytorch-cuda-for-jetson-orin-nano",848        "posts_count": 2,849        "reply_count": 0,850        "highest_post_number": 3,851        "image_url": null,852        "created_at": "2025-02-13T09:15:21.472Z",853        "last_posted_at": "2025-02-14T23:27:05.729Z",854        "bumped": true,855        "bumped_at": "2025-02-14T23:27:05.729Z",856        "archetype": "regular",857        "unseen": false,858        "pinned": false,859        "unpinned": null,860        "visible": true,861        "closed": false,862        "archived": false,863        "bookmarked": null,864        "liked": null,865        "tags_descriptions": {},866        "like_count": 0,867        "views": 1910,868        "category_id": 1,869        "featured_link": null,870        "has_accepted_answer": false,871        "posters": [872          {873            "extras": null,874            "description": "Original Poster",875            "user": {876              "id": 82659,877              "username": "PhantatP",878              "name": "",879              "avatar_template": "/user_avatar/discuss.pytorch.org/phantatp/{size}/75638_2.png",880              "trust_level": 0881            }882          },883          {884            "extras": "latest",885            "description": "Most Recent Poster",886            "user": {887              "id": 3534,888              "username": "ptrblck",889              "name": "",890              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",891              "admin": true,892              "moderator": true,893              "trust_level": 2894            }895          }896        ]897      },898      {899        "fancy_title": "Multitask unet for dual segmentation",900        "id": 220619,901        "title": "Multitask unet for dual segmentation",902        "slug": "multitask-unet-for-dual-segmentation",903        "posts_count": 6,904        "reply_count": 1,905        "highest_post_number": 6,906        "image_url": null,907        "created_at": "2025-06-06T22:49:19.880Z",908        "last_posted_at": "2025-06-11T18:02:32.630Z",909        "bumped": true,910        "bumped_at": "2025-06-11T18:02:32.630Z",911        "archetype": "regular",912        "unseen": false,913        "pinned": false,914        "unpinned": null,915        "visible": true,916        "closed": false,917        "archived": false,918        "bookmarked": null,919        "liked": null,920        "tags_descriptions": {},921        "like_count": 0,922        "views": 90,923        "category_id": 1,924        "featured_link": null,925        "has_accepted_answer": false,926        "posters": [927          {928            "extras": "latest",929            "description": "Original Poster, Most Recent Poster",930            "user": {931              "id": 84605,932              "username": "Claudia_22",933              "name": "",934              "avatar_template": "/letter_avatar_proxy/v4/letter/c/c67d28/{size}.png",935              "trust_level": 0936            }937          },938          {939            "extras": null,940            "description": "Frequent Poster",941            "user": {942              "id": 18088,943              "username": "KFrank",944              "name": "K. Frank",945              "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",946              "trust_level": 2947            }948          }949        ]950      }951    ],952    "tags_descriptions": {},953    "fancy_title": "X.to(device) vs Variable(x)",954    "id": 117551,955    "title": "X.to(device) vs Variable(x)",956    "posts_count": 2,957    "created_at": "2021-04-08T21:39:36.753Z",958    "views": 2059,959    "reply_count": 0,960    "like_count": 1,961    "last_posted_at": "2021-04-09T05:32:16.580Z",962    "visible": true,963    "closed": false,964    "archived": false,965    "has_summary": false,966    "archetype": "regular",967    "slug": "x-to-device-vs-variable-x",968    "category_id": 1,969    "word_count": 93,970    "deleted_at": null,971    "user_id": 44024,972    "featured_link": null,973    "pinned_globally": false,974    "pinned_at": null,975    "pinned_until": null,976    "image_url": null,977    "slow_mode_seconds": 0,978    "draft": null,979    "draft_key": "topic_117551",980    "draft_sequence": null,981    "unpinned": null,982    "pinned": false,983    "current_post_number": 1,984    "highest_post_number": 2,985    "deleted_by": null,986    "actions_summary": [987      {988        "id": 4,989        "count": 0,990        "hidden": false,991        "can_act": false992      },993      {994        "id": 8,995        "count": 0,996        "hidden": false,997        "can_act": false998      },999      {1000        "id": 10,1001        "count": 0,1002        "hidden": false,1003        "can_act": false1004      },1005      {1006        "id": 7,1007        "count": 0,1008        "hidden": false,1009        "can_act": false1010      }1011    ],1012    "chunk_size": 20,1013    "bookmarked": false,1014    "topic_timer": null,1015    "message_bus_last_id": 0,1016    "participant_count": 2,1017    "show_read_indicator": false,1018    "thumbnails": null,1019    "slow_mode_enabled_until": null,1020    "can_vote": false,1021    "vote_count": 0,1022    "user_voted": false,1023    "discourse_zendesk_plugin_zendesk_id": null,1024    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",1025    "details": {1026      "can_edit": false,1027      "notification_level": 1,1028      "participants": [1029        {1030          "id": 3534,1031          "username": "ptrblck",1032          "name": "",1033          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1034          "post_count": 1,1035          "primary_group_name": null,1036          "flair_name": null,1037          "flair_url": null,1038          "flair_color": null,1039          "flair_bg_color": null,1040          "flair_group_id": null,1041          "admin": true,1042          "moderator": true,1043          "trust_level": 21044        },1045        {1046          "id": 44024,1047          "username": "moinudin",1048          "name": "Moinudin Gallotta",1049          "avatar_template": "/user_avatar/discuss.pytorch.org/moinudin/{size}/36842_2.png",1050          "post_count": 1,1051          "primary_group_name": null,1052          "flair_name": null,1053          "flair_url": null,1054          "flair_color": null,1055          "flair_bg_color": null,1056          "flair_group_id": null,1057          "trust_level": 11058        }1059      ],1060      "created_by": {1061        "id": 44024,1062        "username": "moinudin",1063        "name": "Moinudin Gallotta",1064        "avatar_template": "/user_avatar/discuss.pytorch.org/moinudin/{size}/36842_2.png"1065      },1066      "last_poster": {1067        "id": 3534,1068        "username": "ptrblck",1069        "name": "",1070        "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"1071      }1072    },1073    "bookmarks": []1074  },1075  {1076    "post_stream": {1077      "posts": [1078        {1079          "id": 276056,1080          "name": "mahdi morafah",1081          "username": "mahdi_morafah",1082          "avatar_template": "/user_avatar/discuss.pytorch.org/mahdi_morafah/{size}/27971_2.png",1083          "created_at": "2021-04-08T21:22:00.704Z",1084          "cooked": "<p>Hello,</p>\n<p>I have a model and it’s weight are a.W1 + b.W2. Where W1 and W2 are let’s say two randomly generated weights. I want to freeze W1, W2 and only update a, and b through the training. I’m wondering how can I implement this in Pytorch?</p>\n<p>Thanks a lot,</p>",1085          "post_number": 1,1086          "post_type": 1,1087          "posts_count": 2,1088          "updated_at": "2021-04-08T21:22:00.704Z",1089          "reply_count": 1,1090          "reply_to_post_number": null,1091          "quote_count": 0,1092          "incoming_link_count": 7,1093          "reads": 8,1094          "readers_count": 7,1095          "score": 41.6,1096          "yours": false,1097          "topic_id": 117549,1098          "topic_slug": "calculating-gradients-w-r-t-another-definied-parameter",1099          "display_username": "mahdi morafah",1100          "primary_group_name": null,1101          "flair_name": null,1102          "flair_url": null,1103          "flair_bg_color": null,1104          "flair_color": null,1105          "flair_group_id": null,1106          "badges_granted": [],1107          "version": 1,1108          "can_edit": false,1109          "can_delete": false,1110          "can_recover": false,1111          "can_see_hidden_post": false,1112          "can_wiki": false,1113          "read": true,1114          "user_title": null,1115          "bookmarked": false,1116          "actions_summary": [],1117          "moderator": false,1118          "admin": false,1119          "staff": false,1120          "user_id": 35725,1121          "hidden": false,1122          "trust_level": 1,1123          "deleted_at": null,1124          "user_deleted": false,1125          "edit_reason": null,1126          "can_view_edit_history": true,1127          "wiki": false,1128          "post_url": "/t/calculating-gradients-w-r-t-another-definied-parameter/117549/1",1129          "can_accept_answer": false,1130          "can_unaccept_answer": false,1131          "accepted_answer": false,1132          "topic_accepted_answer": null,1133          "can_vote": false1134        },1135        {1136          "id": 276098,1137          "name": "K. Frank",1138          "username": "KFrank",1139          "avatar_template": "/letter_avatar_proxy/v4/letter/k/ecb155/{size}.png",1140          "created_at": "2021-04-09T03:43:20.725Z",1141          "cooked": "<p>Hi Mahdi!</p>\n<aside class=\"quote no-group\" data-username=\"mahdi_morafah\" data-post=\"1\" data-topic=\"117549\" data-full=\"true\">\n<div class=\"title\">\n<div class=\"quote-controls\"></div>\n<img loading=\"lazy\" alt=\"\" width=\"24\" height=\"24\" src=\"https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/mahdi_morafah/48/27971_2.png\" class=\"avatar\"> mahdi_morafah:</div>\n<blockquote>\n<p>I want to freeze W1, W2 and only update a, and b through the training.</p>\n</blockquote>\n</aside>\n<p>Let me assume that <code>W1</code>, <code>W2</code>, <code>a</code>, and <code>b</code> are some sort of pytorch<br>\ntensors (and that your “.” represents some sort of multiplication).</p>\n<p>Simply set</p>\n<pre data-code-wrap=\"python\"><code class=\"lang-python\">W1.requires_grad = False\nW2.requires_grad = False\na.requires_grad = True\nb.requires_grad = True\n</code></pre>\n<p>When you backpropagate, pytorch will only calculate gradients<br>\nfor <code>a</code> and <code>b</code>, treating <code>W1</code> and <code>W2</code> as fixed (not trained) parameters.</p>\n<p>Best.</p>\n<p>K. Frank</p>",1142          "post_number": 2,1143          "post_type": 1,1144          "posts_count": 2,1145          "updated_at": "2021-04-09T03:43:20.725Z",1146          "reply_count": 0,1147          "reply_to_post_number": null,1148          "quote_count": 1,1149          "incoming_link_count": 0,1150          "reads": 5,1151          "readers_count": 4,1152          "score": 1.0,1153          "yours": false,1154          "topic_id": 117549,1155          "topic_slug": "calculating-gradients-w-r-t-another-definied-parameter",1156          "display_username": "K. Frank",1157          "primary_group_name": null,1158          "flair_name": null,1159          "flair_url": null,1160          "flair_bg_color": null,1161          "flair_color": null,1162          "flair_group_id": null,1163          "badges_granted": [],1164          "version": 1,1165          "can_edit": false,1166          "can_delete": false,1167          "can_recover": false,1168          "can_see_hidden_post": false,1169          "can_wiki": false,1170          "read": true,1171          "user_title": null,1172          "bookmarked": false,1173          "actions_summary": [],1174          "moderator": false,1175          "admin": false,1176          "staff": false,1177          "user_id": 18088,1178          "hidden": false,1179          "trust_level": 2,1180          "deleted_at": null,1181          "user_deleted": false,1182          "edit_reason": null,1183          "can_view_edit_history": true,1184          "wiki": false,1185          "post_url": "/t/calculating-gradients-w-r-t-another-definied-parameter/117549/2",1186          "can_accept_answer": false,1187          "can_unaccept_answer": false,1188          "accepted_answer": false,1189          "topic_accepted_answer": null1190        }1191      ],1192      "stream": [1193        276056,1194        2760981195      ]1196    },1197    "timeline_lookup": [1198      [1199        1,1200        1661

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