Anurag1734/cuda-error-resolution-analysis
07
1[2 {3 "post_stream": {4 "posts": [5 {6 "id": 117462,7 "name": "Shlomo",8 "username": "dambo",9 "avatar_template": "/user_avatar/discuss.pytorch.org/dambo/{size}/29088_2.png",10 "created_at": "2019-06-17T14:11:32.446Z",11 "cooked": "<p>Hello,<br>\nBeing one of the early adopters and advocated of PyTorch, I have the strange feeling that Libtorch is, to some extent neglected. This is evident in the level of activity and chatter in the C++ sub-forum.<br>\nI find that it is very hard to get answers to the simplest questions, such as: how to work in <strong>batches</strong> during <strong>inference</strong> / and or <strong>training</strong> for <strong>ImageNet</strong> like datasets? How to utilise <strong>multiple</strong> GPU’s during training and <strong>inference</strong> of traced modules? Where can I find an example for loading an <strong>ImageNet</strong> like dataset NOT Mnist? and much more.</p>\n<p>All these are trivial in PyTorch/ Python and seem almost impossible in Libtorch.</p>\n<p>References to my questions:</p><aside class=\"quote\" data-post=\"1\" data-topic=\"48125\">\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/dambo/48/29088_2.png\" class=\"avatar\">\n <a href=\"https://discuss.pytorch.org/t/automatic-parallelization-of-models-onto-multiple-gpus/48125\">\"Automatic parallelization of models onto multiple GPUs\"</a> <a class=\"badge-category__wrapper \" href=\"/c/c/11\"><span data-category-id=\"11\" data-drop-close=\"true\" class=\"badge-category \" title=\"Topics related to the C++ Frontend, C++ API or C++ Extensions\"><span class=\"badge-category__name\">C++</span></span></a>\n </div>\n <blockquote>\n Hello, \nI have a traced model which i use in C++. \nThe documentation clearly states: “Automatic parallelization of models onto multiple GPUs like torch.nn.parallel.DataParallel”. \nHowever I do not see this happening on a multi-gpu device. How do i explicitly force the auto module = torch::jit::load(s_model_name, torch::kCUDA); module to be defined like it would be in pure PyTorch? \nThanks.\n </blockquote>\n</aside>\n\n<aside class=\"quote quote-modified\" data-post=\"1\" data-topic=\"48039\">\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/dambo/48/29088_2.png\" class=\"avatar\">\n <a href=\"https://discuss.pytorch.org/t/batch-as-input-to-module-forward-inputs-totensor/48039\">Batch as input to module->forward({inputs}).toTensor()</a> <a class=\"badge-category__wrapper \" href=\"/c/c/11\"><span data-category-id=\"11\" data-drop-close=\"true\" class=\"badge-category \" title=\"Topics related to the C++ Frontend, C++ API or C++ Extensions\"><span class=\"badge-category__name\">C++</span></span></a>\n </div>\n <blockquote>\n Hello, \nI am trying to work in batches while reading frames using CV2 from a video like so. I first read 8 frames, batch them into std::vector<torch::jit::IValue> and then run them through module->forward({inputs}).toTensor();. However, if the batch size is larger than 1, it crashes. I guess there is some reshaping involved to add the batch dimension I am just not sure how to do it in C++. \n int batch_size =1;\n int b_counter=0;\n\n std::vector<torch::jit::IValue> inputs; //Accumulates the…\n </blockquote>\n</aside>\n\n<aside class=\"quote quote-modified\" data-post=\"3\" data-topic=\"34221\">\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/dambo/48/29088_2.png\" class=\"avatar\">\n <a href=\"https://discuss.pytorch.org/t/libtorch-how-to-use-torch-datasets-for-custom-dataset/34221/3\">(libtorch) How to use torch::data::datasets for custom dataset?</a> <a class=\"badge-category__wrapper \" href=\"/c/c/11\"><span data-category-id=\"11\" data-drop-close=\"true\" class=\"badge-category \" title=\"Topics related to the C++ Frontend, C++ API or C++ Extensions\"><span class=\"badge-category__name\">C++</span></span></a>\n </div>\n <blockquote>\n Hello, \nWere you able to come up with a working example that mimics that of the PyTorch-based dataset for reading images? \nclass GenericDataset(torch.utils.data.Dataset):\n def __init__(self, labels, root_dir, subset=False, transform=None):\n self.labels = labels\n self.root_dir = root_dir\n self.transform = transform\n\n def __len__(self):\n return len(self.labels)\n\n def __getitem__(self, idx):\n img_name = self.labels.iloc[idx, 0] # file name\n fullname = join(self.root_dir, img_n…\n </blockquote>\n</aside>\n\n<p>Is there a formal policy that allocates more resources to PyTorch related questions rather than Libtorch? If not, what is the explanation for the lack of documentation and infrequent answers in the forums?</p>\n<p>Many thanks,</p>",12 "post_number": 1,13 "post_type": 1,14 "posts_count": 11,15 "updated_at": "2019-06-17T14:15:00.136Z",16 "reply_count": 0,17 "reply_to_post_number": null,18 "quote_count": 0,19 "incoming_link_count": 238,20 "reads": 114,21 "readers_count": 113,22 "score": 1229.8,23 "yours": false,24 "topic_id": 48153,25 "topic_slug": "message-to-admins",26 "display_username": "Shlomo",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 "link_counts": [41 {42 "url": "https://discuss.pytorch.org/t/libtorch-how-to-use-torch-datasets-for-custom-dataset/34221/3",43 "internal": true,44 "reflection": false,45 "title": "(libtorch) How to use torch::data::datasets for custom dataset?",46 "clicks": 047 },48 {49 "url": "https://discuss.pytorch.org/t/batch-as-input-to-module-forward-inputs-totensor/48039",50 "internal": true,51 "reflection": false,52 "title": "Batch as input to module->forward({inputs}).toTensor()",53 "clicks": 054 },55 {56 "url": "https://discuss.pytorch.org/t/automatic-parallelization-of-models-onto-multiple-gpus/48125",57 "internal": true,58 "reflection": false,59 "title": "\"Automatic parallelization of models onto multiple GPUs\"",60 "clicks": 061 },62 {63 "url": "https://discuss.pytorch.org/t/caffe2-vs-libtorch-realistically/50526/2",64 "internal": true,65 "reflection": true,66 "title": "Caffe2 vs libtorch, realistically",67 "clicks": 068 }69 ],70 "read": true,71 "user_title": "",72 "bookmarked": false,73 "actions_summary": [74 {75 "id": 2,76 "count": 177 }78 ],79 "moderator": false,80 "admin": false,81 "staff": false,82 "user_id": 9368,83 "hidden": false,84 "trust_level": 2,85 "deleted_at": null,86 "user_deleted": false,87 "edit_reason": null,88 "can_view_edit_history": true,89 "wiki": false,90 "post_url": "/t/message-to-admins/48153/1",91 "can_accept_answer": false,92 "can_unaccept_answer": false,93 "accepted_answer": false,94 "topic_accepted_answer": null,95 "can_vote": false96 },97 {98 "id": 117488,99 "name": "Alban D",100 "username": "albanD",101 "avatar_template": "/user_avatar/discuss.pytorch.org/alband/{size}/215_2.png",102 "created_at": "2019-06-17T15:44:42.722Z",103 "cooked": "<p>Hi,</p>\n<p>I think the simple answer is that almost all people answering questions are doing it in their free time and answer mostly the questions they are comfortable with. And I don’t think any of the very active people here actually use libtorch.<br>\nAt least this is the reason why I don’t usually answer such question unless it is one of the few things i touched in libtorch.</p>\n<p>Maybe <a class=\"mention\" href=\"/u/smth\">@smth</a> can give a higher level answer on this? But the day to day answer I’m sure is the one above.</p>",104 "post_number": 2,105 "post_type": 1,106 "posts_count": 11,107 "updated_at": "2019-06-17T15:44:42.722Z",108 "reply_count": 0,109 "reply_to_post_number": null,110 "quote_count": 0,111 "incoming_link_count": 4,112 "reads": 104,113 "readers_count": 103,114 "score": 55.8,115 "yours": false,116 "topic_id": 48153,117 "topic_slug": "message-to-admins",118 "display_username": "Alban D",119 "primary_group_name": null,120 "flair_name": null,121 "flair_url": null,122 "flair_bg_color": null,123 "flair_color": null,124 "flair_group_id": null,125 "badges_granted": [],126 "version": 1,127 "can_edit": false,128 "can_delete": false,129 "can_recover": false,130 "can_see_hidden_post": false,131 "can_wiki": false,132 "read": true,133 "user_title": "",134 "bookmarked": false,135 "actions_summary": [136 {137 "id": 2,138 "count": 1139 }140 ],141 "moderator": true,142 "admin": true,143 "staff": true,144 "user_id": 211,145 "hidden": false,146 "trust_level": 4,147 "deleted_at": null,148 "user_deleted": false,149 "edit_reason": null,150 "can_view_edit_history": true,151 "wiki": false,152 "post_url": "/t/message-to-admins/48153/2",153 "can_accept_answer": false,154 "can_unaccept_answer": false,155 "accepted_answer": false,156 "topic_accepted_answer": null157 },158 {159 "id": 117618,160 "name": "Shlomo",161 "username": "dambo",162 "avatar_template": "/user_avatar/discuss.pytorch.org/dambo/{size}/29088_2.png",163 "created_at": "2019-06-18T07:23:09.822Z",164 "cooked": "<p>Sure, this makes a lot of sense, however the severe lack of documentation and examples make it very hard to progress with projects based on C++. For instance, the lack of an example for such a basic flow, to load a batch of images using an imagenet style dataloader (or without) during inference and then processing the tensors that are returned.</p>\n<p>BR</p>",165 "post_number": 3,166 "post_type": 1,167 "posts_count": 11,168 "updated_at": "2019-06-18T07:23:09.822Z",169 "reply_count": 0,170 "reply_to_post_number": null,171 "quote_count": 0,172 "incoming_link_count": 5,173 "reads": 98,174 "readers_count": 97,175 "score": 74.6,176 "yours": false,177 "topic_id": 48153,178 "topic_slug": "message-to-admins",179 "display_username": "Shlomo",180 "primary_group_name": null,181 "flair_name": null,182 "flair_url": null,183 "flair_bg_color": null,184 "flair_color": null,185 "flair_group_id": null,186 "badges_granted": [],187 "version": 1,188 "can_edit": false,189 "can_delete": false,190 "can_recover": false,191 "can_see_hidden_post": false,192 "can_wiki": false,193 "read": true,194 "user_title": "",195 "bookmarked": false,196 "actions_summary": [197 {198 "id": 2,199 "count": 2200 }201 ],202 "moderator": false,203 "admin": false,204 "staff": false,205 "user_id": 9368,206 "hidden": false,207 "trust_level": 2,208 "deleted_at": null,209 "user_deleted": false,210 "edit_reason": null,211 "can_view_edit_history": true,212 "wiki": false,213 "post_url": "/t/message-to-admins/48153/3",214 "can_accept_answer": false,215 "can_unaccept_answer": false,216 "accepted_answer": false,217 "topic_accepted_answer": null218 },219 {220 "id": 118120,221 "name": "",222 "username": "gchanan",223 "avatar_template": "/letter_avatar_proxy/v4/letter/g/e5b9ba/{size}.png",224 "created_at": "2019-06-19T23:26:20.865Z",225 "cooked": "<p><a class=\"mention\" href=\"/u/dambo\">@dambo</a>:</p>\n<p>Thanks for bringing up this issue. I think your characterization that LibTorch is neglected, at least in comparison to areas like the Python Frontend and TorchScript, is very fair. We certainly don’t have a policy that allocates more resources to some questions over others; as <a class=\"mention\" href=\"/u/alband\">@albanD</a> suggests, we rely on the expertise of the community and our internal developers in order to answer questions, and that naturally (but unfortunately) skews away from LibTorch currently.</p>\n<p>Let me talk about our current investment in LibTorch / C++ API and what we plan to change. By far our largest current investment in this area is with the Variable/Tensor merge in C++ – you may have seen <a href=\"https://github.com/pytorch/pytorch/pull/17072\" rel=\"nofollow noopener\">https://github.com/pytorch/pytorch/pull/17072</a>, for example. We decided to invest in this way because: 1) it was the largest complaint we heard about the C++ API, particularly from our internal power users, 2) it unblocks performance gains that will affect all of PyTorch (python, C++, JIT). However, this has unfortunately crowded out other investments in LibTorch/ C++, as you noted.</p>\n<p>Our plan to remedy this is two-fold:</p>\n<ol>\n<li>The Variable/Tensor merge project is a one-time cost, so we will be able to naturally shift attention to LibTorch / C++ more generally once it is complete (should be soon).</li>\n<li>We are also ramping up more people on LibTorch / C++ internally, so we can provide better and broader coverage of issues.</li>\n</ol>\n<p>Again, thanks for bringing this up, and hopefully this gives you some insight into our process and investments in this area.</p>",226 "post_number": 4,227 "post_type": 1,228 "posts_count": 11,229 "updated_at": "2019-06-19T23:26:20.865Z",230 "reply_count": 1,231 "reply_to_post_number": null,232 "quote_count": 0,233 "incoming_link_count": 9,234 "reads": 93,235 "readers_count": 92,236 "score": 68.6,237 "yours": false,238 "topic_id": 48153,239 "topic_slug": "message-to-admins",240 "display_username": "",241 "primary_group_name": null,242 "flair_name": null,243 "flair_url": null,244 "flair_bg_color": null,245 "flair_color": null,246 "flair_group_id": null,247 "badges_granted": [],248 "version": 1,249 "can_edit": false,250 "can_delete": false,251 "can_recover": false,252 "can_see_hidden_post": false,253 "can_wiki": false,254 "link_counts": [255 {256 "url": "https://github.com/pytorch/pytorch/pull/17072",257 "internal": false,258 "reflection": false,259 "clicks": 14260 }261 ],262 "read": true,263 "user_title": null,264 "bookmarked": false,265 "actions_summary": [],266 "moderator": false,267 "admin": false,268 "staff": false,269 "user_id": 1241,270 "hidden": false,271 "trust_level": 1,272 "deleted_at": null,273 "user_deleted": false,274 "edit_reason": null,275 "can_view_edit_history": true,276 "wiki": false,277 "post_url": "/t/message-to-admins/48153/4",278 "can_accept_answer": false,279 "can_unaccept_answer": false,280 "accepted_answer": false,281 "topic_accepted_answer": null282 },283 {284 "id": 118921,285 "name": "Martin Huber",286 "username": "mhubii",287 "avatar_template": "/user_avatar/discuss.pytorch.org/mhubii/{size}/71033_2.png",288 "created_at": "2019-06-23T15:06:36.634Z",289 "cooked": "<p>Hi <a class=\"mention\" href=\"/u/dambo\">@dambo</a>,</p>\n<p>I just answered your second question, on how to forward batches.</p>\n<p>Concerning your third questoin, you can find an example of a custom dataset <a href=\"https://discuss.pytorch.org/t/libtorch-how-to-use-torch-datasets-for-custom-dataset/34221/2\">here</a> and I will try to include an explanation for how to load images with OpenCV.</p>\n<p>Cheers</p>\n<p>Martin</p>",290 "post_number": 5,291 "post_type": 1,292 "posts_count": 11,293 "updated_at": "2019-06-23T15:38:21.456Z",294 "reply_count": 0,295 "reply_to_post_number": 4,296 "quote_count": 0,297 "incoming_link_count": 4,298 "reads": 83,299 "readers_count": 82,300 "score": 36.6,301 "yours": false,302 "topic_id": 48153,303 "topic_slug": "message-to-admins",304 "display_username": "Martin Huber",305 "primary_group_name": null,306 "flair_name": null,307 "flair_url": null,308 "flair_bg_color": null,309 "flair_color": null,310 "flair_group_id": null,311 "badges_granted": [],312 "version": 2,313 "can_edit": false,314 "can_delete": false,315 "can_recover": false,316 "can_see_hidden_post": false,317 "can_wiki": false,318 "link_counts": [319 {320 "url": "https://discuss.pytorch.org/t/libtorch-how-to-use-torch-datasets-for-custom-dataset/34221/2",321 "internal": true,322 "reflection": false,323 "title": "(libtorch) How to use torch::data::datasets for custom dataset?",324 "clicks": 9325 }326 ],327 "read": true,328 "user_title": null,329 "reply_to_user": {330 "id": 1241,331 "username": "gchanan",332 "name": "",333 "avatar_template": "/letter_avatar_proxy/v4/letter/g/e5b9ba/{size}.png"334 },335 "bookmarked": false,336 "actions_summary": [],337 "moderator": false,338 "admin": false,339 "staff": false,340 "user_id": 12040,341 "hidden": false,342 "trust_level": 2,343 "deleted_at": null,344 "user_deleted": false,345 "edit_reason": null,346 "can_view_edit_history": true,347 "wiki": false,348 "post_url": "/t/message-to-admins/48153/5",349 "can_accept_answer": false,350 "can_unaccept_answer": false,351 "accepted_answer": false,352 "topic_accepted_answer": null353 },354 {355 "id": 119048,356 "name": "Carsten Ditzel",357 "username": "Carsten_Ditzel",358 "avatar_template": "/user_avatar/discuss.pytorch.org/carsten_ditzel/{size}/8251_2.png",359 "created_at": "2019-06-24T07:39:58.192Z",360 "cooked": "<p>I believe things went a little bit down hill since Peter Goldsborough went off boat…</p>",361 "post_number": 6,362 "post_type": 1,363 "posts_count": 11,364 "updated_at": "2019-06-24T07:39:58.192Z",365 "reply_count": 1,366 "reply_to_post_number": null,367 "quote_count": 0,368 "incoming_link_count": 2,369 "reads": 73,370 "readers_count": 72,371 "score": 29.6,372 "yours": false,373 "topic_id": 48153,374 "topic_slug": "message-to-admins",375 "display_username": "Carsten Ditzel",376 "primary_group_name": null,377 "flair_name": null,378 "flair_url": null,379 "flair_bg_color": null,380 "flair_color": null,381 "flair_group_id": null,382 "badges_granted": [],383 "version": 1,384 "can_edit": false,385 "can_delete": false,386 "can_recover": false,387 "can_see_hidden_post": false,388 "can_wiki": false,389 "read": true,390 "user_title": null,391 "bookmarked": false,392 "actions_summary": [],393 "moderator": false,394 "admin": false,395 "staff": false,396 "user_id": 14060,397 "hidden": false,398 "trust_level": 2,399 "deleted_at": null,400 "user_deleted": false,401 "edit_reason": null,402 "can_view_edit_history": true,403 "wiki": false,404 "post_url": "/t/message-to-admins/48153/6",405 "can_accept_answer": false,406 "can_unaccept_answer": false,407 "accepted_answer": false,408 "topic_accepted_answer": null409 },410 {411 "id": 119085,412 "name": "Martin Huber",413 "username": "mhubii",414 "avatar_template": "/user_avatar/discuss.pytorch.org/mhubii/{size}/71033_2.png",415 "created_at": "2019-06-24T09:46:37.558Z",416 "cooked": "<p>where did he go to <a class=\"mention\" href=\"/u/carsten_ditzel\">@Carsten_Ditzel</a> ?</p>\n<p>now <a href=\"https://github.com/mhubii/libtorch_custom_dataset.git\" rel=\"nofollow noopener\">here</a> is a little classifier that classifies apples and bananas with a custom data loader. I will polish the readme soon so people will know how to use it.</p>",417 "post_number": 7,418 "post_type": 1,419 "posts_count": 11,420 "updated_at": "2019-06-24T09:50:47.135Z",421 "reply_count": 2,422 "reply_to_post_number": 6,423 "quote_count": 0,424 "incoming_link_count": 3,425 "reads": 70,426 "readers_count": 69,427 "score": 54.0,428 "yours": false,429 "topic_id": 48153,430 "topic_slug": "message-to-admins",431 "display_username": "Martin Huber",432 "primary_group_name": null,433 "flair_name": null,434 "flair_url": null,435 "flair_bg_color": null,436 "flair_color": null,437 "flair_group_id": null,438 "badges_granted": [],439 "version": 1,440 "can_edit": false,441 "can_delete": false,442 "can_recover": false,443 "can_see_hidden_post": false,444 "can_wiki": false,445 "link_counts": [446 {447 "url": "https://github.com/mhubii/libtorch_custom_dataset.git",448 "internal": false,449 "reflection": false,450 "clicks": 11451 }452 ],453 "read": true,454 "user_title": null,455 "reply_to_user": {456 "id": 14060,457 "username": "Carsten_Ditzel",458 "name": "Carsten Ditzel",459 "avatar_template": "/user_avatar/discuss.pytorch.org/carsten_ditzel/{size}/8251_2.png"460 },461 "bookmarked": false,462 "actions_summary": [463 {464 "id": 2,465 "count": 1466 }467 ],468 "moderator": false,469 "admin": false,470 "staff": false,471 "user_id": 12040,472 "hidden": false,473 "trust_level": 2,474 "deleted_at": null,475 "user_deleted": false,476 "edit_reason": null,477 "can_view_edit_history": true,478 "wiki": false,479 "post_url": "/t/message-to-admins/48153/7",480 "can_accept_answer": false,481 "can_unaccept_answer": false,482 "accepted_answer": false,483 "topic_accepted_answer": null484 },485 {486 "id": 119136,487 "name": "Carsten Ditzel",488 "username": "Carsten_Ditzel",489 "avatar_template": "/user_avatar/discuss.pytorch.org/carsten_ditzel/{size}/8251_2.png",490 "created_at": "2019-06-24T14:13:51.809Z",491 "cooked": "<p>I thought he turned to other things lately? At least thats what I read on his blog</p>",492 "post_number": 8,493 "post_type": 1,494 "posts_count": 11,495 "updated_at": "2019-06-24T14:13:51.809Z",496 "reply_count": 1,497 "reply_to_post_number": 7,498 "quote_count": 0,499 "incoming_link_count": 2,500 "reads": 68,501 "readers_count": 67,502 "score": 28.6,503 "yours": false,504 "topic_id": 48153,505 "topic_slug": "message-to-admins",506 "display_username": "Carsten Ditzel",507 "primary_group_name": null,508 "flair_name": null,509 "flair_url": null,510 "flair_bg_color": null,511 "flair_color": null,512 "flair_group_id": null,513 "badges_granted": [],514 "version": 1,515 "can_edit": false,516 "can_delete": false,517 "can_recover": false,518 "can_see_hidden_post": false,519 "can_wiki": false,520 "read": true,521 "user_title": null,522 "reply_to_user": {523 "id": 12040,524 "username": "mhubii",525 "name": "Martin Huber",526 "avatar_template": "/user_avatar/discuss.pytorch.org/mhubii/{size}/71033_2.png"527 },528 "bookmarked": false,529 "actions_summary": [],530 "moderator": false,531 "admin": false,532 "staff": false,533 "user_id": 14060,534 "hidden": false,535 "trust_level": 2,536 "deleted_at": null,537 "user_deleted": false,538 "edit_reason": null,539 "can_view_edit_history": true,540 "wiki": false,541 "post_url": "/t/message-to-admins/48153/8",542 "can_accept_answer": false,543 "can_unaccept_answer": false,544 "accepted_answer": false,545 "topic_accepted_answer": null546 },547 {548 "id": 119185,549 "name": "Martin Huber",550 "username": "mhubii",551 "avatar_template": "/user_avatar/discuss.pytorch.org/mhubii/{size}/71033_2.png",552 "created_at": "2019-06-24T20:24:17.054Z",553 "cooked": "<p>I honestly have no idea</p>",554 "post_number": 9,555 "post_type": 1,556 "posts_count": 11,557 "updated_at": "2019-06-24T20:24:17.054Z",558 "reply_count": 0,559 "reply_to_post_number": 8,560 "quote_count": 0,561 "incoming_link_count": 5,562 "reads": 64,563 "readers_count": 63,564 "score": 37.8,565 "yours": false,566 "topic_id": 48153,567 "topic_slug": "message-to-admins",568 "display_username": "Martin Huber",569 "primary_group_name": null,570 "flair_name": null,571 "flair_url": null,572 "flair_bg_color": null,573 "flair_color": null,574 "flair_group_id": null,575 "badges_granted": [],576 "version": 1,577 "can_edit": false,578 "can_delete": false,579 "can_recover": false,580 "can_see_hidden_post": false,581 "can_wiki": false,582 "read": true,583 "user_title": null,584 "reply_to_user": {585 "id": 14060,586 "username": "Carsten_Ditzel",587 "name": "Carsten Ditzel",588 "avatar_template": "/user_avatar/discuss.pytorch.org/carsten_ditzel/{size}/8251_2.png"589 },590 "bookmarked": false,591 "actions_summary": [],592 "moderator": false,593 "admin": false,594 "staff": false,595 "user_id": 12040,596 "hidden": false,597 "trust_level": 2,598 "deleted_at": null,599 "user_deleted": false,600 "edit_reason": null,601 "can_view_edit_history": true,602 "wiki": false,603 "post_url": "/t/message-to-admins/48153/9",604 "can_accept_answer": false,605 "can_unaccept_answer": false,606 "accepted_answer": false,607 "topic_accepted_answer": null608 },609 {610 "id": 119278,611 "name": "Thomas V",612 "username": "tom",613 "avatar_template": "/user_avatar/discuss.pytorch.org/tom/{size}/3162_2.png",614 "created_at": "2019-06-25T10:29:56.094Z",615 "cooked": "<p>So <a class=\"mention\" href=\"/u/goldsborough\">@goldsborough</a> <a href=\"http://www.goldsborough.me/distributed-systems/2019/04/09/21-16-52-a_look_at_mesos/\" rel=\"nofollow noopener\">moved to the Stream Proceccing</a> team. And boy, I do miss his awesome hacking with virtually instant bug-fixing and feature-implementations!</p>\n<p>But then, we can help the C++ lib a lot building on his (and the others) great conceptual work by fleshing out the details - e.g. bidirectional RNNs, anyone?<br>\nSimilarly the infrastructure for C++ docs is all there, so anyone can contribute.</p>\n<p>I’m can’t fill in for even half a Peter but I guess I know a thing or two about <a href=\"https://lernapparat.de/fixing-your-first-pytorch-bug/\" rel=\"nofollow noopener\">hacking on PyTorch</a> and I’d be happy to (lightly) mentor one or two people willing to work on things. Do tag me on a issue/PR or send mail.</p>\n<p>Best regards</p>\n<p>Thomas</p>",616 "post_number": 10,617 "post_type": 1,618 "posts_count": 11,619 "updated_at": "2019-06-25T10:29:56.094Z",620 "reply_count": 0,621 "reply_to_post_number": null,622 "quote_count": 0,623 "incoming_link_count": 5,624 "reads": 58,625 "readers_count": 57,626 "score": 111.6,627 "yours": false,628 "topic_id": 48153,629 "topic_slug": "message-to-admins",630 "display_username": "Thomas V",631 "primary_group_name": null,632 "flair_name": null,633 "flair_url": null,634 "flair_bg_color": null,635 "flair_color": null,636 "flair_group_id": null,637 "badges_granted": [],638 "version": 1,639 "can_edit": false,640 "can_delete": false,641 "can_recover": false,642 "can_see_hidden_post": false,643 "can_wiki": false,644 "link_counts": [645 {646 "url": "https://lernapparat.de/fixing-your-first-pytorch-bug/",647 "internal": false,648 "reflection": false,649 "title": "Lernapparat - Machine Learning",650 "clicks": 14651 },652 {653 "url": "http://www.goldsborough.me/distributed-systems/2019/04/09/21-16-52-a_look_at_mesos/",654 "internal": false,655 "reflection": false,656 "title": "A Look at Mesos – Peter Goldsborough",657 "clicks": 10658 }659 ],660 "read": true,661 "user_title": null,662 "bookmarked": false,663 "actions_summary": [664 {665 "id": 2,666 "count": 5667 }668 ],669 "moderator": false,670 "admin": false,671 "staff": false,672 "user_id": 616,673 "hidden": false,674 "trust_level": 2,675 "deleted_at": null,676 "user_deleted": false,677 "edit_reason": null,678 "can_view_edit_history": true,679 "wiki": false,680 "post_url": "/t/message-to-admins/48153/10",681 "can_accept_answer": false,682 "can_unaccept_answer": false,683 "accepted_answer": false,684 "topic_accepted_answer": null685 },686 {687 "id": 119765,688 "name": "Shlomo",689 "username": "dambo",690 "avatar_template": "/user_avatar/discuss.pytorch.org/dambo/{size}/29088_2.png",691 "created_at": "2019-06-27T13:05:06.915Z",692 "cooked": "<p>Thank you so much for this.</p>",693 "post_number": 11,694 "post_type": 1,695 "posts_count": 11,696 "updated_at": "2019-06-27T13:05:06.915Z",697 "reply_count": 0,698 "reply_to_post_number": 7,699 "quote_count": 0,700 "incoming_link_count": 3,701 "reads": 49,702 "readers_count": 48,703 "score": 24.8,704 "yours": false,705 "topic_id": 48153,706 "topic_slug": "message-to-admins",707 "display_username": "Shlomo",708 "primary_group_name": null,709 "flair_name": null,710 "flair_url": null,711 "flair_bg_color": null,712 "flair_color": null,713 "flair_group_id": null,714 "badges_granted": [],715 "version": 1,716 "can_edit": false,717 "can_delete": false,718 "can_recover": false,719 "can_see_hidden_post": false,720 "can_wiki": false,721 "read": true,722 "user_title": "",723 "reply_to_user": {724 "id": 12040,725 "username": "mhubii",726 "name": "Martin Huber",727 "avatar_template": "/user_avatar/discuss.pytorch.org/mhubii/{size}/71033_2.png"728 },729 "bookmarked": false,730 "actions_summary": [],731 "moderator": false,732 "admin": false,733 "staff": false,734 "user_id": 9368,735 "hidden": false,736 "trust_level": 2,737 "deleted_at": null,738 "user_deleted": false,739 "edit_reason": null,740 "can_view_edit_history": true,741 "wiki": false,742 "post_url": "/t/message-to-admins/48153/11",743 "can_accept_answer": false,744 "can_unaccept_answer": false,745 "accepted_answer": false,746 "topic_accepted_answer": null747 }748 ],749 "stream": [750 117462,751 117488,752 117618,753 118120,754 118921,755 119048,756 119085,757 119136,758 119185,759 119278,760 119765761 ]762 },763 "timeline_lookup": [764 [765 1,766 2322767 ],768 [769 4,770 2320771 ],772 [773 5,774 2316775 ],776 [777 8,778 2315779 ],780 [781 11,782 2312783 ]784 ],785 "suggested_topics": [786 {787 "fancy_title": "`.to(torch::kUInt8)` position caused weird issues",788 "id": 218310,789 "title": "`.to(torch::kUInt8)` position caused weird issues",790 "slug": "to-torch-kuint8-position-caused-weird-issues",791 "posts_count": 1,792 "reply_count": 0,793 "highest_post_number": 1,794 "image_url": null,795 "created_at": "2025-03-27T04:38:53.960Z",796 "last_posted_at": "2025-03-27T04:38:54.059Z",797 "bumped": true,798 "bumped_at": "2025-03-27T04:43:20.073Z",799 "archetype": "regular",800 "unseen": false,801 "pinned": false,802 "unpinned": null,803 "visible": true,804 "closed": false,805 "archived": false,806 "bookmarked": null,807 "liked": null,808 "tags_descriptions": {},809 "like_count": 0,810 "views": 57,811 "category_id": 11,812 "featured_link": null,813 "has_accepted_answer": false,814 "posters": [815 {816 "extras": "latest single",817 "description": "Original Poster, Most Recent Poster",818 "user": {819 "id": 56882,820 "username": "L_R",821 "name": "L R",822 "avatar_template": "/user_avatar/discuss.pytorch.org/l_r/{size}/30837_2.png",823 "trust_level": 1824 }825 }826 ]827 },828 {829 "fancy_title": "Access cuDNN convolution grad input and grad weight computation function",830 "id": 214064,831 "title": "Access cuDNN convolution grad input and grad weight computation function",832 "slug": "access-cudnn-convolution-grad-input-and-grad-weight-computation-function",833 "posts_count": 3,834 "reply_count": 0,835 "highest_post_number": 3,836 "image_url": null,837 "created_at": "2024-12-10T16:18:12.287Z",838 "last_posted_at": "2024-12-13T14:18:10.237Z",839 "bumped": true,840 "bumped_at": "2024-12-13T14:24:11.703Z",841 "archetype": "regular",842 "unseen": false,843 "pinned": false,844 "unpinned": null,845 "visible": true,846 "closed": false,847 "archived": false,848 "bookmarked": null,849 "liked": null,850 "tags_descriptions": {},851 "like_count": 0,852 "views": 133,853 "category_id": 11,854 "featured_link": null,855 "has_accepted_answer": true,856 "posters": [857 {858 "extras": "latest",859 "description": "Original Poster, Most Recent Poster",860 "user": {861 "id": 81429,862 "username": "flauron",863 "name": "",864 "avatar_template": "/letter_avatar_proxy/v4/letter/f/ba8739/{size}.png",865 "trust_level": 1866 }867 },868 {869 "extras": null,870 "description": "Frequent Poster, Accepted Answer",871 "user": {872 "id": 3534,873 "username": "ptrblck",874 "name": "",875 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",876 "admin": true,877 "moderator": true,878 "trust_level": 2879 }880 }881 ]882 },883 {884 "fancy_title": "YolovV7 inference with libtorch c++",885 "id": 218193,886 "title": "YolovV7 inference with libtorch c++",887 "slug": "yolovv7-inference-with-libtorch-c",888 "posts_count": 2,889 "reply_count": 0,890 "highest_post_number": 2,891 "image_url": null,892 "created_at": "2025-03-24T07:12:17.631Z",893 "last_posted_at": "2025-03-25T03:49:57.383Z",894 "bumped": true,895 "bumped_at": "2025-03-25T03:49:57.383Z",896 "archetype": "regular",897 "unseen": false,898 "pinned": false,899 "unpinned": null,900 "visible": true,901 "closed": false,902 "archived": false,903 "bookmarked": null,904 "liked": null,905 "tags_descriptions": {},906 "like_count": 0,907 "views": 78,908 "category_id": 11,909 "featured_link": null,910 "has_accepted_answer": false,911 "posters": [912 {913 "extras": null,914 "description": "Original Poster",915 "user": {916 "id": 82054,917 "username": "MohammadShokouhiGol",918 "name": "Mohammad Shokouhi Gol",919 "avatar_template": "/user_avatar/discuss.pytorch.org/mohammadshokouhigol/{size}/76310_2.png",920 "trust_level": 0921 }922 },923 {924 "extras": "latest",925 "description": "Most Recent Poster",926 "user": {927 "id": 64475,928 "username": "singh20anurag",929 "name": "Anurag Singh",930 "avatar_template": "/user_avatar/discuss.pytorch.org/singh20anurag/{size}/58630_2.png",931 "trust_level": 1932 }933 }934 ]935 },936 {937 "fancy_title": "Scaled_dot_product_attention with padding mask output",938 "id": 215909,939 "title": "Scaled_dot_product_attention with padding mask output",940 "slug": "scaled-dot-product-attention-with-padding-mask-output",941 "posts_count": 1,942 "reply_count": 0,943 "highest_post_number": 1,944 "image_url": null,945 "created_at": "2025-01-27T02:03:33.381Z",946 "last_posted_at": "2025-01-27T02:03:33.422Z",947 "bumped": true,948 "bumped_at": "2025-01-27T02:03:33.422Z",949 "archetype": "regular",950 "unseen": false,951 "pinned": false,952 "unpinned": null,953 "visible": true,954 "closed": false,955 "archived": false,956 "bookmarked": null,957 "liked": null,958 "tags_descriptions": {},959 "like_count": 0,960 "views": 48,961 "category_id": 11,962 "featured_link": null,963 "has_accepted_answer": false,964 "posters": [965 {966 "extras": "latest single",967 "description": "Original Poster, Most Recent Poster",968 "user": {969 "id": 82332,970 "username": "triThirty",971 "name": "Shanshi Mao",972 "avatar_template": "/user_avatar/discuss.pytorch.org/trithirty/{size}/75312_2.png",973 "trust_level": 1974 }975 }976 ]977 },978 {979 "fancy_title": "Compiling from source a static PyTorch library",980 "id": 221338,981 "title": "Compiling from source a static PyTorch library",982 "slug": "compiling-from-source-a-static-pytorch-library",983 "posts_count": 5,984 "reply_count": 1,985 "highest_post_number": 5,986 "image_url": null,987 "created_at": "2025-07-07T16:24:46.598Z",988 "last_posted_at": "2025-08-13T07:04:52.827Z",989 "bumped": true,990 "bumped_at": "2025-08-13T07:04:52.827Z",991 "archetype": "regular",992 "unseen": false,993 "pinned": false,994 "unpinned": null,995 "visible": true,996 "closed": false,997 "archived": false,998 "bookmarked": null,999 "liked": null,1000 "tags_descriptions": {},1001 "like_count": 0,1002 "views": 105,1003 "category_id": 11,1004 "featured_link": null,1005 "has_accepted_answer": false,1006 "posters": [1007 {1008 "extras": "latest",1009 "description": "Original Poster, Most Recent Poster",1010 "user": {1011 "id": 81586,1012 "username": "KirilloCirillo",1013 "name": "",1014 "avatar_template": "/user_avatar/discuss.pytorch.org/kirillocirillo/{size}/74611_2.png",1015 "trust_level": 11016 }1017 },1018 {1019 "extras": null,1020 "description": "Frequent Poster",1021 "user": {1022 "id": 211,1023 "username": "albanD",1024 "name": "Alban D",1025 "avatar_template": "/user_avatar/discuss.pytorch.org/alband/{size}/215_2.png",1026 "admin": true,1027 "moderator": true,1028 "trust_level": 41029 }1030 }1031 ]1032 }1033 ],1034 "tags_descriptions": {},1035 "fancy_title": "Message to admins",1036 "id": 48153,1037 "title": "Message to admins",1038 "posts_count": 11,1039 "created_at": "2019-06-17T14:11:32.401Z",1040 "views": 2050,1041 "reply_count": 5,1042 "like_count": 10,1043 "last_posted_at": "2019-06-27T13:05:06.915Z",1044 "visible": true,1045 "closed": false,1046 "archived": false,1047 "has_summary": false,1048 "archetype": "regular",1049 "slug": "message-to-admins",1050 "category_id": 11,1051 "word_count": 894,1052 "deleted_at": null,1053 "user_id": 9368,1054 "featured_link": null,1055 "pinned_globally": false,1056 "pinned_at": null,1057 "pinned_until": null,1058 "image_url": null,1059 "slow_mode_seconds": 0,1060 "draft": null,1061 "draft_key": "topic_48153",1062 "draft_sequence": null,1063 "unpinned": null,1064 "pinned": false,1065 "current_post_number": 1,1066 "highest_post_number": 11,1067 "deleted_by": null,1068 "actions_summary": [1069 {1070 "id": 4,1071 "count": 0,1072 "hidden": false,1073 "can_act": false1074 },1075 {1076 "id": 8,1077 "count": 0,1078 "hidden": false,1079 "can_act": false1080 },1081 {1082 "id": 10,1083 "count": 0,1084 "hidden": false,1085 "can_act": false1086 },1087 {1088 "id": 7,1089 "count": 0,1090 "hidden": false,1091 "can_act": false1092 }1093 ],1094 "chunk_size": 20,1095 "bookmarked": false,1096 "topic_timer": null,1097 "message_bus_last_id": 0,1098 "participant_count": 6,1099 "show_read_indicator": false,1100 "thumbnails": null,1101 "slow_mode_enabled_until": null,1102 "can_vote": false,1103 "vote_count": 0,1104 "user_voted": false,1105 "discourse_zendesk_plugin_zendesk_id": null,1106 "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",1107 "details": {1108 "can_edit": false,1109 "notification_level": 1,1110 "participants": [1111 {1112 "id": 9368,1113 "username": "dambo",1114 "name": "Shlomo",1115 "avatar_template": "/user_avatar/discuss.pytorch.org/dambo/{size}/29088_2.png",1116 "post_count": 3,1117 "primary_group_name": null,1118 "flair_name": null,1119 "flair_url": null,1120 "flair_color": null,1121 "flair_bg_color": null,1122 "flair_group_id": null,1123 "trust_level": 21124 },1125 {1126 "id": 12040,1127 "username": "mhubii",1128 "name": "Martin Huber",1129 "avatar_template": "/user_avatar/discuss.pytorch.org/mhubii/{size}/71033_2.png",1130 "post_count": 3,1131 "primary_group_name": null,1132 "flair_name": null,1133 "flair_url": null,1134 "flair_color": null,1135 "flair_bg_color": null,1136 "flair_group_id": null,1137 "trust_level": 21138 },1139 {1140 "id": 14060,1141 "username": "Carsten_Ditzel",1142 "name": "Carsten Ditzel",1143 "avatar_template": "/user_avatar/discuss.pytorch.org/carsten_ditzel/{size}/8251_2.png",1144 "post_count": 2,1145 "primary_group_name": null,1146 "flair_name": null,1147 "flair_url": null,1148 "flair_color": null,1149 "flair_bg_color": null,1150 "flair_group_id": null,1151 "trust_level": 21152 },1153 {1154 "id": 211,1155 "username": "albanD",1156 "name": "Alban D",1157 "avatar_template": "/user_avatar/discuss.pytorch.org/alband/{size}/215_2.png",1158 "post_count": 1,1159 "primary_group_name": null,1160 "flair_name": null,1161 "flair_url": null,1162 "flair_color": null,1163 "flair_bg_color": null,1164 "flair_group_id": null,1165 "admin": true,1166 "moderator": true,1167 "trust_level": 41168 },1169 {1170 "id": 616,1171 "username": "tom",1172 "name": "Thomas V",1173 "avatar_template": "/user_avatar/discuss.pytorch.org/tom/{size}/3162_2.png",1174 "post_count": 1,1175 "primary_group_name": null,1176 "flair_name": null,1177 "flair_url": null,1178 "flair_color": null,1179 "flair_bg_color": null,1180 "flair_group_id": null,1181 "trust_level": 21182 },1183 {1184 "id": 1241,1185 "username": "gchanan",1186 "name": "",1187 "avatar_template": "/letter_avatar_proxy/v4/letter/g/e5b9ba/{size}.png",1188 "post_count": 1,1189 "primary_group_name": null,1190 "flair_name": null,1191 "flair_url": null,1192 "flair_color": null,1193 "flair_bg_color": null,1194 "flair_group_id": null,1195 "trust_level": 11196 }1197 ],1198 "created_by": {1199 "id": 9368,1200 "username": "dambo",