CoolFace
Datasetpublic

Anurag1734/cuda-error-resolution-analysis

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes7downloads
topics_batch_138.json63557 linesDownload Raw Back to raw
1[2  {3    "post_stream": {4      "posts": [5        {6          "id": 400896,7          "name": "AY",8          "username": "Ali_Youssef",9          "avatar_template": "/user_avatar/discuss.pytorch.org/ali_youssef/{size}/58359_2.png",10          "created_at": "2023-05-06T03:17:43.977Z",11          "cooked": "<p>Hello everyone!</p>\n<p>I had a a simple question regarding image patching.</p>\n<p>For exmaple, if we are doign segementation or any other image processing task.</p>\n<ul>\n<li>\n<p>If an image is (256,256) and during training nd testing, we split it to patches of size (32,32), why not just resize the image to (32,32) directly? Do we lose information if we do so?</p>\n</li>\n<li>\n<p>I don’t really understand why apply patches in the first place, does it improve segementation performance or is it purely for computational power expenses?</p>\n</li>\n</ul>\n<p>Thank you!</p>",12          "post_number": 1,13          "post_type": 1,14          "posts_count": 2,15          "updated_at": "2023-05-06T03:17:43.977Z",16          "reply_count": 0,17          "reply_to_post_number": null,18          "quote_count": 0,19          "incoming_link_count": 14,20          "reads": 3,21          "readers_count": 2,22          "score": 70.6,23          "yours": false,24          "topic_id": 179269,25          "topic_slug": "image-patching-question",26          "display_username": "AY",27          "primary_group_name": null,28          "flair_name": null,29          "flair_url": null,30          "flair_bg_color": null,31          "flair_color": null,32          "flair_group_id": null,33          "badges_granted": [],34          "version": 1,35          "can_edit": false,36          "can_delete": false,37          "can_recover": false,38          "can_see_hidden_post": false,39          "can_wiki": false,40          "read": true,41          "user_title": "",42          "bookmarked": false,43          "actions_summary": [],44          "moderator": false,45          "admin": false,46          "staff": false,47          "user_id": 64862,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/image-patching-question/179269/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": 402424,64          "name": "",65          "username": "ptrblck",66          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",67          "created_at": "2023-05-17T07:31:28.183Z",68          "cooked": "<ol>\n<li>Yes, resizing the image from <code>256x256=65536</code> pixels to <code>32x32=1024</code> will lose information.</li>\n<li>Also yes, using the larger input images might cause OOM issues depending on the model and the used GPU. Segmentation results might thus benefit from a patch approach.</li>\n</ol>",69          "post_number": 2,70          "post_type": 1,71          "posts_count": 2,72          "updated_at": "2023-05-17T07:31:28.183Z",73          "reply_count": 0,74          "reply_to_post_number": null,75          "quote_count": 0,76          "incoming_link_count": 0,77          "reads": 3,78          "readers_count": 2,79          "score": 0.6,80          "yours": false,81          "topic_id": 179269,82          "topic_slug": "image-patching-question",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          "read": true,98          "user_title": "",99          "bookmarked": false,100          "actions_summary": [],101          "moderator": true,102          "admin": true,103          "staff": true,104          "user_id": 3534,105          "hidden": false,106          "trust_level": 2,107          "deleted_at": null,108          "user_deleted": false,109          "edit_reason": null,110          "can_view_edit_history": true,111          "wiki": false,112          "post_url": "/t/image-patching-question/179269/2",113          "can_accept_answer": false,114          "can_unaccept_answer": false,115          "accepted_answer": false,116          "topic_accepted_answer": null117        }118      ],119      "stream": [120        400896,121        402424122      ]123    },124    "timeline_lookup": [125      [126        1,127        904128      ],129      [130        2,131        892132      ]133    ],134    "suggested_topics": [135      {136        "fancy_title": "Same weigths, same input differnt results",137        "id": 212574,138        "title": "Same weigths, same input differnt results",139        "slug": "same-weigths-same-input-differnt-results",140        "posts_count": 7,141        "reply_count": 5,142        "highest_post_number": 7,143        "image_url": null,144        "created_at": "2024-11-05T21:09:01.304Z",145        "last_posted_at": "2024-11-06T13:05:06.902Z",146        "bumped": true,147        "bumped_at": "2024-11-06T13:05:06.902Z",148        "archetype": "regular",149        "unseen": false,150        "pinned": false,151        "unpinned": null,152        "visible": true,153        "closed": false,154        "archived": false,155        "bookmarked": null,156        "liked": null,157        "tags_descriptions": {},158        "like_count": 1,159        "views": 137,160        "category_id": 5,161        "featured_link": null,162        "has_accepted_answer": true,163        "posters": [164          {165            "extras": "latest",166            "description": "Original Poster, Most Recent Poster",167            "user": {168              "id": 55611,169              "username": "TOOFACK",170              "name": "TOOFACK",171              "avatar_template": "/user_avatar/discuss.pytorch.org/toofack/{size}/49260_2.png",172              "trust_level": 1173            }174          },175          {176            "extras": null,177            "description": "Frequent Poster, Accepted Answer",178            "user": {179              "id": 12117,180              "username": "Tony-Y",181              "name": "",182              "avatar_template": "/user_avatar/discuss.pytorch.org/tony-y/{size}/8373_2.png",183              "trust_level": 2184            }185          }186        ]187      },188      {189        "fancy_title": "How to extract figures with labels from image",190        "id": 213251,191        "title": "How to extract figures with labels from image",192        "slug": "how-to-extract-figures-with-labels-from-image",193        "posts_count": 1,194        "reply_count": 0,195        "highest_post_number": 1,196        "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/3/8/3892b62f3a6f8e8d592d805f24dabb19c0533d44_2_724x1024.png",197        "created_at": "2024-11-21T06:42:18.910Z",198        "last_posted_at": "2024-11-21T06:42:18.975Z",199        "bumped": true,200        "bumped_at": "2024-11-21T06:42:55.239Z",201        "archetype": "regular",202        "unseen": false,203        "pinned": false,204        "unpinned": null,205        "visible": true,206        "closed": false,207        "archived": false,208        "bookmarked": null,209        "liked": null,210        "tags_descriptions": {},211        "like_count": 0,212        "views": 27,213        "category_id": 5,214        "featured_link": null,215        "has_accepted_answer": false,216        "posters": [217          {218            "extras": "latest single",219            "description": "Original Poster, Most Recent Poster",220            "user": {221              "id": 81040,222              "username": "stunning_World",223              "name": "stunning World",224              "avatar_template": "/user_avatar/discuss.pytorch.org/stunning_world/{size}/73382_2.png",225              "trust_level": 0226            }227          }228        ]229      },230      {231        "fancy_title": "Fixing number of filters in Conv2ds",232        "id": 214033,233        "title": "Fixing number of filters in Conv2ds",234        "slug": "fixing-number-of-filters-in-conv2ds",235        "posts_count": 4,236        "reply_count": 0,237        "highest_post_number": 4,238        "image_url": null,239        "created_at": "2024-12-10T07:27:04.845Z",240        "last_posted_at": "2024-12-11T04:37:44.049Z",241        "bumped": true,242        "bumped_at": "2024-12-11T04:37:44.049Z",243        "archetype": "regular",244        "unseen": false,245        "pinned": false,246        "unpinned": null,247        "visible": true,248        "closed": false,249        "archived": false,250        "bookmarked": null,251        "liked": null,252        "tags_descriptions": {},253        "like_count": 0,254        "views": 187,255        "category_id": 5,256        "featured_link": null,257        "has_accepted_answer": false,258        "posters": [259          {260            "extras": "latest",261            "description": "Original Poster, Most Recent Poster",262            "user": {263              "id": 81422,264              "username": "Idrees11",265              "name": "Idrees Bhat",266              "avatar_template": "/user_avatar/discuss.pytorch.org/idrees11/{size}/74448_2.png",267              "trust_level": 1268            }269          },270          {271            "extras": null,272            "description": "Frequent Poster",273            "user": {274              "id": 81089,275              "username": "Aknw_Fen",276              "name": "Aknw Fen",277              "avatar_template": "/user_avatar/discuss.pytorch.org/aknw_fen/{size}/74156_2.png",278              "trust_level": 2279            }280          }281        ]282      },283      {284        "fancy_title": "List out of range when using boundings boxes in object detection",285        "id": 212657,286        "title": "List out of range when using boundings boxes in object detection",287        "slug": "list-out-of-range-when-using-boundings-boxes-in-object-detection",288        "posts_count": 1,289        "reply_count": 0,290        "highest_post_number": 1,291        "image_url": null,292        "created_at": "2024-11-07T10:27:30.812Z",293        "last_posted_at": "2024-11-07T10:27:30.862Z",294        "bumped": true,295        "bumped_at": "2024-11-07T10:27:30.862Z",296        "archetype": "regular",297        "unseen": false,298        "pinned": false,299        "unpinned": null,300        "visible": true,301        "closed": false,302        "archived": false,303        "bookmarked": null,304        "liked": null,305        "tags_descriptions": {},306        "like_count": 0,307        "views": 152,308        "category_id": 5,309        "featured_link": null,310        "has_accepted_answer": false,311        "posters": [312          {313            "extras": "latest single",314            "description": "Original Poster, Most Recent Poster",315            "user": {316              "id": 58229,317              "username": "Rexedoziem",318              "name": "Rexedoziem",319              "avatar_template": "/user_avatar/discuss.pytorch.org/rexedoziem/{size}/52029_2.png",320              "trust_level": 1321            }322          }323        ]324      },325      {326        "fancy_title": "Loading donut transformers model getting error",327        "id": 217284,328        "title": "Loading donut transformers model getting error",329        "slug": "loading-donut-transformers-model-getting-error",330        "posts_count": 3,331        "reply_count": 1,332        "highest_post_number": 3,333        "image_url": null,334        "created_at": "2025-02-28T11:32:05.605Z",335        "last_posted_at": "2025-03-07T10:10:12.914Z",336        "bumped": true,337        "bumped_at": "2025-03-07T10:10:12.914Z",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": 64,350        "category_id": 5,351        "featured_link": null,352        "has_accepted_answer": true,353        "posters": [354          {355            "extras": "latest",356            "description": "Original Poster, Most Recent Poster",357            "user": {358              "id": 82989,359              "username": "ankita1",360              "name": "ankita",361              "avatar_template": "/letter_avatar_proxy/v4/letter/a/d07c76/{size}.png",362              "trust_level": 1363            }364          },365          {366            "extras": null,367            "description": "Frequent Poster, Accepted Answer",368            "user": {369              "id": 3534,370              "username": "ptrblck",371              "name": "",372              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",373              "admin": true,374              "moderator": true,375              "trust_level": 2376            }377          }378        ]379      }380    ],381    "tags_descriptions": {},382    "fancy_title": "Image Patching question",383    "id": 179269,384    "title": "Image Patching question",385    "posts_count": 2,386    "created_at": "2023-05-06T03:17:43.900Z",387    "views": 345,388    "reply_count": 0,389    "like_count": 0,390    "last_posted_at": "2023-05-17T07:31:28.183Z",391    "visible": true,392    "closed": false,393    "archived": false,394    "has_summary": false,395    "archetype": "regular",396    "slug": "image-patching-question",397    "category_id": 5,398    "word_count": 133,399    "deleted_at": null,400    "user_id": 64862,401    "featured_link": null,402    "pinned_globally": false,403    "pinned_at": null,404    "pinned_until": null,405    "image_url": null,406    "slow_mode_seconds": 0,407    "draft": null,408    "draft_key": "topic_179269",409    "draft_sequence": null,410    "unpinned": null,411    "pinned": false,412    "current_post_number": 1,413    "highest_post_number": 2,414    "deleted_by": null,415    "actions_summary": [416      {417        "id": 4,418        "count": 0,419        "hidden": false,420        "can_act": false421      },422      {423        "id": 8,424        "count": 0,425        "hidden": false,426        "can_act": false427      },428      {429        "id": 10,430        "count": 0,431        "hidden": false,432        "can_act": false433      },434      {435        "id": 7,436        "count": 0,437        "hidden": false,438        "can_act": false439      }440    ],441    "chunk_size": 20,442    "bookmarked": false,443    "topic_timer": null,444    "message_bus_last_id": 0,445    "participant_count": 2,446    "show_read_indicator": false,447    "thumbnails": null,448    "slow_mode_enabled_until": null,449    "can_vote": false,450    "vote_count": 0,451    "user_voted": false,452    "discourse_zendesk_plugin_zendesk_id": null,453    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",454    "details": {455      "can_edit": false,456      "notification_level": 1,457      "participants": [458        {459          "id": 3534,460          "username": "ptrblck",461          "name": "",462          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",463          "post_count": 1,464          "primary_group_name": null,465          "flair_name": null,466          "flair_url": null,467          "flair_color": null,468          "flair_bg_color": null,469          "flair_group_id": null,470          "admin": true,471          "moderator": true,472          "trust_level": 2473        },474        {475          "id": 64862,476          "username": "Ali_Youssef",477          "name": "AY",478          "avatar_template": "/user_avatar/discuss.pytorch.org/ali_youssef/{size}/58359_2.png",479          "post_count": 1,480          "primary_group_name": null,481          "flair_name": null,482          "flair_url": null,483          "flair_color": null,484          "flair_bg_color": null,485          "flair_group_id": null,486          "trust_level": 1487        }488      ],489      "created_by": {490        "id": 64862,491        "username": "Ali_Youssef",492        "name": "AY",493        "avatar_template": "/user_avatar/discuss.pytorch.org/ali_youssef/{size}/58359_2.png"494      },495      "last_poster": {496        "id": 3534,497        "username": "ptrblck",498        "name": "",499        "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"500      }501    },502    "bookmarks": []503  },504  {505    "post_stream": {506      "posts": [507        {508          "id": 400727,509          "name": "Adam Wiemerslage",510          "username": "Adamits",511          "avatar_template": "/user_avatar/discuss.pytorch.org/adamits/{size}/4528_2.png",512          "created_at": "2023-05-04T21:15:26.906Z",513          "cooked": "<p>I am getting an error when I try to compute model FLOPs with the torcheval <a href=\"https://github.com/pytorch/torcheval/blob/main/torcheval/tools/module_summary.py\" rel=\"noopener nofollow ugc\">module_summary</a>.</p>\n<p>Specifically, the issue seems to be that <code>module_summary</code> calls the forward function on every submodule of my model (see <a href=\"https://github.com/pytorch/torcheval/blob/main/torcheval/tools/module_summary.py#L258\" rel=\"noopener nofollow ugc\">here</a>), unpacking the provided args and passing them through.</p>\n<p>Since one of my submodules is an <code>nn.LSTM</code> that I pass a <code>PackedSequence</code> to, and a pytorch <code>PackedSequence</code> inherits from a named tuple, this gets unpacked (sorry this term is overloaded, I mean unpacked as an iterable into args to the LSTM forward function), and errors.</p>\n<p>example:</p>\n<pre><code class=\"lang-auto\">        embedded = self.embeddings(source)\n        # Packs embedded source symbols into a PackedSequence.\n        packed = nn.utils.rnn.pack_padded_sequence(\n            embedded, lengths, batch_first=True, enforce_sorted=False\n        )\n        # -&gt; B x seq_len x encoder_dim, (h0, c0).\n        packed_outs, (H, C) = self.encoder(packed)\n        encoded, _ = nn.utils.rnn.pad_packed_sequence(\n            packed_outs,\n            batch_first=True,\n            padding_value=self.pad_idx,\n            total_length=None,\n        )\n</code></pre>\n<p>Causes <code>TypeError: forward() takes from 2 to 3 positional arguments but 5 were given</code> while profiling FLOPs.</p>\n<p>Of course, I can simply pass <code>packed</code> inside an iterable, which solves the issue when profiling:</p>\n<pre><code class=\"lang-auto\">packed_outs, (H, C) = self.encoder((packed,))\n</code></pre>\n<p>but then the actual forward pass errors when I am not profiling with torch eval, since it expects a <code>PackedSequence</code>: <code>AttributeError: 'tuple' object has no attribute 'dim'</code></p>\n<p>This seems like a really silly issue that someone else might have run into. I am probably being dense but is there a simple solution to this?</p>",514          "post_number": 1,515          "post_type": 1,516          "posts_count": 2,517          "updated_at": "2023-05-04T21:15:26.906Z",518          "reply_count": 0,519          "reply_to_post_number": null,520          "quote_count": 0,521          "incoming_link_count": 33,522          "reads": 5,523          "readers_count": 4,524          "score": 166.0,525          "yours": false,526          "topic_id": 179164,527          "topic_slug": "unable-to-use-torcheval-module-summary-with-packed-sequences-for-lstm",528          "display_username": "Adam Wiemerslage",529          "primary_group_name": null,530          "flair_name": null,531          "flair_url": null,532          "flair_bg_color": null,533          "flair_color": null,534          "flair_group_id": null,535          "badges_granted": [],536          "version": 1,537          "can_edit": false,538          "can_delete": false,539          "can_recover": false,540          "can_see_hidden_post": false,541          "can_wiki": false,542          "link_counts": [543            {544              "url": "https://github.com/pytorch/torcheval/blob/main/torcheval/tools/module_summary.py",545              "internal": false,546              "reflection": false,547              "title": "torcheval/module_summary.py at main · pytorch/torcheval · GitHub",548              "clicks": 2549            },550            {551              "url": "https://github.com/pytorch/torcheval/blob/main/torcheval/tools/module_summary.py#L258",552              "internal": false,553              "reflection": false,554              "title": "torcheval/module_summary.py at main · pytorch/torcheval · GitHub",555              "clicks": 1556            }557          ],558          "read": true,559          "user_title": null,560          "bookmarked": false,561          "actions_summary": [],562          "moderator": false,563          "admin": false,564          "staff": false,565          "user_id": 7992,566          "hidden": false,567          "trust_level": 2,568          "deleted_at": null,569          "user_deleted": false,570          "edit_reason": null,571          "can_view_edit_history": true,572          "wiki": false,573          "post_url": "/t/unable-to-use-torcheval-module-summary-with-packed-sequences-for-lstm/179164/1",574          "can_accept_answer": false,575          "can_unaccept_answer": false,576          "accepted_answer": false,577          "topic_accepted_answer": true,578          "can_vote": false579        },580        {581          "id": 402419,582          "name": "",583          "username": "ptrblck",584          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",585          "created_at": "2023-05-17T07:25:02.517Z",586          "cooked": "<p>I would recommend posting this issue in the <code>torcheval</code> GitHub repository to track and fix it, as it’s still in its alpha stage.</p>",587          "post_number": 2,588          "post_type": 1,589          "posts_count": 2,590          "updated_at": "2023-05-17T07:25:02.517Z",591          "reply_count": 0,592          "reply_to_post_number": null,593          "quote_count": 0,594          "incoming_link_count": 1,595          "reads": 3,596          "readers_count": 2,597          "score": 20.6,598          "yours": false,599          "topic_id": 179164,600          "topic_slug": "unable-to-use-torcheval-module-summary-with-packed-sequences-for-lstm",601          "display_username": "",602          "primary_group_name": null,603          "flair_name": null,604          "flair_url": null,605          "flair_bg_color": null,606          "flair_color": null,607          "flair_group_id": null,608          "badges_granted": [],609          "version": 1,610          "can_edit": false,611          "can_delete": false,612          "can_recover": false,613          "can_see_hidden_post": false,614          "can_wiki": false,615          "read": true,616          "user_title": "",617          "bookmarked": false,618          "actions_summary": [619            {620              "id": 2,621              "count": 1622            }623          ],624          "moderator": true,625          "admin": true,626          "staff": true,627          "user_id": 3534,628          "hidden": false,629          "trust_level": 2,630          "deleted_at": null,631          "user_deleted": false,632          "edit_reason": null,633          "can_view_edit_history": true,634          "wiki": false,635          "post_url": "/t/unable-to-use-torcheval-module-summary-with-packed-sequences-for-lstm/179164/2",636          "can_accept_answer": false,637          "can_unaccept_answer": false,638          "accepted_answer": true,639          "topic_accepted_answer": true640        }641      ],642      "stream": [643        400727,644        402419645      ]646    },647    "timeline_lookup": [648      [649        1,650        905651      ],652      [653        2,654        892655      ]656    ],657    "suggested_topics": [658      {659        "fancy_title": "Pow return &lsquo;nan&rsquo; instead of expected value for second and higher order deriviative orders",660        "id": 214421,661        "title": "Pow return 'nan' instead of expected value for second and higher order deriviative orders",662        "slug": "pow-return-nan-instead-of-expected-value-for-second-and-higher-order-deriviative-orders",663        "posts_count": 4,664        "reply_count": 2,665        "highest_post_number": 4,666        "image_url": null,667        "created_at": "2024-12-19T22:48:34.936Z",668        "last_posted_at": "2024-12-23T00:57:41.585Z",669        "bumped": true,670        "bumped_at": "2024-12-23T00:57:41.585Z",671        "archetype": "regular",672        "unseen": false,673        "pinned": false,674        "unpinned": null,675        "visible": true,676        "closed": false,677        "archived": false,678        "bookmarked": null,679        "liked": null,680        "tags_descriptions": {},681        "like_count": 2,682        "views": 72,683        "category_id": 1,684        "featured_link": null,685        "has_accepted_answer": true,686        "posters": [687          {688            "extras": null,689            "description": "Original Poster",690            "user": {691              "id": 34579,692              "username": "JosueCom",693              "name": "Josue",694              "avatar_template": "/user_avatar/discuss.pytorch.org/josuecom/{size}/27043_2.png",695              "trust_level": 2696            }697          },698          {699            "extras": "latest",700            "description": "Most Recent Poster, Accepted Answer",701            "user": {702              "id": 41396,703              "username": "soulitzer",704              "name": "",705              "avatar_template": "/letter_avatar_proxy/v4/letter/s/839c29/{size}.png",706              "trust_level": 2707            }708          }709        ]710      },711      {712        "fancy_title": "Problem when using pytorch",713        "id": 214684,714        "title": "Problem when using pytorch",715        "slug": "problem-when-using-pytorch",716        "posts_count": 7,717        "reply_count": 5,718        "highest_post_number": 8,719        "image_url": null,720        "created_at": "2024-12-27T04:54:10.371Z",721        "last_posted_at": "2025-01-01T07:53:46.028Z",722        "bumped": true,723        "bumped_at": "2025-01-01T07:53:46.028Z",724        "archetype": "regular",725        "unseen": false,726        "pinned": false,727        "unpinned": null,728        "visible": true,729        "closed": false,730        "archived": false,731        "bookmarked": null,732        "liked": null,733        "tags_descriptions": {},734        "like_count": 0,735        "views": 399,736        "category_id": 1,737        "featured_link": null,738        "has_accepted_answer": false,739        "posters": [740          {741            "extras": "latest",742            "description": "Original Poster, Most Recent Poster",743            "user": {744              "id": 81735,745              "username": "Nickelth",746              "name": "Nickelth",747              "avatar_template": "/user_avatar/discuss.pytorch.org/nickelth/{size}/74746_2.png",748              "trust_level": 0749            }750          },751          {752            "extras": null,753            "description": "Frequent Poster",754            "user": {755              "id": 3534,756              "username": "ptrblck",757              "name": "",758              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",759              "admin": true,760              "moderator": true,761              "trust_level": 2762            }763          }764        ]765      },766      {767        "fancy_title": "How to liberate CUDA Memory succesfully?",768        "id": 214081,769        "title": "How to liberate CUDA Memory succesfully?",770        "slug": "how-to-liberate-cuda-memory-succesfully",771        "posts_count": 2,772        "reply_count": 0,773        "highest_post_number": 2,774        "image_url": "https://discuss.pytorch.org/uploads/default/original/3X/a/f/af1fa59e98fb53eb6f25e7f62b3371828b56f185.png",775        "created_at": "2024-12-11T01:04:45.736Z",776        "last_posted_at": "2024-12-11T14:08:23.450Z",777        "bumped": true,778        "bumped_at": "2024-12-11T14:08:23.450Z",779        "archetype": "regular",780        "unseen": false,781        "pinned": false,782        "unpinned": null,783        "visible": true,784        "closed": false,785        "archived": false,786        "bookmarked": null,787        "liked": null,788        "tags_descriptions": {},789        "like_count": 0,790        "views": 230,791        "category_id": 1,792        "featured_link": null,793        "has_accepted_answer": false,794        "posters": [795          {796            "extras": null,797            "description": "Original Poster",798            "user": {799              "id": 81441,800              "username": "Jose_Leyva",801              "name": "Jose Leyva",802              "avatar_template": "/user_avatar/discuss.pytorch.org/jose_leyva/{size}/74460_2.png",803              "trust_level": 1804            }805          },806          {807            "extras": "latest",808            "description": "Most Recent Poster",809            "user": {810              "id": 3534,811              "username": "ptrblck",812              "name": "",813              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",814              "admin": true,815              "moderator": true,816              "trust_level": 2817            }818          }819        ]820      },821      {822        "fancy_title": "Questions Regarding the Direction of Half Padding for Odd-Sized Inputs in PyTorch Conv2D and ConvTransposed2D",823        "id": 214237,824        "title": "Questions Regarding the Direction of Half Padding for Odd-Sized Inputs in PyTorch Conv2D and ConvTransposed2D",825        "slug": "questions-regarding-the-direction-of-half-padding-for-odd-sized-inputs-in-pytorch-conv2d-and-convtransposed2d",826        "posts_count": 2,827        "reply_count": 0,828        "highest_post_number": 2,829        "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/b/b/bbbaac4cedae04ffa60904b9c583ad66ddfa697c_2_1024x449.png",830        "created_at": "2024-12-15T07:28:33.352Z",831        "last_posted_at": "2024-12-17T13:51:47.078Z",832        "bumped": true,833        "bumped_at": "2024-12-17T13:51:47.078Z",834        "archetype": "regular",835        "unseen": false,836        "pinned": false,837        "unpinned": null,838        "visible": true,839        "closed": false,840        "archived": false,841        "bookmarked": null,842        "liked": null,843        "tags_descriptions": {},844        "like_count": 0,845        "views": 91,846        "category_id": 1,847        "featured_link": null,848        "has_accepted_answer": false,849        "posters": [850          {851            "extras": "latest single",852            "description": "Original Poster, Most Recent Poster",853            "user": {854              "id": 81511,855              "username": "mx34kryce",856              "name": "",857              "avatar_template": "/user_avatar/discuss.pytorch.org/mx34kryce/{size}/74521_2.png",858              "trust_level": 1859            }860          }861        ]862      },863      {864        "fancy_title": "GPU Usage graph oscillating",865        "id": 215979,866        "title": "GPU Usage graph oscillating",867        "slug": "gpu-usage-graph-oscillating",868        "posts_count": 3,869        "reply_count": 0,870        "highest_post_number": 3,871        "image_url": "https://discuss.pytorch.org/uploads/default/original/3X/3/4/344dde9d7ba72ce951344fb82a01197791afa133.png",872        "created_at": "2025-01-28T07:49:25.227Z",873        "last_posted_at": "2025-01-28T13:48:25.070Z",874        "bumped": true,875        "bumped_at": "2025-01-28T13:48:25.070Z",876        "archetype": "regular",877        "unseen": false,878        "pinned": false,879        "unpinned": null,880        "visible": true,881        "closed": false,882        "archived": false,883        "bookmarked": null,884        "liked": null,885        "tags_descriptions": {},886        "like_count": 0,887        "views": 146,888        "category_id": 1,889        "featured_link": null,890        "has_accepted_answer": false,891        "posters": [892          {893            "extras": "latest",894            "description": "Original Poster, Most Recent Poster",895            "user": {896              "id": 82364,897              "username": "Sourabh_Yadav",898              "name": "Sourabh Yadav",899              "avatar_template": "/user_avatar/discuss.pytorch.org/sourabh_yadav/{size}/75350_2.png",900              "trust_level": 1901            }902          },903          {904            "extras": null,905            "description": "Frequent Poster",906            "user": {907              "id": 3534,908              "username": "ptrblck",909              "name": "",910              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",911              "admin": true,912              "moderator": true,913              "trust_level": 2914            }915          }916        ]917      }918    ],919    "tags_descriptions": {},920    "fancy_title": "Unable to use torcheval `module_summary` with packed sequences for LSTM",921    "id": 179164,922    "title": "Unable to use torcheval `module_summary` with packed sequences for LSTM",923    "posts_count": 2,924    "created_at": "2023-05-04T21:15:26.823Z",925    "views": 356,926    "reply_count": 0,927    "like_count": 1,928    "last_posted_at": "2023-05-17T07:25:02.517Z",929    "visible": true,930    "closed": false,931    "archived": false,932    "has_summary": false,933    "archetype": "regular",934    "slug": "unable-to-use-torcheval-module-summary-with-packed-sequences-for-lstm",935    "category_id": 1,936    "word_count": 281,937    "deleted_at": null,938    "user_id": 7992,939    "featured_link": null,940    "pinned_globally": false,941    "pinned_at": null,942    "pinned_until": null,943    "image_url": null,944    "slow_mode_seconds": 0,945    "draft": null,946    "draft_key": "topic_179164",947    "draft_sequence": null,948    "unpinned": null,949    "pinned": false,950    "current_post_number": 1,951    "highest_post_number": 2,952    "deleted_by": null,953    "actions_summary": [954      {955        "id": 4,956        "count": 0,957        "hidden": false,958        "can_act": false959      },960      {961        "id": 8,962        "count": 0,963        "hidden": false,964        "can_act": false965      },966      {967        "id": 10,968        "count": 0,969        "hidden": false,970        "can_act": false971      },972      {973        "id": 7,974        "count": 0,975        "hidden": false,976        "can_act": false977      }978    ],979    "chunk_size": 20,980    "bookmarked": false,981    "topic_timer": null,982    "message_bus_last_id": 0,983    "participant_count": 2,984    "show_read_indicator": false,985    "thumbnails": null,986    "slow_mode_enabled_until": null,987    "accepted_answer": {988      "post_number": 2,989      "username": "ptrblck",990      "name": "",991      "excerpt": "I would recommend posting this issue in the torcheval GitHub repository to track and fix it, as it’s still in its alpha stage."992    },993    "can_vote": false,994    "vote_count": 0,995    "user_voted": false,996    "discourse_zendesk_plugin_zendesk_id": null,997    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",998    "details": {999      "can_edit": false,1000      "notification_level": 1,1001      "participants": [1002        {1003          "id": 3534,1004          "username": "ptrblck",1005          "name": "",1006          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1007          "post_count": 1,1008          "primary_group_name": null,1009          "flair_name": null,1010          "flair_url": null,1011          "flair_color": null,1012          "flair_bg_color": null,1013          "flair_group_id": null,1014          "admin": true,1015          "moderator": true,1016          "trust_level": 21017        },1018        {1019          "id": 7992,1020          "username": "Adamits",1021          "name": "Adam Wiemerslage",1022          "avatar_template": "/user_avatar/discuss.pytorch.org/adamits/{size}/4528_2.png",1023          "post_count": 1,1024          "primary_group_name": null,1025          "flair_name": null,1026          "flair_url": null,1027          "flair_color": null,1028          "flair_bg_color": null,1029          "flair_group_id": null,1030          "trust_level": 21031        }1032      ],1033      "created_by": {1034        "id": 7992,1035        "username": "Adamits",1036        "name": "Adam Wiemerslage",1037        "avatar_template": "/user_avatar/discuss.pytorch.org/adamits/{size}/4528_2.png"1038      },1039      "last_poster": {1040        "id": 3534,1041        "username": "ptrblck",1042        "name": "",1043        "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"1044      },1045      "links": [1046        {1047          "url": "https://github.com/pytorch/torcheval/blob/main/torcheval/tools/module_summary.py",1048          "title": "torcheval/module_summary.py at main · pytorch/torcheval · GitHub",1049          "internal": false,1050          "attachment": false,1051          "reflection": false,1052          "clicks": 2,1053          "user_id": 7992,1054          "domain": "github.com",1055          "root_domain": "github.com"1056        },1057        {1058          "url": "https://github.com/pytorch/torcheval/blob/main/torcheval/tools/module_summary.py#L258",1059          "title": "torcheval/module_summary.py at main · pytorch/torcheval · GitHub",1060          "internal": false,1061          "attachment": false,1062          "reflection": false,1063          "clicks": 1,1064          "user_id": 7992,1065          "domain": "github.com",1066          "root_domain": "github.com"1067        }1068      ]1069    },1070    "bookmarks": []1071  },1072  {1073    "post_stream": {1074      "posts": [1075        {1076          "id": 400962,1077          "name": "",1078          "username": "Abinas",1079          "avatar_template": "/user_avatar/discuss.pytorch.org/abinas/{size}/60272_2.png",1080          "created_at": "2023-05-07T01:33:31.732Z",1081          "cooked": "<p>Hi! everyone<br>\nI am currently working on a problem where i have 3 trained regression model, where each model gives output of  (1,300) length sequence. things i need to do is combine the output from the regression model at certain ratio a<em>x + b</em>y + c*z = final output (1,300). I want to train the ratio a,b,c. I don’t want the gradient to back propagate to the trained model only the ratio must be updated. suggest me how can i achieve this.</p>",1082          "post_number": 1,1083          "post_type": 1,1084          "posts_count": 4,1085          "updated_at": "2023-05-07T01:33:31.732Z",1086          "reply_count": 0,1087          "reply_to_post_number": null,1088          "quote_count": 0,1089          "incoming_link_count": 10,1090          "reads": 4,1091          "readers_count": 3,1092          "score": 50.8,1093          "yours": false,1094          "topic_id": 179311,1095          "topic_slug": "merging-3-regression-model-at-certain-ratio",1096          "display_username": "",1097          "primary_group_name": null,1098          "flair_name": null,1099          "flair_url": null,1100          "flair_bg_color": null,1101          "flair_color": null,1102          "flair_group_id": null,1103          "badges_granted": [],1104          "version": 1,1105          "can_edit": false,1106          "can_delete": false,1107          "can_recover": false,1108          "can_see_hidden_post": false,1109          "can_wiki": false,1110          "read": true,1111          "user_title": "",1112          "bookmarked": false,1113          "actions_summary": [],1114          "moderator": false,1115          "admin": false,1116          "staff": false,1117          "user_id": 65944,1118          "hidden": false,1119          "trust_level": 1,1120          "deleted_at": null,1121          "user_deleted": false,1122          "edit_reason": null,1123          "can_view_edit_history": true,1124          "wiki": false,1125          "post_url": "/t/merging-3-regression-model-at-certain-ratio/179311/1",1126          "can_accept_answer": false,1127          "can_unaccept_answer": false,1128          "accepted_answer": false,1129          "topic_accepted_answer": null,1130          "can_vote": false1131        },1132        {1133          "id": 400974,1134          "name": "",1135          "username": "ptrblck",1136          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1137          "created_at": "2023-05-07T05:25:20.981Z",1138          "cooked": "<p>I’d you want to keep the models frozen and only train the scaling factors, initialize them as <code>nn.Parameters</code>, pass them to an optimizer, and update them in each iteration.</p>",1139          "post_number": 2,1140          "post_type": 1,1141          "posts_count": 4,1142          "updated_at": "2023-05-07T05:25:20.981Z",1143          "reply_count": 0,1144          "reply_to_post_number": null,1145          "quote_count": 0,1146          "incoming_link_count": 2,1147          "reads": 3,1148          "readers_count": 2,1149          "score": 10.6,1150          "yours": false,1151          "topic_id": 179311,1152          "topic_slug": "merging-3-regression-model-at-certain-ratio",1153          "display_username": "",1154          "primary_group_name": null,1155          "flair_name": null,1156          "flair_url": null,1157          "flair_bg_color": null,1158          "flair_color": null,1159          "flair_group_id": null,1160          "badges_granted": [],1161          "version": 1,1162          "can_edit": false,1163          "can_delete": false,1164          "can_recover": false,1165          "can_see_hidden_post": false,1166          "can_wiki": false,1167          "read": true,1168          "user_title": "",1169          "bookmarked": false,1170          "actions_summary": [],1171          "moderator": true,1172          "admin": true,1173          "staff": true,1174          "user_id": 3534,1175          "hidden": false,1176          "trust_level": 2,1177          "deleted_at": null,1178          "user_deleted": false,1179          "edit_reason": null,1180          "can_view_edit_history": true,1181          "wiki": false,1182          "post_url": "/t/merging-3-regression-model-at-certain-ratio/179311/2",1183          "can_accept_answer": false,1184          "can_unaccept_answer": false,1185          "accepted_answer": false,1186          "topic_accepted_answer": null1187        },1188        {1189          "id": 400983,1190          "name": "",1191          "username": "Abinas",1192          "avatar_template": "/user_avatar/discuss.pytorch.org/abinas/{size}/60272_2.png",1193          "created_at": "2023-05-07T06:14:58.879Z",1194          "cooked": "<p>did you mean like this ?</p>\n<pre><code class=\"lang-auto\">class combined_model(nn.Module):\n    def __init__(self):\n        super(combined_model,self).__init__()\n        self.a = nn.Parameter(torch.tensor(1.0))\n        self.b = nn.Parameter(torch.tensor(1.0))\n        self.c = nn.Parameter(torch.tensor(1.0))\n\n    def forward(self,x1,x2,x3):\n        return self.a*x1+self.b*x2+self.c*x3\n</code></pre>",1195          "post_number": 3,1196          "post_type": 1,1197          "posts_count": 4,1198          "updated_at": "2023-05-07T06:14:58.879Z",1199          "reply_count": 1,1200          "reply_to_post_number": null,

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