Anurag1734/cuda-error-resolution-analysis
07
1[2 {3 "post_stream": {4 "posts": [5 {6 "id": 246951,7 "name": "ssr",8 "username": "rui_zhou",9 "avatar_template": "/user_avatar/discuss.pytorch.org/rui_zhou/{size}/30441_2.png",10 "created_at": "2020-11-25T11:56:41.697Z",11 "cooked": "<p>Hi, I always get naming error when loading my own dataset:<br>\nwhy the filename print twice?<br>\nFileNotFoundError: [Errno 2] No such file or directory: ‘./dataset/train_GT./dataset/train/32.png’<br>\nMy folder structure:<br>\n––dataset<br>\n——train<br>\n———0.jpg<br>\n———1.jpg<br>\n——train_GT<br>\n———0.png<br>\n———1.png<br>\nis there something wrong with the filename? and I define GT_path as follows:<br>\n` def <strong>getitem</strong> (self, index):</p>\n<div class=\"md-table\">\n<table>\n<thead>\n<tr>\n<th></th>\n<th>image_path = self.image_paths[index]</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td></td>\n<td>filename = image_path.split(’_’)[-1][:-len(\".jpg\")]</td>\n</tr>\n<tr>\n<td></td>\n<td>GT_path = self.GT_paths + filename + ‘.png’`</td>\n</tr>\n</tbody>\n</table>\n</div><p><a href=\"https://github.com/LeeJunHyun/Image_Segmentation\" rel=\"noopener nofollow ugc\">https://github.com/LeeJunHyun/Image_Segmentation</a><br>\nWith reagards.Any help would be so grateful!</p>",12 "post_number": 1,13 "post_type": 1,14 "posts_count": 2,15 "updated_at": "2020-11-25T11:56:41.697Z",16 "reply_count": 0,17 "reply_to_post_number": null,18 "quote_count": 0,19 "incoming_link_count": 13,20 "reads": 6,21 "readers_count": 5,22 "score": 66.2,23 "yours": false,24 "topic_id": 104032,25 "topic_slug": "filename-print-twice",26 "display_username": "ssr",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/LeeJunHyun/Image_Segmentation",43 "internal": false,44 "reflection": false,45 "title": "GitHub - LeeJunHyun/Image_Segmentation: Pytorch implementation of U-Net, R2U-Net, Attention U-Net, and Attention R2U-Net.",46 "clicks": 247 }48 ],49 "read": true,50 "user_title": "",51 "bookmarked": false,52 "actions_summary": [],53 "moderator": false,54 "admin": false,55 "staff": false,56 "user_id": 38331,57 "hidden": false,58 "trust_level": 1,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/filename-print-twice/104032/1",65 "can_accept_answer": false,66 "can_unaccept_answer": false,67 "accepted_answer": false,68 "topic_accepted_answer": true,69 "can_vote": false70 },71 {72 "id": 246988,73 "name": "Andreas",74 "username": "AndreasW",75 "avatar_template": "/letter_avatar_proxy/v4/letter/a/bcef8e/{size}.png",76 "created_at": "2020-11-25T16:00:55.297Z",77 "cooked": "<p>why you are split with (’<em>’)<br>\nwith<br>\nfilename = image_path.split(’</em>’)[-1][:-len(\".jpg\")]<br>\nyou get --> ./dataset/train/32</p>\n<p>and not with (’/)’<br>\nfilename = image_path.split(’/’)[-1][:-len(\".jpg\")]</p>",78 "post_number": 2,79 "post_type": 1,80 "posts_count": 2,81 "updated_at": "2020-11-27T00:55:09.992Z",82 "reply_count": 0,83 "reply_to_post_number": null,84 "quote_count": 0,85 "incoming_link_count": 0,86 "reads": 5,87 "readers_count": 4,88 "score": 1.0,89 "yours": false,90 "topic_id": 104032,91 "topic_slug": "filename-print-twice",92 "display_username": "Andreas",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": 39284,114 "hidden": false,115 "trust_level": 1,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/filename-print-twice/104032/2",122 "can_accept_answer": false,123 "can_unaccept_answer": false,124 "accepted_answer": true,125 "topic_accepted_answer": true126 }127 ],128 "stream": [129 246951,130 246988131 ]132 },133 "timeline_lookup": [134 [135 1,136 1795137 ]138 ],139 "suggested_topics": [140 {141 "fancy_title": "Reasons behind using convolutional layers of 1x1 kernel sizes",142 "id": 217058,143 "title": "Reasons behind using convolutional layers of 1x1 kernel sizes",144 "slug": "reasons-behind-using-convolutional-layers-of-1x1-kernel-sizes",145 "posts_count": 2,146 "reply_count": 0,147 "highest_post_number": 2,148 "image_url": null,149 "created_at": "2025-02-23T16:30:45.966Z",150 "last_posted_at": "2025-02-24T04:54:29.251Z",151 "bumped": true,152 "bumped_at": "2025-02-24T04:54:29.251Z",153 "archetype": "regular",154 "unseen": false,155 "pinned": false,156 "unpinned": null,157 "visible": true,158 "closed": false,159 "archived": false,160 "bookmarked": null,161 "liked": null,162 "tags_descriptions": {},163 "like_count": 0,164 "views": 64,165 "category_id": 1,166 "featured_link": null,167 "has_accepted_answer": false,168 "posters": [169 {170 "extras": null,171 "description": "Original Poster",172 "user": {173 "id": 55555,174 "username": "amirtmgr",175 "name": "amir T mgr",176 "avatar_template": "/user_avatar/discuss.pytorch.org/amirtmgr/{size}/49195_2.png",177 "trust_level": 1178 }179 },180 {181 "extras": "latest",182 "description": "Most Recent Poster",183 "user": {184 "id": 19553,185 "username": "anantguptadbl",186 "name": "Anant Gupta",187 "avatar_template": "/user_avatar/discuss.pytorch.org/anantguptadbl/{size}/17784_2.png",188 "trust_level": 2189 }190 }191 ]192 },193 {194 "fancy_title": "Torchvision,Torchaudio and Xavier Nx",195 "id": 213485,196 "title": "Torchvision,Torchaudio and Xavier Nx",197 "slug": "torchvision-torchaudio-and-xavier-nx",198 "posts_count": 2,199 "reply_count": 0,200 "highest_post_number": 2,201 "image_url": null,202 "created_at": "2024-11-26T19:16:21.062Z",203 "last_posted_at": "2024-11-27T16:02:01.415Z",204 "bumped": true,205 "bumped_at": "2024-11-27T16:02:01.415Z",206 "archetype": "regular",207 "unseen": false,208 "pinned": false,209 "unpinned": null,210 "visible": true,211 "closed": false,212 "archived": false,213 "bookmarked": null,214 "liked": null,215 "tags_descriptions": {},216 "like_count": 0,217 "views": 155,218 "category_id": 1,219 "featured_link": null,220 "has_accepted_answer": false,221 "posters": [222 {223 "extras": null,224 "description": "Original Poster",225 "user": {226 "id": 78263,227 "username": "Halil_Huseyin_Calisk",228 "name": "Halil Hüseyin Çalışkan",229 "avatar_template": "/user_avatar/discuss.pytorch.org/halil_huseyin_calisk/{size}/62070_2.png",230 "trust_level": 1231 }232 },233 {234 "extras": "latest",235 "description": "Most Recent Poster",236 "user": {237 "id": 3534,238 "username": "ptrblck",239 "name": "",240 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",241 "admin": true,242 "moderator": true,243 "trust_level": 2244 }245 }246 ]247 },248 {249 "fancy_title": "Checkpoint() doesn’t work with use_reentrant=False",250 "id": 213226,251 "title": "Checkpoint() doesn't work with use_reentrant=False",252 "slug": "checkpoint-doesnt-work-with-use-reentrant-false",253 "posts_count": 2,254 "reply_count": 0,255 "highest_post_number": 2,256 "image_url": null,257 "created_at": "2024-11-20T19:13:39.494Z",258 "last_posted_at": "2024-12-03T14:29:05.733Z",259 "bumped": true,260 "bumped_at": "2024-12-03T14:29:05.733Z",261 "archetype": "regular",262 "unseen": false,263 "pinned": false,264 "unpinned": null,265 "visible": true,266 "closed": false,267 "archived": false,268 "bookmarked": null,269 "liked": null,270 "tags_descriptions": {},271 "like_count": 0,272 "views": 629,273 "category_id": 1,274 "featured_link": null,275 "has_accepted_answer": false,276 "posters": [277 {278 "extras": "latest single",279 "description": "Original Poster, Most Recent Poster",280 "user": {281 "id": 81024,282 "username": "kwohlfahrt",283 "name": "Kai Wohlfahrt",284 "avatar_template": "/letter_avatar_proxy/v4/letter/k/c77e96/{size}.png",285 "trust_level": 1286 }287 }288 ]289 },290 {291 "fancy_title": "Loaded pytorch model gives different results than originally trained model",292 "id": 216571,293 "title": "Loaded pytorch model gives different results than originally trained model",294 "slug": "loaded-pytorch-model-gives-different-results-than-originally-trained-model",295 "posts_count": 12,296 "reply_count": 9,297 "highest_post_number": 14,298 "image_url": null,299 "created_at": "2025-02-12T08:19:54.183Z",300 "last_posted_at": "2025-03-08T20:05:24.756Z",301 "bumped": true,302 "bumped_at": "2025-03-08T20:05:24.756Z",303 "archetype": "regular",304 "unseen": false,305 "pinned": false,306 "unpinned": null,307 "visible": true,308 "closed": false,309 "archived": false,310 "bookmarked": null,311 "liked": null,312 "tags_descriptions": {},313 "like_count": 1,314 "views": 669,315 "category_id": 1,316 "featured_link": null,317 "has_accepted_answer": false,318 "posters": [319 {320 "extras": "latest",321 "description": "Original Poster, Most Recent Poster",322 "user": {323 "id": 82640,324 "username": "Riggins",325 "name": "Tom",326 "avatar_template": "/letter_avatar_proxy/v4/letter/r/ce73a5/{size}.png",327 "trust_level": 1328 }329 },330 {331 "extras": null,332 "description": "Frequent Poster",333 "user": {334 "id": 82012,335 "username": "Ansh_Upadhyay",336 "name": "Ansh Upadhyay",337 "avatar_template": "/user_avatar/discuss.pytorch.org/ansh_upadhyay/{size}/75038_2.png",338 "trust_level": 1339 }340 },341 {342 "extras": null,343 "description": "Frequent Poster",344 "user": {345 "id": 3534,346 "username": "ptrblck",347 "name": "",348 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",349 "admin": true,350 "moderator": true,351 "trust_level": 2352 }353 }354 ]355 },356 {357 "fancy_title": "Feature request: linear learning rate warmup in torch.optim.lr_scheduler",358 "id": 217712,359 "title": "Feature request: linear learning rate warmup in torch.optim.lr_scheduler",360 "slug": "feature-request-linear-learning-rate-warmup-in-torch-optim-lr-scheduler",361 "posts_count": 1,362 "reply_count": 0,363 "highest_post_number": 1,364 "image_url": null,365 "created_at": "2025-03-11T19:32:22.471Z",366 "last_posted_at": "2025-03-11T19:32:22.510Z",367 "bumped": true,368 "bumped_at": "2025-03-11T19:32:22.510Z",369 "archetype": "regular",370 "unseen": false,371 "pinned": false,372 "unpinned": null,373 "visible": true,374 "closed": false,375 "archived": false,376 "bookmarked": null,377 "liked": null,378 "tags_descriptions": {},379 "like_count": 0,380 "views": 41,381 "category_id": 1,382 "featured_link": null,383 "has_accepted_answer": false,384 "posters": [385 {386 "extras": "latest single",387 "description": "Original Poster, Most Recent Poster",388 "user": {389 "id": 60714,390 "username": "jakelevi1996",391 "name": "Jake Levi",392 "avatar_template": "/user_avatar/discuss.pytorch.org/jakelevi1996/{size}/75757_2.png",393 "trust_level": 2394 }395 }396 ]397 }398 ],399 "tags_descriptions": {},400 "fancy_title": "Filename print twice",401 "id": 104032,402 "title": "Filename print twice",403 "posts_count": 2,404 "created_at": "2020-11-25T11:56:41.617Z",405 "views": 443,406 "reply_count": 0,407 "like_count": 0,408 "last_posted_at": "2020-11-25T16:00:55.297Z",409 "visible": true,410 "closed": false,411 "archived": false,412 "has_summary": false,413 "archetype": "regular",414 "slug": "filename-print-twice",415 "category_id": 1,416 "word_count": 123,417 "deleted_at": null,418 "user_id": 38331,419 "featured_link": null,420 "pinned_globally": false,421 "pinned_at": null,422 "pinned_until": null,423 "image_url": null,424 "slow_mode_seconds": 0,425 "draft": null,426 "draft_key": "topic_104032",427 "draft_sequence": null,428 "unpinned": null,429 "pinned": false,430 "current_post_number": 1,431 "highest_post_number": 2,432 "deleted_by": null,433 "actions_summary": [434 {435 "id": 4,436 "count": 0,437 "hidden": false,438 "can_act": false439 },440 {441 "id": 8,442 "count": 0,443 "hidden": false,444 "can_act": false445 },446 {447 "id": 10,448 "count": 0,449 "hidden": false,450 "can_act": false451 },452 {453 "id": 7,454 "count": 0,455 "hidden": false,456 "can_act": false457 }458 ],459 "chunk_size": 20,460 "bookmarked": false,461 "topic_timer": null,462 "message_bus_last_id": 0,463 "participant_count": 2,464 "show_read_indicator": false,465 "thumbnails": null,466 "slow_mode_enabled_until": null,467 "accepted_answer": {468 "post_number": 2,469 "username": "AndreasW",470 "name": "Andreas",471 "excerpt": "why you are split with (’’) \nwith \nfilename = image_path.split(’’)[-1][:-len(".jpg")] \nyou get --> ./dataset/train/32 \nand not with (’/)’ \nfilename = image_path.split(’/’)[-1][:-len(".jpg")]"472 },473 "can_vote": false,474 "vote_count": 0,475 "user_voted": false,476 "discourse_zendesk_plugin_zendesk_id": null,477 "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",478 "details": {479 "can_edit": false,480 "notification_level": 1,481 "participants": [482 {483 "id": 38331,484 "username": "rui_zhou",485 "name": "ssr",486 "avatar_template": "/user_avatar/discuss.pytorch.org/rui_zhou/{size}/30441_2.png",487 "post_count": 1,488 "primary_group_name": null,489 "flair_name": null,490 "flair_url": null,491 "flair_color": null,492 "flair_bg_color": null,493 "flair_group_id": null,494 "trust_level": 1495 },496 {497 "id": 39284,498 "username": "AndreasW",499 "name": "Andreas",500 "avatar_template": "/letter_avatar_proxy/v4/letter/a/bcef8e/{size}.png",501 "post_count": 1,502 "primary_group_name": null,503 "flair_name": null,504 "flair_url": null,505 "flair_color": null,506 "flair_bg_color": null,507 "flair_group_id": null,508 "trust_level": 1509 }510 ],511 "created_by": {512 "id": 38331,513 "username": "rui_zhou",514 "name": "ssr",515 "avatar_template": "/user_avatar/discuss.pytorch.org/rui_zhou/{size}/30441_2.png"516 },517 "last_poster": {518 "id": 39284,519 "username": "AndreasW",520 "name": "Andreas",521 "avatar_template": "/letter_avatar_proxy/v4/letter/a/bcef8e/{size}.png"522 },523 "links": [524 {525 "url": "https://github.com/LeeJunHyun/Image_Segmentation",526 "title": "GitHub - LeeJunHyun/Image_Segmentation: Pytorch implementation of U-Net, R2U-Net, Attention U-Net, and Attention R2U-Net.",527 "internal": false,528 "attachment": false,529 "reflection": false,530 "clicks": 2,531 "user_id": 38331,532 "domain": "github.com",533 "root_domain": "github.com"534 }535 ]536 },537 "bookmarks": []538 },539 {540 "post_stream": {541 "posts": [542 {543 "id": 246975,544 "name": "",545 "username": "sr_frost",546 "avatar_template": "/letter_avatar_proxy/v4/letter/s/82dd89/{size}.png",547 "created_at": "2020-11-25T14:56:43.372Z",548 "cooked": "<p>Hello. I am trying to load a video frame by frame using <code>imageio</code>, but facing an weird error when <code>num_workers > 0</code>. This is a short snippet to reproduce the error.</p>\n<pre><code class=\"lang-auto\">from skvideo import datasets\nimport imageio\nimport torch\nfrom torch.utils.data import Dataset, DataLoader\n\nclass VideoDataset(Dataset):\n def __init__(self, video_path):\n super().__init__()\n self.video_reader = imageio.get_reader(video_path)\n self.metadata = self.video_reader.get_meta_data()\n self.nframes = self.metadata[\"nframes\"]\n\n def __getitem__(self, idx):\n img = self.video_reader.get_data(idx)\n img = torch.from_numpy(img)\n\n return img\n\n def __len__(self):\n return self.nframes\n</code></pre>\n<pre><code class=\"lang-auto\">video_path = datasets.bikes()\nvideo_data = VideoDataset(video_path)\nvideo_loader = DataLoader(video_data, batch_size=4, num_workers=4)\n\nfor imgs in video_loader:\n print(imgs.shape)\n</code></pre>\n<p>when I try to iteratively print the shape of the loaded tensors, it gets stuck mid way and throws an error:</p>\n<pre><code class=\"lang-auto\">torch.Size([8, 272, 640, 3])\ntorch.Size([8, 272, 640, 3])\ntorch.Size([8, 272, 640, 3])\ntorch.Size([8, 272, 640, 3])\ntorch.Size([8, 272, 640, 3])\ntorch.Size([8, 272, 640, 3])\ntorch.Size([8, 272, 640, 3])\ntorch.Size([8, 272, 640, 3])\n---------------------------------------------------------------------------\nCannotReadFrameError Traceback (most recent call last)\n<ipython-input-20-453bfa4da85a> in <module>()\n----> 1 for imgs in video_loader:\n 2 print(imgs.shape)\n</code></pre>\n<p>Note that the code works fine when <code>num_workers=0</code>. I can’t figure out what’s going wrong.</p>",549 "post_number": 1,550 "post_type": 1,551 "posts_count": 2,552 "updated_at": "2020-11-25T14:56:43.372Z",553 "reply_count": 1,554 "reply_to_post_number": null,555 "quote_count": 0,556 "incoming_link_count": 16,557 "reads": 9,558 "readers_count": 8,559 "score": 86.8,560 "yours": false,561 "topic_id": 104050,562 "topic_slug": "dataloader-error-when-num-workers-0",563 "display_username": "",564 "primary_group_name": null,565 "flair_name": null,566 "flair_url": null,567 "flair_bg_color": null,568 "flair_color": null,569 "flair_group_id": null,570 "badges_granted": [],571 "version": 1,572 "can_edit": false,573 "can_delete": false,574 "can_recover": false,575 "can_see_hidden_post": false,576 "can_wiki": false,577 "read": true,578 "user_title": null,579 "bookmarked": false,580 "actions_summary": [],581 "moderator": false,582 "admin": false,583 "staff": false,584 "user_id": 23519,585 "hidden": false,586 "trust_level": 1,587 "deleted_at": null,588 "user_deleted": false,589 "edit_reason": null,590 "can_view_edit_history": true,591 "wiki": false,592 "post_url": "/t/dataloader-error-when-num-workers-0/104050/1",593 "can_accept_answer": false,594 "can_unaccept_answer": false,595 "accepted_answer": false,596 "topic_accepted_answer": null,597 "can_vote": false598 },599 {600 "id": 246985,601 "name": "Andreas",602 "username": "AndreasW",603 "avatar_template": "/letter_avatar_proxy/v4/letter/a/bcef8e/{size}.png",604 "created_at": "2020-11-25T15:36:23.846Z",605 "cooked": "<pre><code class=\"lang-auto\">class VideoDataset(Dataset):\n def __init__(self, video_path):\n super().__init__()\n self.video_path = video_path\n self.video_reader = imageio.get_reader(video_path)\n self.metadata = self.video_reader.get_meta_data()\n self.nframes = self.metadata[\"nframes\"]\n\n def __getitem__(self, idx):\n video = imageio.get_reader(self.video_path)\n img = video.get_data(idx)\n img = torch.from_numpy(img)\n\n return img\n\n def __len__(self):\n return self.nframes\n</code></pre>\n<p>then it works</p>",606 "post_number": 2,607 "post_type": 1,608 "posts_count": 2,609 "updated_at": "2020-11-25T15:44:05.498Z",610 "reply_count": 0,611 "reply_to_post_number": null,612 "quote_count": 0,613 "incoming_link_count": 0,614 "reads": 4,615 "readers_count": 3,616 "score": 0.8,617 "yours": false,618 "topic_id": 104050,619 "topic_slug": "dataloader-error-when-num-workers-0",620 "display_username": "Andreas",621 "primary_group_name": null,622 "flair_name": null,623 "flair_url": null,624 "flair_bg_color": null,625 "flair_color": null,626 "flair_group_id": null,627 "badges_granted": [],628 "version": 2,629 "can_edit": false,630 "can_delete": false,631 "can_recover": false,632 "can_see_hidden_post": false,633 "can_wiki": false,634 "read": true,635 "user_title": null,636 "bookmarked": false,637 "actions_summary": [],638 "moderator": false,639 "admin": false,640 "staff": false,641 "user_id": 39284,642 "hidden": false,643 "trust_level": 1,644 "deleted_at": null,645 "user_deleted": false,646 "edit_reason": null,647 "can_view_edit_history": true,648 "wiki": false,649 "post_url": "/t/dataloader-error-when-num-workers-0/104050/2",650 "can_accept_answer": false,651 "can_unaccept_answer": false,652 "accepted_answer": false,653 "topic_accepted_answer": null654 }655 ],656 "stream": [657 246975,658 246985659 ]660 },661 "timeline_lookup": [662 [663 1,664 1795665 ]666 ],667 "suggested_topics": [668 {669 "fancy_title": "Reasons behind using convolutional layers of 1x1 kernel sizes",670 "id": 217058,671 "title": "Reasons behind using convolutional layers of 1x1 kernel sizes",672 "slug": "reasons-behind-using-convolutional-layers-of-1x1-kernel-sizes",673 "posts_count": 2,674 "reply_count": 0,675 "highest_post_number": 2,676 "image_url": null,677 "created_at": "2025-02-23T16:30:45.966Z",678 "last_posted_at": "2025-02-24T04:54:29.251Z",679 "bumped": true,680 "bumped_at": "2025-02-24T04:54:29.251Z",681 "archetype": "regular",682 "unseen": false,683 "pinned": false,684 "unpinned": null,685 "visible": true,686 "closed": false,687 "archived": false,688 "bookmarked": null,689 "liked": null,690 "tags_descriptions": {},691 "like_count": 0,692 "views": 64,693 "category_id": 1,694 "featured_link": null,695 "has_accepted_answer": false,696 "posters": [697 {698 "extras": null,699 "description": "Original Poster",700 "user": {701 "id": 55555,702 "username": "amirtmgr",703 "name": "amir T mgr",704 "avatar_template": "/user_avatar/discuss.pytorch.org/amirtmgr/{size}/49195_2.png",705 "trust_level": 1706 }707 },708 {709 "extras": "latest",710 "description": "Most Recent Poster",711 "user": {712 "id": 19553,713 "username": "anantguptadbl",714 "name": "Anant Gupta",715 "avatar_template": "/user_avatar/discuss.pytorch.org/anantguptadbl/{size}/17784_2.png",716 "trust_level": 2717 }718 }719 ]720 },721 {722 "fancy_title": "Permute inside nn.Sequential",723 "id": 214877,724 "title": "Permute inside nn.Sequential",725 "slug": "permute-inside-nn-sequential",726 "posts_count": 3,727 "reply_count": 0,728 "highest_post_number": 3,729 "image_url": null,730 "created_at": "2025-01-02T08:19:47.254Z",731 "last_posted_at": "2025-09-15T19:19:55.247Z",732 "bumped": true,733 "bumped_at": "2025-09-15T19:19:55.247Z",734 "archetype": "regular",735 "unseen": false,736 "pinned": false,737 "unpinned": null,738 "visible": true,739 "closed": false,740 "archived": false,741 "bookmarked": null,742 "liked": null,743 "tags_descriptions": {},744 "like_count": 1,745 "views": 476,746 "category_id": 1,747 "featured_link": null,748 "has_accepted_answer": false,749 "posters": [750 {751 "extras": null,752 "description": "Original Poster",753 "user": {754 "id": 81597,755 "username": "nada",756 "name": null,757 "avatar_template": "/letter_avatar_proxy/v4/letter/n/a88e4f/{size}.png",758 "trust_level": 1759 }760 },761 {762 "extras": null,763 "description": "Frequent Poster",764 "user": {765 "id": 3534,766 "username": "ptrblck",767 "name": "",768 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",769 "admin": true,770 "moderator": true,771 "trust_level": 2772 }773 },774 {775 "extras": "latest",776 "description": "Most Recent Poster",777 "user": {778 "id": 32812,779 "username": "Bjorn_Lindqvist",780 "name": "Björn Lindqvist",781 "avatar_template": "/user_avatar/discuss.pytorch.org/bjorn_lindqvist/{size}/25326_2.png",782 "trust_level": 2783 }784 }785 ]786 },787 {788 "fancy_title": "The meaning of some fields in the state_dict of a quantized model",789 "id": 213977,790 "title": "The meaning of some fields in the state_dict of a quantized model",791 "slug": "the-meaning-of-some-fields-in-the-state-dict-of-a-quantized-model",792 "posts_count": 1,793 "reply_count": 0,794 "highest_post_number": 1,795 "image_url": null,796 "created_at": "2024-12-09T05:56:44.856Z",797 "last_posted_at": "2024-12-09T05:56:44.912Z",798 "bumped": true,799 "bumped_at": "2024-12-09T05:56:44.912Z",800 "archetype": "regular",801 "unseen": false,802 "pinned": false,803 "unpinned": null,804 "visible": true,805 "closed": false,806 "archived": false,807 "bookmarked": null,808 "liked": null,809 "tags_descriptions": {},810 "like_count": 0,811 "views": 27,812 "category_id": 1,813 "featured_link": null,814 "has_accepted_answer": false,815 "posters": [816 {817 "extras": "latest single",818 "description": "Original Poster, Most Recent Poster",819 "user": {820 "id": 62571,821 "username": "jensenchen",822 "name": "jensenchen",823 "avatar_template": "/user_avatar/discuss.pytorch.org/jensenchen/{size}/74431_2.png",824 "trust_level": 1825 }826 }827 ]828 },829 {830 "fancy_title": "Custom pruning method for Global Unstructured Pruning",831 "id": 213642,832 "title": "Custom pruning method for Global Unstructured Pruning",833 "slug": "custom-pruning-method-for-global-unstructured-pruning",834 "posts_count": 3,835 "reply_count": 1,836 "highest_post_number": 3,837 "image_url": null,838 "created_at": "2024-11-30T21:17:05.356Z",839 "last_posted_at": "2024-12-06T11:48:13.958Z",840 "bumped": true,841 "bumped_at": "2024-12-06T11:48:13.958Z",842 "archetype": "regular",843 "unseen": false,844 "pinned": false,845 "unpinned": null,846 "visible": true,847 "closed": false,848 "archived": false,849 "bookmarked": null,850 "liked": null,851 "tags_descriptions": {},852 "like_count": 0,853 "views": 151,854 "category_id": 1,855 "featured_link": null,856 "has_accepted_answer": true,857 "posters": [858 {859 "extras": "latest",860 "description": "Original Poster, Most Recent Poster",861 "user": {862 "id": 66508,863 "username": "Shashank_Priyadarshi",864 "name": "Shashank Priyadarshi",865 "avatar_template": "/user_avatar/discuss.pytorch.org/shashank_priyadarshi/{size}/60807_2.png",866 "trust_level": 1867 }868 },869 {870 "extras": null,871 "description": "Frequent Poster, Accepted Answer",872 "user": {873 "id": 81237,874 "username": "alicerichard65",875 "name": null,876 "avatar_template": "/letter_avatar_proxy/v4/letter/a/da6949/{size}.png",877 "trust_level": 0878 }879 }880 ]881 },882 {883 "fancy_title": "Rtx 5090 Error with nightly cu128 install",884 "id": 217478,885 "title": "Rtx 5090 Error with nightly cu128 install",886 "slug": "rtx-5090-error-with-nightly-cu128-install",887 "posts_count": 8,888 "reply_count": 2,889 "highest_post_number": 8,890 "image_url": null,891 "created_at": "2025-03-05T14:19:51.454Z",892 "last_posted_at": "2025-04-02T01:18:02.963Z",893 "bumped": true,894 "bumped_at": "2025-04-02T01:18:02.963Z",895 "archetype": "regular",896 "unseen": false,897 "pinned": false,898 "unpinned": null,899 "visible": true,900 "closed": false,901 "archived": false,902 "bookmarked": null,903 "liked": null,904 "tags_descriptions": {},905 "like_count": 0,906 "views": 5031,907 "category_id": 1,908 "featured_link": null,909 "has_accepted_answer": false,910 "posters": [911 {912 "extras": null,913 "description": "Original Poster",914 "user": {915 "id": 83084,916 "username": "Marked",917 "name": "Marked",918 "avatar_template": "/user_avatar/discuss.pytorch.org/marked/{size}/74882_2.png",919 "trust_level": 1920 }921 },922 {923 "extras": null,924 "description": "Frequent Poster",925 "user": {926 "id": 83067,927 "username": "nafe_alhmdan",928 "name": "nafe alhmdan",929 "avatar_template": "/user_avatar/discuss.pytorch.org/nafe_alhmdan/{size}/75984_2.png",930 "trust_level": 1931 }932 },933 {934 "extras": null,935 "description": "Frequent Poster",936 "user": {937 "id": 3534,938 "username": "ptrblck",939 "name": "",940 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",941 "admin": true,942 "moderator": true,943 "trust_level": 2944 }945 },946 {947 "extras": "latest",948 "description": "Most Recent Poster",949 "user": {950 "id": 83583,951 "username": "randscott",952 "name": "",953 "avatar_template": "/letter_avatar_proxy/v4/letter/r/7ba0ec/{size}.png",954 "trust_level": 0955 }956 }957 ]958 }959 ],960 "tags_descriptions": {},961 "fancy_title": "Dataloader error when num_workers > 0",962 "id": 104050,963 "title": "Dataloader error when num_workers > 0",964 "posts_count": 2,965 "created_at": "2020-11-25T14:56:43.293Z",966 "views": 391,967 "reply_count": 0,968 "like_count": 0,969 "last_posted_at": "2020-11-25T15:36:23.846Z",970 "visible": true,971 "closed": false,972 "archived": false,973 "has_summary": false,974 "archetype": "regular",975 "slug": "dataloader-error-when-num-workers-0",976 "category_id": 1,977 "word_count": 273,978 "deleted_at": null,979 "user_id": 23519,980 "featured_link": null,981 "pinned_globally": false,982 "pinned_at": null,983 "pinned_until": null,984 "image_url": null,985 "slow_mode_seconds": 0,986 "draft": null,987 "draft_key": "topic_104050",988 "draft_sequence": null,989 "unpinned": null,990 "pinned": false,991 "current_post_number": 1,992 "highest_post_number": 2,993 "deleted_by": null,994 "actions_summary": [995 {996 "id": 4,997 "count": 0,998 "hidden": false,999 "can_act": false1000 },1001 {1002 "id": 8,1003 "count": 0,1004 "hidden": false,1005 "can_act": false1006 },1007 {1008 "id": 10,1009 "count": 0,1010 "hidden": false,1011 "can_act": false1012 },1013 {1014 "id": 7,1015 "count": 0,1016 "hidden": false,1017 "can_act": false1018 }1019 ],1020 "chunk_size": 20,1021 "bookmarked": false,1022 "topic_timer": null,1023 "message_bus_last_id": 0,1024 "participant_count": 2,1025 "show_read_indicator": false,1026 "thumbnails": null,1027 "slow_mode_enabled_until": null,1028 "can_vote": false,1029 "vote_count": 0,1030 "user_voted": false,1031 "discourse_zendesk_plugin_zendesk_id": null,1032 "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",1033 "details": {1034 "can_edit": false,1035 "notification_level": 1,1036 "participants": [1037 {1038 "id": 23519,1039 "username": "sr_frost",1040 "name": "",1041 "avatar_template": "/letter_avatar_proxy/v4/letter/s/82dd89/{size}.png",1042 "post_count": 1,1043 "primary_group_name": null,1044 "flair_name": null,1045 "flair_url": null,1046 "flair_color": null,1047 "flair_bg_color": null,1048 "flair_group_id": null,1049 "trust_level": 11050 },1051 {1052 "id": 39284,1053 "username": "AndreasW",1054 "name": "Andreas",1055 "avatar_template": "/letter_avatar_proxy/v4/letter/a/bcef8e/{size}.png",1056 "post_count": 1,1057 "primary_group_name": null,1058 "flair_name": null,1059 "flair_url": null,1060 "flair_color": null,1061 "flair_bg_color": null,1062 "flair_group_id": null,1063 "trust_level": 11064 }1065 ],1066 "created_by": {1067 "id": 23519,1068 "username": "sr_frost",1069 "name": "",1070 "avatar_template": "/letter_avatar_proxy/v4/letter/s/82dd89/{size}.png"1071 },1072 "last_poster": {1073 "id": 39284,1074 "username": "AndreasW",1075 "name": "Andreas",1076 "avatar_template": "/letter_avatar_proxy/v4/letter/a/bcef8e/{size}.png"1077 }1078 },1079 "bookmarks": []1080 },1081 {1082 "post_stream": {1083 "posts": [1084 {1085 "id": 245409,1086 "name": "",1087 "username": "qmeeus",1088 "avatar_template": "/user_avatar/discuss.pytorch.org/qmeeus/{size}/26453_2.png",1089 "created_at": "2020-11-19T11:56:23.985Z",1090 "cooked": "<p>I am experiencing a really strange issue with out of memory errors on pytorch:</p>\n<pre><code class=\"lang-bash\">$ python -c \"import torch; torch.randn(12,12).cuda()\"\nTraceback (most recent call last):\n File \"<string>\", line 1, in <module>\nRuntimeError: CUDA error: out of memory\n</code></pre>\n<p>Background information:<br>\nI just created a new environment with the following (from the documentation):</p>\n<pre><code class=\"lang-bash\">conda create -n pytorch-test\nconda install -n pytorch-test -c pytorch pytorch cudatoolkit=11.0\n</code></pre>\n<p>And my GPU:</p>\n<pre><code class=\"lang-bash\">$ echo $CUDA_VISIBLE_DEVICES \n2\n$ nvidia-smi -i 2 \nThu Nov 19 12:52:56 2020\n+-----------------------------------------------------------------------------+\n| NVIDIA-SMI 455.38 Driver Version: 455.38 CUDA Version: 11.1 |\n|-------------------------------+----------------------+----------------------+\n| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |\n| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |\n| | | MIG M. |\n|===============================+======================+======================|\n| 2 Tesla P100-PCIE... Off | 00000000:0E:00.0 Off | 2 |\n| N/A 47C P0 29W / 250W | 2MiB / 16280MiB | 0% E. Process |\n| | | N/A |\n+-------------------------------+----------------------+----------------------+\n\n+-----------------------------------------------------------------------------+\n| Processes: |\n| GPU GI CI PID Type Process name GPU Memory |\n| ID ID Usage |\n|=============================================================================|\n| No running processes found |\n+-----------------------------------------------------------------------------+\n</code></pre>\n<p>Any help is much appreciated, I kinda desperate here <img src=\"https://discuss.pytorch.org/images/emoji/apple/sweat_smile.png?v=9\" title=\":sweat_smile:\" class=\"emoji\" alt=\":sweat_smile:\"></p>\n<p>[EDIT]: This seems to be more of a hardware issue. I am experiencing the same problem with a new installation of tensorflow, following the exact same steps… Still, if you have any pointer to solve this, I take it</p>",1091 "post_number": 1,1092 "post_type": 1,1093 "posts_count": 3,1094 "updated_at": "2020-11-19T12:15:21.707Z",1095 "reply_count": 0,1096 "reply_to_post_number": null,1097 "quote_count": 0,1098 "incoming_link_count": 182,1099 "reads": 11,1100 "readers_count": 10,1101 "score": 912.2,1102 "yours": false,1103 "topic_id": 103375,1104 "topic_slug": "really-strange-oom-error-on-new-pytorch-install",1105 "display_username": "",1106 "primary_group_name": null,1107 "flair_name": null,1108 "flair_url": null,1109 "flair_bg_color": null,1110 "flair_color": null,1111 "flair_group_id": null,1112 "badges_granted": [],1113 "version": 2,1114 "can_edit": false,1115 "can_delete": false,1116 "can_recover": false,1117 "can_see_hidden_post": false,1118 "can_wiki": false,1119 "read": true,1120 "user_title": null,1121 "bookmarked": false,1122 "actions_summary": [],1123 "moderator": false,1124 "admin": false,1125 "staff": false,1126 "user_id": 32625,1127 "hidden": false,1128 "trust_level": 2,1129 "deleted_at": null,1130 "user_deleted": false,1131 "edit_reason": null,1132 "can_view_edit_history": true,1133 "wiki": false,1134 "post_url": "/t/really-strange-oom-error-on-new-pytorch-install/103375/1",1135 "can_accept_answer": false,1136 "can_unaccept_answer": false,1137 "accepted_answer": false,1138 "topic_accepted_answer": null,1139 "can_vote": false1140 },1141 {1142 "id": 245980,1143 "name": "",1144 "username": "ptrblck",1145 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1146 "created_at": "2020-11-21T11:58:44.776Z",1147 "cooked": "<p>Could you switch the GPU from <code>EXCLUSIVE Process</code> to the default via <code>nvidia-smi -i 0 -c 0</code> and check if it’s changing the behavior?</p>",1148 "post_number": 2,1149 "post_type": 1,1150 "posts_count": 3,1151 "updated_at": "2020-11-21T11:58:44.776Z",1152 "reply_count": 1,1153 "reply_to_post_number": null,1154 "quote_count": 0,1155 "incoming_link_count": 0,1156 "reads": 8,1157 "readers_count": 7,1158 "score": 6.6,1159 "yours": false,1160 "topic_id": 103375,1161 "topic_slug": "really-strange-oom-error-on-new-pytorch-install",1162 "display_username": "",1163 "primary_group_name": null,1164 "flair_name": null,1165 "flair_url": null,1166 "flair_bg_color": null,1167 "flair_color": null,1168 "flair_group_id": null,1169 "badges_granted": [],1170 "version": 1,1171 "can_edit": false,1172 "can_delete": false,1173 "can_recover": false,1174 "can_see_hidden_post": false,1175 "can_wiki": false,1176 "read": true,1177 "user_title": "",1178 "bookmarked": false,1179 "actions_summary": [],1180 "moderator": true,1181 "admin": true,1182 "staff": true,1183 "user_id": 3534,1184 "hidden": false,1185 "trust_level": 2,1186 "deleted_at": null,1187 "user_deleted": false,1188 "edit_reason": null,1189 "can_view_edit_history": true,1190 "wiki": false,1191 "post_url": "/t/really-strange-oom-error-on-new-pytorch-install/103375/2",1192 "can_accept_answer": false,1193 "can_unaccept_answer": false,1194 "accepted_answer": false,1195 "topic_accepted_answer": null1196 },1197 {1198 "id": 246983,1199 "name": "",1200 "username": "qmeeus",