CoolFace
Datasetpublic

Anurag1734/cuda-error-resolution-analysis

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes7downloads
topics_batch_294.json67560 linesDownload Raw Back to raw
1[2  {3    "post_stream": {4      "posts": [5        {6          "id": 312726,7          "name": "",8          "username": "Olivier-CR",9          "avatar_template": "/letter_avatar_proxy/v4/letter/o/c5a1d2/{size}.png",10          "created_at": "2021-10-20T20:08:02.474Z",11          "cooked": "<p>Hi,</p>\n<p>I’m trying to launch a train.py DDP script to run over a 4-GPU machine.<br>\ni’m using the launch.py tool described <a href=\"https://github.com/pytorch/examples/blob/master/distributed/ddp/README.md\" rel=\"noopener nofollow ugc\">here</a>, (this experience is quite ugly btw, I which there was a clean PyTorch class to do that!) that is supposed to set local_rank properly in each process: <em>“–local_rank: This is passed in via launch.py”</em> as the documentation says.</p>\n<pre><code class=\"lang-auto\">python /home/ec2-user/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/torch/distributed/launch.py \\\n    --nnode=1 \\\n    --node_rank=0 \\\n    --nproc_per_node=4 \\\n    train.py \\\n    --gpu-count 4 \\\n    --dataset . \\\n    --cache tmp \\\n    --height 604 \\\n    --width 960 \\\n    --checkpoint-dir . \\\n    --batch 10 \\\n    --workers 24 \\\n    --log-freq 20 \\\n    --prefetch 2 \\\n    --bucket $bucket \\\n    --eval-size 10 \\\n    --iterations 20 \\\n    --class-list a2d2_images/camera_lidar_semantic/class_list.json\n</code></pre>\n<p>However, in each of my processes local_rank = -1 (default value). What is wrong? how to get local_ranks each distinct?</p>",12          "post_number": 1,13          "post_type": 1,14          "posts_count": 2,15          "updated_at": "2021-10-20T20:08:02.474Z",16          "reply_count": 0,17          "reply_to_post_number": null,18          "quote_count": 0,19          "incoming_link_count": 37,20          "reads": 8,21          "readers_count": 7,22          "score": 186.6,23          "yours": false,24          "topic_id": 134726,25          "topic_slug": "launch-py-tool-doesnt-set-local-rank-properly",26          "display_username": "",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/pytorch/examples/blob/master/distributed/ddp/README.md",43              "internal": false,44              "reflection": false,45              "title": "examples/README.md at master · pytorch/examples · GitHub",46              "clicks": 247            }48          ],49          "read": true,50          "user_title": null,51          "bookmarked": false,52          "actions_summary": [],53          "moderator": false,54          "admin": false,55          "staff": false,56          "user_id": 49756,57          "hidden": false,58          "trust_level": 2,59          "deleted_at": null,60          "user_deleted": false,61          "edit_reason": null,62          "can_view_edit_history": true,63          "wiki": false,64          "post_url": "/t/launch-py-tool-doesnt-set-local-rank-properly/134726/1",65          "can_accept_answer": false,66          "can_unaccept_answer": false,67          "accepted_answer": false,68          "topic_accepted_answer": null,69          "can_vote": false70        },71        {72          "id": 313437,73          "name": "Can Balioglu",74          "username": "cbalioglu",75          "avatar_template": "/user_avatar/discuss.pytorch.org/cbalioglu/{size}/33187_2.png",76          "created_at": "2021-10-25T16:59:24.829Z",77          "cooked": "<p>cc <a class=\"mention\" href=\"/u/kiuk_chung\">@Kiuk_Chung</a> <a class=\"mention\" href=\"/u/aivanou\">@aivanou</a></p>",78          "post_number": 2,79          "post_type": 1,80          "posts_count": 2,81          "updated_at": "2021-10-25T16:59:24.829Z",82          "reply_count": 0,83          "reply_to_post_number": null,84          "quote_count": 0,85          "incoming_link_count": 3,86          "reads": 7,87          "readers_count": 6,88          "score": 16.4,89          "yours": false,90          "topic_id": 134726,91          "topic_slug": "launch-py-tool-doesnt-set-local-rank-properly",92          "display_username": "Can Balioglu",93          "primary_group_name": null,94          "flair_name": null,95          "flair_url": null,96          "flair_bg_color": null,97          "flair_color": null,98          "flair_group_id": null,99          "badges_granted": [],100          "version": 1,101          "can_edit": false,102          "can_delete": false,103          "can_recover": false,104          "can_see_hidden_post": false,105          "can_wiki": false,106          "read": true,107          "user_title": null,108          "bookmarked": false,109          "actions_summary": [],110          "moderator": false,111          "admin": false,112          "staff": false,113          "user_id": 40834,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/launch-py-tool-doesnt-set-local-rank-properly/134726/2",122          "can_accept_answer": false,123          "can_unaccept_answer": false,124          "accepted_answer": false,125          "topic_accepted_answer": null126        }127      ],128      "stream": [129        312726,130        313437131      ]132    },133    "timeline_lookup": [134      [135        1,136        1466137      ],138      [139        2,140        1461141      ]142    ],143    "suggested_topics": [144      {145        "fancy_title": "Torch Distributed address bindings",146        "id": 219035,147        "title": "Torch Distributed address bindings",148        "slug": "torch-distributed-address-bindings",149        "posts_count": 1,150        "reply_count": 0,151        "highest_post_number": 1,152        "image_url": null,153        "created_at": "2025-04-13T20:56:32.889Z",154        "last_posted_at": "2025-04-13T20:56:32.935Z",155        "bumped": true,156        "bumped_at": "2025-04-13T20:56:32.935Z",157        "archetype": "regular",158        "unseen": false,159        "pinned": false,160        "unpinned": null,161        "visible": true,162        "closed": false,163        "archived": false,164        "bookmarked": null,165        "liked": null,166        "tags_descriptions": {},167        "like_count": 0,168        "views": 45,169        "category_id": 12,170        "featured_link": null,171        "has_accepted_answer": false,172        "posters": [173          {174            "extras": "latest single",175            "description": "Original Poster, Most Recent Poster",176            "user": {177              "id": 83798,178              "username": "Nebulised",179              "name": "",180              "avatar_template": "/letter_avatar_proxy/v4/letter/n/b9e5f3/{size}.png",181              "trust_level": 1182            }183          }184        ]185      },186      {187        "fancy_title": "Torch.distributed.all_reduce causes memory trashing",188        "id": 215024,189        "title": "Torch.distributed.all_reduce causes memory trashing",190        "slug": "torch-distributed-all-reduce-causes-memory-trashing",191        "posts_count": 3,192        "reply_count": 1,193        "highest_post_number": 3,194        "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/5/8/5838d755d5ca5296ddc8137c78a5014be93befef_2_1024x422.jpeg",195        "created_at": "2025-01-06T12:06:07.456Z",196        "last_posted_at": "2025-01-06T17:20:12.781Z",197        "bumped": true,198        "bumped_at": "2025-01-06T17:20:12.781Z",199        "archetype": "regular",200        "unseen": false,201        "pinned": false,202        "unpinned": null,203        "visible": true,204        "closed": false,205        "archived": false,206        "bookmarked": null,207        "liked": null,208        "tags_descriptions": {},209        "like_count": 1,210        "views": 105,211        "category_id": 12,212        "featured_link": null,213        "has_accepted_answer": true,214        "posters": [215          {216            "extras": null,217            "description": "Original Poster, Accepted Answer",218            "user": {219              "id": 81545,220              "username": "SzymonOzog",221              "name": "Szymon Ożóg",222              "avatar_template": "/user_avatar/discuss.pytorch.org/szymonozog/{size}/74552_2.png",223              "trust_level": 1224            }225          },226          {227            "extras": "latest",228            "description": "Most Recent Poster",229            "user": {230              "id": 49515,231              "username": "agu",232              "name": "Andrew Gu",233              "avatar_template": "/user_avatar/discuss.pytorch.org/agu/{size}/49913_2.png",234              "trust_level": 2235            }236          }237        ]238      },239      {240        "fancy_title": "How to use the multiple local network connected NVIDIA GPUs for the image processing",241        "id": 212462,242        "title": "How to use the multiple local network connected NVIDIA GPUs for the image processing",243        "slug": "how-to-use-the-multiple-local-network-connected-nvidia-gpus-for-the-image-processing",244        "posts_count": 1,245        "reply_count": 0,246        "highest_post_number": 1,247        "image_url": null,248        "created_at": "2024-11-03T02:29:44.059Z",249        "last_posted_at": "2024-11-03T02:29:44.100Z",250        "bumped": true,251        "bumped_at": "2024-11-03T02:29:44.100Z",252        "archetype": "regular",253        "unseen": false,254        "pinned": false,255        "unpinned": null,256        "visible": true,257        "closed": false,258        "archived": false,259        "bookmarked": null,260        "liked": null,261        "tags_descriptions": {},262        "like_count": 0,263        "views": 36,264        "category_id": 12,265        "featured_link": null,266        "has_accepted_answer": false,267        "posters": [268          {269            "extras": "latest single",270            "description": "Original Poster, Most Recent Poster",271            "user": {272              "id": 80659,273              "username": "Joseph_Dingess",274              "name": "Joseph Dingess",275              "avatar_template": "/user_avatar/discuss.pytorch.org/joseph_dingess/{size}/73740_2.png",276              "trust_level": 0277            }278          }279        ]280      },281      {282        "fancy_title": "How to create a DistributedSampler based on my own Sampler",283        "id": 215244,284        "title": "How to create a DistributedSampler based on my own Sampler",285        "slug": "how-to-create-a-distributedsampler-based-on-my-own-sampler",286        "posts_count": 3,287        "reply_count": 1,288        "highest_post_number": 4,289        "image_url": null,290        "created_at": "2025-01-11T01:52:41.394Z",291        "last_posted_at": "2025-01-11T07:09:01.838Z",292        "bumped": true,293        "bumped_at": "2025-01-11T07:09:01.838Z",294        "archetype": "regular",295        "unseen": false,296        "pinned": false,297        "unpinned": null,298        "visible": true,299        "closed": false,300        "archived": false,301        "bookmarked": null,302        "liked": null,303        "tags_descriptions": {},304        "like_count": 0,305        "views": 104,306        "category_id": 12,307        "featured_link": null,308        "has_accepted_answer": true,309        "posters": [310          {311            "extras": "latest",312            "description": "Original Poster, Most Recent Poster, Accepted Answer",313            "user": {314              "id": 40053,315              "username": "Boltzmachine",316              "name": "qiuweikang",317              "avatar_template": "/user_avatar/discuss.pytorch.org/boltzmachine/{size}/32323_2.png",318              "trust_level": 1319            }320          },321          {322            "extras": null,323            "description": "Frequent Poster",324            "user": {325              "id": 3534,326              "username": "ptrblck",327              "name": "",328              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",329              "admin": true,330              "moderator": true,331              "trust_level": 2332            }333          }334        ]335      },336      {337        "fancy_title": "NCCL+Torch Distributed Error",338        "id": 220496,339        "title": "NCCL+Torch Distributed Error",340        "slug": "nccl-torch-distributed-error",341        "posts_count": 3,342        "reply_count": 0,343        "highest_post_number": 3,344        "image_url": "https://discuss.pytorch.org/uploads/default/original/3X/b/5/b5031e5b7d661b02c89c465060a356e6a7919cd0.png",345        "created_at": "2025-06-01T12:51:41.560Z",346        "last_posted_at": "2025-06-02T15:50:29.134Z",347        "bumped": true,348        "bumped_at": "2025-06-02T15:50:29.134Z",349        "archetype": "regular",350        "unseen": false,351        "pinned": false,352        "unpinned": null,353        "visible": true,354        "closed": false,355        "archived": false,356        "bookmarked": null,357        "liked": null,358        "tags_descriptions": {},359        "like_count": 1,360        "views": 83,361        "category_id": 12,362        "featured_link": null,363        "has_accepted_answer": false,364        "posters": [365          {366            "extras": null,367            "description": "Original Poster",368            "user": {369              "id": 84539,370              "username": "yuyuanchen848",371              "name": "余渊辰",372              "avatar_template": "/user_avatar/discuss.pytorch.org/yuyuanchen848/{size}/75092_2.png",373              "trust_level": 0374            }375          },376          {377            "extras": null,378            "description": "Frequent Poster",379            "user": {380              "id": 39542,381              "username": "H-Huang",382              "name": "Howard Huang",383              "avatar_template": "/user_avatar/discuss.pytorch.org/h-huang/{size}/35598_2.png",384              "trust_level": 2385            }386          },387          {388            "extras": "latest",389            "description": "Most Recent Poster",390            "user": {391              "id": 3534,392              "username": "ptrblck",393              "name": "",394              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",395              "admin": true,396              "moderator": true,397              "trust_level": 2398            }399          }400        ]401      }402    ],403    "tags_descriptions": {},404    "fancy_title": "Launch.py tool doesn&rsquo;t set local_rank properly",405    "id": 134726,406    "title": "Launch.py tool doesn't set local_rank properly",407    "posts_count": 2,408    "created_at": "2021-10-20T20:08:02.413Z",409    "views": 612,410    "reply_count": 0,411    "like_count": 0,412    "last_posted_at": "2021-10-25T16:59:24.829Z",413    "visible": true,414    "closed": false,415    "archived": false,416    "has_summary": false,417    "archetype": "regular",418    "slug": "launch-py-tool-doesnt-set-local-rank-properly",419    "category_id": 12,420    "word_count": 157,421    "deleted_at": null,422    "user_id": 49756,423    "featured_link": null,424    "pinned_globally": false,425    "pinned_at": null,426    "pinned_until": null,427    "image_url": null,428    "slow_mode_seconds": 0,429    "draft": null,430    "draft_key": "topic_134726",431    "draft_sequence": null,432    "unpinned": null,433    "pinned": false,434    "current_post_number": 1,435    "highest_post_number": 2,436    "deleted_by": null,437    "actions_summary": [438      {439        "id": 4,440        "count": 0,441        "hidden": false,442        "can_act": false443      },444      {445        "id": 8,446        "count": 0,447        "hidden": false,448        "can_act": false449      },450      {451        "id": 10,452        "count": 0,453        "hidden": false,454        "can_act": false455      },456      {457        "id": 7,458        "count": 0,459        "hidden": false,460        "can_act": false461      }462    ],463    "chunk_size": 20,464    "bookmarked": false,465    "topic_timer": null,466    "message_bus_last_id": 0,467    "participant_count": 2,468    "show_read_indicator": false,469    "thumbnails": null,470    "slow_mode_enabled_until": null,471    "can_vote": false,472    "vote_count": 0,473    "user_voted": false,474    "discourse_zendesk_plugin_zendesk_id": null,475    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",476    "details": {477      "can_edit": false,478      "notification_level": 1,479      "participants": [480        {481          "id": 40834,482          "username": "cbalioglu",483          "name": "Can Balioglu",484          "avatar_template": "/user_avatar/discuss.pytorch.org/cbalioglu/{size}/33187_2.png",485          "post_count": 1,486          "primary_group_name": null,487          "flair_name": null,488          "flair_url": null,489          "flair_color": null,490          "flair_bg_color": null,491          "flair_group_id": null,492          "trust_level": 2493        },494        {495          "id": 49756,496          "username": "Olivier-CR",497          "name": "",498          "avatar_template": "/letter_avatar_proxy/v4/letter/o/c5a1d2/{size}.png",499          "post_count": 1,500          "primary_group_name": null,501          "flair_name": null,502          "flair_url": null,503          "flair_color": null,504          "flair_bg_color": null,505          "flair_group_id": null,506          "trust_level": 2507        }508      ],509      "created_by": {510        "id": 49756,511        "username": "Olivier-CR",512        "name": "",513        "avatar_template": "/letter_avatar_proxy/v4/letter/o/c5a1d2/{size}.png"514      },515      "last_poster": {516        "id": 40834,517        "username": "cbalioglu",518        "name": "Can Balioglu",519        "avatar_template": "/user_avatar/discuss.pytorch.org/cbalioglu/{size}/33187_2.png"520      },521      "links": [522        {523          "url": "https://github.com/pytorch/examples/blob/master/distributed/ddp/README.md",524          "title": "examples/README.md at master · pytorch/examples · GitHub",525          "internal": false,526          "attachment": false,527          "reflection": false,528          "clicks": 2,529          "user_id": 49756,530          "domain": "github.com",531          "root_domain": "github.com"532        }533      ]534    },535    "bookmarks": []536  },537  {538    "post_stream": {539      "posts": [540        {541          "id": 313348,542          "name": "tsly123",543          "username": "tsly123",544          "avatar_template": "/user_avatar/discuss.pytorch.org/tsly123/{size}/30231_2.png",545          "created_at": "2021-10-25T03:19:50.274Z",546          "cooked": "<p>Hi everyone,</p>\n<p>I want to fine-tune a pre-trained network with same data as it was trained.<br>\nI need help in setting some element of conv2d layer weight (and bias too) to 0 for each training iteration and others are trained as normal. My goal is to have 0 outputs where set as 0.</p>\n<p>For example, my layer has shape<br>\n<code>conv1.weight.shape # torch.Size([32, 64, 7, 7])</code><br>\nand I have a list of unit that need to be set to 0 <code>zeroed_units = [1, 3, 5, 7, 9]</code><br>\nand I would like it to have the <code>tensor of conv1.weight at index [1, 3, 5, 7, 9] = 0</code>, i.e. <code>torch([32,zeroed_units,7,7] = 0)</code></p>\n<ul>\n<li>I have thought about setting these units 0 and set requires_grad=False. However, according to google, requires_grad only allow for entire tensor layer not part of it.</li>\n<li>Another way is to apply a non-trainable mask buffer of 1’s and set 0 where needed after this conv2d and does not touch the conv2d layer. This method could give me the desired output. However, when training in this way, the conv2d layer weight distribution would have the same distribution as before. The number might change but the distribution is not changed much. I would like to see the effect of different weight’s distribution on the final results when setting units to 0.</li>\n</ul>\n<p>Thank you.</p>",547          "post_number": 1,548          "post_type": 1,549          "posts_count": 2,550          "updated_at": "2021-10-25T03:19:50.274Z",551          "reply_count": 0,552          "reply_to_post_number": null,553          "quote_count": 0,554          "incoming_link_count": 823,555          "reads": 13,556          "readers_count": 12,557          "score": 4112.6,558          "yours": false,559          "topic_id": 135019,560          "topic_slug": "setting-some-elements-of-layer-parameters-to-0-for-each-training-iteration",561          "display_username": "tsly123",562          "primary_group_name": null,563          "flair_name": null,564          "flair_url": null,565          "flair_bg_color": null,566          "flair_color": null,567          "flair_group_id": null,568          "badges_granted": [],569          "version": 1,570          "can_edit": false,571          "can_delete": false,572          "can_recover": false,573          "can_see_hidden_post": false,574          "can_wiki": false,575          "read": true,576          "user_title": null,577          "bookmarked": false,578          "actions_summary": [],579          "moderator": false,580          "admin": false,581          "staff": false,582          "user_id": 20148,583          "hidden": false,584          "trust_level": 1,585          "deleted_at": null,586          "user_deleted": false,587          "edit_reason": null,588          "can_view_edit_history": true,589          "wiki": false,590          "post_url": "/t/setting-some-elements-of-layer-parameters-to-0-for-each-training-iteration/135019/1",591          "can_accept_answer": false,592          "can_unaccept_answer": false,593          "accepted_answer": false,594          "topic_accepted_answer": null,595          "can_vote": false596        },597        {598          "id": 313436,599          "name": "tsly123",600          "username": "tsly123",601          "avatar_template": "/user_avatar/discuss.pytorch.org/tsly123/{size}/30231_2.png",602          "created_at": "2021-10-25T16:38:33.426Z",603          "cooked": "<p>With a bit of luck, I found some answers that are close to what I want to do.</p>\n<p><a href=\"https://discuss.pytorch.org/t/can-detach-work-for-parts-of-the-layer-weights/38064\">Can.detach() work for parts of the layer weights?</a><br>\nand<br>\n<a href=\"https://discuss.pytorch.org/t/update-only-sub-elements-of-weights/29101\">Update only sub-elements of weights</a></p>\n<p>It seems that these are not the optimal solution in terms of saving resources since it uses the gradient mask and sets the gradient to 0 where needed. However, this seems to be the only possible solution for me right now.</p>",604          "post_number": 2,605          "post_type": 1,606          "posts_count": 2,607          "updated_at": "2021-10-25T16:38:33.426Z",608          "reply_count": 0,609          "reply_to_post_number": null,610          "quote_count": 0,611          "incoming_link_count": 7,612          "reads": 10,613          "readers_count": 9,614          "score": 37.0,615          "yours": false,616          "topic_id": 135019,617          "topic_slug": "setting-some-elements-of-layer-parameters-to-0-for-each-training-iteration",618          "display_username": "tsly123",619          "primary_group_name": null,620          "flair_name": null,621          "flair_url": null,622          "flair_bg_color": null,623          "flair_color": null,624          "flair_group_id": null,625          "badges_granted": [],626          "version": 1,627          "can_edit": false,628          "can_delete": false,629          "can_recover": false,630          "can_see_hidden_post": false,631          "can_wiki": false,632          "link_counts": [633            {634              "url": "https://discuss.pytorch.org/t/update-only-sub-elements-of-weights/29101",635              "internal": true,636              "reflection": false,637              "title": "Update only sub-elements of weights",638              "clicks": 89639            },640            {641              "url": "https://discuss.pytorch.org/t/can-detach-work-for-parts-of-the-layer-weights/38064",642              "internal": true,643              "reflection": false,644              "title": "Can.detach() work for parts of the layer weights?",645              "clicks": 52646            }647          ],648          "read": true,649          "user_title": null,650          "bookmarked": false,651          "actions_summary": [],652          "moderator": false,653          "admin": false,654          "staff": false,655          "user_id": 20148,656          "hidden": false,657          "trust_level": 1,658          "deleted_at": null,659          "user_deleted": false,660          "edit_reason": null,661          "can_view_edit_history": true,662          "wiki": false,663          "post_url": "/t/setting-some-elements-of-layer-parameters-to-0-for-each-training-iteration/135019/2",664          "can_accept_answer": false,665          "can_unaccept_answer": false,666          "accepted_answer": false,667          "topic_accepted_answer": null668        }669      ],670      "stream": [671        313348,672        313436673      ]674    },675    "timeline_lookup": [676      [677        1,678        1462679      ],680      [681        2,682        1461683      ]684    ],685    "suggested_topics": [686      {687        "fancy_title": "PyTorch support for NVIDIA RTX 5090",688        "id": 221612,689        "title": "PyTorch support for NVIDIA RTX 5090",690        "slug": "pytorch-support-for-nvidia-rtx-5090",691        "posts_count": 2,692        "reply_count": 0,693        "highest_post_number": 2,694        "image_url": null,695        "created_at": "2025-07-17T17:05:47.439Z",696        "last_posted_at": "2025-07-17T21:06:45.437Z",697        "bumped": true,698        "bumped_at": "2025-07-17T21:06:45.437Z",699        "archetype": "regular",700        "unseen": false,701        "pinned": false,702        "unpinned": null,703        "visible": true,704        "closed": false,705        "archived": false,706        "bookmarked": null,707        "liked": null,708        "tags_descriptions": {},709        "like_count": 2,710        "views": 601,711        "category_id": 5,712        "featured_link": null,713        "has_accepted_answer": false,714        "posters": [715          {716            "extras": null,717            "description": "Original Poster",718            "user": {719              "id": 85130,720              "username": "prashant_mittal",721              "name": "prashant mittal",722              "avatar_template": "/user_avatar/discuss.pytorch.org/prashant_mittal/{size}/77710_2.png",723              "trust_level": 1724            }725          },726          {727            "extras": "latest",728            "description": "Most Recent Poster",729            "user": {730              "id": 3534,731              "username": "ptrblck",732              "name": "",733              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",734              "admin": true,735              "moderator": true,736              "trust_level": 2737            }738          }739        ]740      },741      {742        "fancy_title": "Adding an LSTM to a trained CNN ResNet during fine-tuning",743        "id": 222256,744        "title": "Adding an LSTM to a trained CNN ResNet during fine-tuning",745        "slug": "adding-an-lstm-to-a-trained-cnn-resnet-during-fine-tuning",746        "posts_count": 1,747        "reply_count": 0,748        "highest_post_number": 1,749        "image_url": null,750        "created_at": "2025-08-11T15:29:18.603Z",751        "last_posted_at": "2025-08-11T15:29:18.662Z",752        "bumped": true,753        "bumped_at": "2025-08-11T15:29:18.662Z",754        "archetype": "regular",755        "unseen": false,756        "pinned": false,757        "unpinned": null,758        "visible": true,759        "closed": false,760        "archived": false,761        "bookmarked": null,762        "liked": null,763        "tags_descriptions": {},764        "like_count": 0,765        "views": 29,766        "category_id": 5,767        "featured_link": null,768        "has_accepted_answer": false,769        "posters": [770          {771            "extras": "latest single",772            "description": "Original Poster, Most Recent Poster",773            "user": {774              "id": 85452,775              "username": "catb",776              "name": "catb",777              "avatar_template": "/letter_avatar_proxy/v4/letter/c/f14d63/{size}.png",778              "trust_level": 0779            }780          }781        ]782      },783      {784        "fancy_title": "Need Help Troubleshooting Stack-GAN Implementation",785        "id": 215321,786        "title": "Need Help Troubleshooting Stack-GAN Implementation",787        "slug": "need-help-troubleshooting-stack-gan-implementation",788        "posts_count": 1,789        "reply_count": 0,790        "highest_post_number": 1,791        "image_url": null,792        "created_at": "2025-01-13T11:01:25.355Z",793        "last_posted_at": "2025-01-13T11:01:25.392Z",794        "bumped": true,795        "bumped_at": "2025-01-13T11:01:25.392Z",796        "archetype": "regular",797        "unseen": false,798        "pinned": false,799        "unpinned": null,800        "visible": true,801        "closed": false,802        "archived": false,803        "bookmarked": null,804        "liked": null,805        "tags_descriptions": {},806        "like_count": 0,807        "views": 56,808        "category_id": 5,809        "featured_link": null,810        "has_accepted_answer": false,811        "posters": [812          {813            "extras": "latest single",814            "description": "Original Poster, Most Recent Poster",815            "user": {816              "id": 81296,817              "username": "Srijan_Kundu",818              "name": "Srijan Kundu",819              "avatar_template": "/letter_avatar_proxy/v4/letter/s/8e7dd6/{size}.png",820              "trust_level": 1821            }822          }823        ]824      },825      {826        "fancy_title": "How to implement pytorchvideo from input as images",827        "id": 215938,828        "title": "How to implement pytorchvideo from input as images",829        "slug": "how-to-implement-pytorchvideo-from-input-as-images",830        "posts_count": 1,831        "reply_count": 0,832        "highest_post_number": 1,833        "image_url": null,834        "created_at": "2025-01-27T14:58:17.998Z",835        "last_posted_at": "2025-01-27T14:58:18.042Z",836        "bumped": true,837        "bumped_at": "2025-01-27T15:02:57.679Z",838        "archetype": "regular",839        "unseen": false,840        "pinned": false,841        "unpinned": null,842        "visible": true,843        "closed": false,844        "archived": false,845        "bookmarked": null,846        "liked": null,847        "tags_descriptions": {},848        "like_count": 0,849        "views": 56,850        "category_id": 5,851        "featured_link": null,852        "has_accepted_answer": false,853        "posters": [854          {855            "extras": "latest single",856            "description": "Original Poster, Most Recent Poster",857            "user": {858              "id": 82344,859              "username": "trungnb34",860              "name": "",861              "avatar_template": "/letter_avatar_proxy/v4/letter/t/ecb155/{size}.png",862              "trust_level": 0863            }864          }865        ]866      },867      {868        "fancy_title": "Make Image Classification faster",869        "id": 222375,870        "title": "Make Image Classification faster",871        "slug": "make-image-classification-faster",872        "posts_count": 2,873        "reply_count": 0,874        "highest_post_number": 2,875        "image_url": null,876        "created_at": "2025-08-15T10:08:24.171Z",877        "last_posted_at": "2025-08-15T14:26:06.821Z",878        "bumped": true,879        "bumped_at": "2025-08-15T14:26:06.821Z",880        "archetype": "regular",881        "unseen": false,882        "pinned": false,883        "unpinned": null,884        "visible": true,885        "closed": false,886        "archived": false,887        "bookmarked": null,888        "liked": null,889        "tags_descriptions": {},890        "like_count": 0,891        "views": 31,892        "category_id": 5,893        "featured_link": null,894        "has_accepted_answer": false,895        "posters": [896          {897            "extras": null,898            "description": "Original Poster",899            "user": {900              "id": 85510,901              "username": "david_pom",902              "name": "",903              "avatar_template": "/user_avatar/discuss.pytorch.org/david_pom/{size}/75290_2.png",904              "trust_level": 0905            }906          },907          {908            "extras": "latest",909            "description": "Most Recent Poster",910            "user": {911              "id": 3534,912              "username": "ptrblck",913              "name": "",914              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",915              "admin": true,916              "moderator": true,917              "trust_level": 2918            }919          }920        ]921      }922    ],923    "tags_descriptions": {},924    "fancy_title": "Setting some elements of layer parameters to 0 for each training iteration",925    "id": 135019,926    "title": "Setting some elements of layer parameters to 0 for each training iteration",927    "posts_count": 2,928    "created_at": "2021-10-25T03:19:50.196Z",929    "views": 1395,930    "reply_count": 0,931    "like_count": 0,932    "last_posted_at": "2021-10-25T16:38:33.426Z",933    "visible": true,934    "closed": false,935    "archived": false,936    "has_summary": false,937    "archetype": "regular",938    "slug": "setting-some-elements-of-layer-parameters-to-0-for-each-training-iteration",939    "category_id": 5,940    "word_count": 335,941    "deleted_at": null,942    "user_id": 20148,943    "featured_link": null,944    "pinned_globally": false,945    "pinned_at": null,946    "pinned_until": null,947    "image_url": null,948    "slow_mode_seconds": 0,949    "draft": null,950    "draft_key": "topic_135019",951    "draft_sequence": null,952    "unpinned": null,953    "pinned": false,954    "current_post_number": 1,955    "highest_post_number": 2,956    "deleted_by": null,957    "actions_summary": [958      {959        "id": 4,960        "count": 0,961        "hidden": false,962        "can_act": false963      },964      {965        "id": 8,966        "count": 0,967        "hidden": false,968        "can_act": false969      },970      {971        "id": 10,972        "count": 0,973        "hidden": false,974        "can_act": false975      },976      {977        "id": 7,978        "count": 0,979        "hidden": false,980        "can_act": false981      }982    ],983    "chunk_size": 20,984    "bookmarked": false,985    "topic_timer": null,986    "message_bus_last_id": 0,987    "participant_count": 1,988    "show_read_indicator": false,989    "thumbnails": null,990    "slow_mode_enabled_until": null,991    "can_vote": false,992    "vote_count": 0,993    "user_voted": false,994    "discourse_zendesk_plugin_zendesk_id": null,995    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",996    "details": {997      "can_edit": false,998      "notification_level": 1,999      "participants": [1000        {1001          "id": 20148,1002          "username": "tsly123",1003          "name": "tsly123",1004          "avatar_template": "/user_avatar/discuss.pytorch.org/tsly123/{size}/30231_2.png",1005          "post_count": 2,1006          "primary_group_name": null,1007          "flair_name": null,1008          "flair_url": null,1009          "flair_color": null,1010          "flair_bg_color": null,1011          "flair_group_id": null,1012          "trust_level": 11013        }1014      ],1015      "created_by": {1016        "id": 20148,1017        "username": "tsly123",1018        "name": "tsly123",1019        "avatar_template": "/user_avatar/discuss.pytorch.org/tsly123/{size}/30231_2.png"1020      },1021      "last_poster": {1022        "id": 20148,1023        "username": "tsly123",1024        "name": "tsly123",1025        "avatar_template": "/user_avatar/discuss.pytorch.org/tsly123/{size}/30231_2.png"1026      },1027      "links": [1028        {1029          "url": "https://discuss.pytorch.org/t/update-only-sub-elements-of-weights/29101",1030          "title": "Update only sub-elements of weights",1031          "internal": true,1032          "attachment": false,1033          "reflection": false,1034          "clicks": 89,1035          "user_id": 20148,1036          "domain": "discuss.pytorch.org",1037          "root_domain": "pytorch.org"1038        },1039        {1040          "url": "https://discuss.pytorch.org/t/can-detach-work-for-parts-of-the-layer-weights/38064",1041          "title": "Can.detach() work for parts of the layer weights?",1042          "internal": true,1043          "attachment": false,1044          "reflection": false,1045          "clicks": 52,1046          "user_id": 20148,1047          "domain": "discuss.pytorch.org",1048          "root_domain": "pytorch.org"1049        }1050      ]1051    },1052    "bookmarks": []1053  },1054  {1055    "post_stream": {1056      "posts": [1057        {1058          "id": 311661,1059          "name": "",1060          "username": "zfzhang",1061          "avatar_template": "/letter_avatar_proxy/v4/letter/z/ecc23a/{size}.png",1062          "created_at": "2021-10-14T14:38:33.466Z",1063          "cooked": "<p>For example,<br>\ntensors <strong>A</strong> &amp; <strong>B</strong> are of the same shape, <strong>m</strong> is a 0-1 tensor mask of the same shape,<br>\nI want <code>C = A * m + B * (1-m)</code>, but implemented efficiently in low-level C++ code.</p>\n<p>Thank you!</p>",1064          "post_number": 1,1065          "post_type": 1,1066          "posts_count": 10,1067          "updated_at": "2021-10-14T14:38:33.466Z",1068          "reply_count": 0,1069          "reply_to_post_number": null,1070          "quote_count": 0,1071          "incoming_link_count": 683,1072          "reads": 26,1073          "readers_count": 25,1074          "score": 3415.2,1075          "yours": false,1076          "topic_id": 134237,1077          "topic_slug": "is-there-a-pytorch-low-level-function-to-efficiently-combine-two-tensors-using-a-0-1-mask",1078          "display_username": "",1079          "primary_group_name": null,1080          "flair_name": null,1081          "flair_url": null,1082          "flair_bg_color": null,1083          "flair_color": null,1084          "flair_group_id": null,1085          "badges_granted": [],1086          "version": 1,1087          "can_edit": false,1088          "can_delete": false,1089          "can_recover": false,1090          "can_see_hidden_post": false,1091          "can_wiki": false,1092          "read": true,1093          "user_title": "",1094          "bookmarked": false,1095          "actions_summary": [],1096          "moderator": false,1097          "admin": false,1098          "staff": false,1099          "user_id": 17236,1100          "hidden": false,1101          "trust_level": 2,1102          "deleted_at": null,1103          "user_deleted": false,1104          "edit_reason": null,1105          "can_view_edit_history": true,1106          "wiki": false,1107          "post_url": "/t/is-there-a-pytorch-low-level-function-to-efficiently-combine-two-tensors-using-a-0-1-mask/134237/1",1108          "can_accept_answer": false,1109          "can_unaccept_answer": false,1110          "accepted_answer": false,1111          "topic_accepted_answer": true,1112          "can_vote": false1113        },1114        {1115          "id": 311667,1116          "name": "Oriel Banne",1117          "username": "OrielBanne",1118          "avatar_template": "/user_avatar/discuss.pytorch.org/orielbanne/{size}/23185_2.png",1119          "created_at": "2021-10-14T14:52:05.123Z",1120          "cooked": "<p>it should work the way you wrote it given sizes are the same</p>",1121          "post_number": 2,1122          "post_type": 1,1123          "posts_count": 10,1124          "updated_at": "2021-10-14T14:52:05.123Z",1125          "reply_count": 1,1126          "reply_to_post_number": null,1127          "quote_count": 0,1128          "incoming_link_count": 2,1129          "reads": 26,1130          "readers_count": 25,1131          "score": 20.2,1132          "yours": false,1133          "topic_id": 134237,1134          "topic_slug": "is-there-a-pytorch-low-level-function-to-efficiently-combine-two-tensors-using-a-0-1-mask",1135          "display_username": "Oriel Banne",1136          "primary_group_name": null,1137          "flair_name": null,1138          "flair_url": null,1139          "flair_bg_color": null,1140          "flair_color": null,1141          "flair_group_id": null,1142          "badges_granted": [],1143          "version": 1,1144          "can_edit": false,1145          "can_delete": false,1146          "can_recover": false,1147          "can_see_hidden_post": false,1148          "can_wiki": false,1149          "read": true,1150          "user_title": null,1151          "bookmarked": false,1152          "actions_summary": [],1153          "moderator": false,1154          "admin": false,1155          "staff": false,1156          "user_id": 30467,1157          "hidden": false,1158          "trust_level": 2,1159          "deleted_at": null,1160          "user_deleted": false,1161          "edit_reason": null,1162          "can_view_edit_history": true,1163          "wiki": false,1164          "post_url": "/t/is-there-a-pytorch-low-level-function-to-efficiently-combine-two-tensors-using-a-0-1-mask/134237/2",1165          "can_accept_answer": false,1166          "can_unaccept_answer": false,1167          "accepted_answer": false,1168          "topic_accepted_answer": true1169        },1170        {1171          "id": 313234,1172          "name": "",1173          "username": "zfzhang",1174          "avatar_template": "/letter_avatar_proxy/v4/letter/z/ecc23a/{size}.png",1175          "created_at": "2021-10-24T04:15:40.487Z",1176          "cooked": "<p>Thanks! I’m looking for a faster low-level operation.</p>",1177          "post_number": 3,1178          "post_type": 1,1179          "posts_count": 10,1180          "updated_at": "2021-10-24T04:15:40.487Z",1181          "reply_count": 0,1182          "reply_to_post_number": 2,1183          "quote_count": 0,1184          "incoming_link_count": 8,1185          "reads": 23,1186          "readers_count": 22,1187          "score": 44.6,1188          "yours": false,1189          "topic_id": 134237,1190          "topic_slug": "is-there-a-pytorch-low-level-function-to-efficiently-combine-two-tensors-using-a-0-1-mask",1191          "display_username": "",1192          "primary_group_name": null,1193          "flair_name": null,1194          "flair_url": null,1195          "flair_bg_color": null,1196          "flair_color": null,1197          "flair_group_id": null,1198          "badges_granted": [],1199          "version": 1,1200          "can_edit": false,

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