CoolFace
Datasetpublic

Anurag1734/cuda-error-resolution-analysis

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes7downloads
topics_batch_74.json62858 linesDownload Raw Back to raw
1[2  {3    "post_stream": {4      "posts": [5        {6          "id": 435967,7          "name": "JakobAK",8          "username": "JakobAK",9          "avatar_template": "/letter_avatar_proxy/v4/letter/j/f08c70/{size}.png",10          "created_at": "2024-03-14T08:27:13.970Z",11          "cooked": "<p>I have installed:</p>\n<ul>\n<li>NVIDIA-SMI 551.61,</li>\n<li>Driver Version: 551.61,</li>\n<li>CUDA Version: 12.4,<br>\nand I’m about to install CUDA toolkit to enable pytorch locally.<br>\nI see that the latest pytorch version is compatible with CUDA toolkit 12.1.<br>\nShould I install CUDA toolkit 12.4 or 12.1?<br>\nI am running windows 11 with GPU =  NVIDIA RTX 2000 Ada<br>\nThanks in advance!</li>\n</ul>",12          "post_number": 1,13          "post_type": 1,14          "posts_count": 2,15          "updated_at": "2024-03-14T09:13:27.243Z",16          "reply_count": 0,17          "reply_to_post_number": null,18          "quote_count": 0,19          "incoming_link_count": 1570,20          "reads": 11,21          "readers_count": 10,22          "score": 7852.2,23          "yours": false,24          "topic_id": 198869,25          "topic_slug": "cuda-driver-cuda-toolkit-and-pytorch",26          "display_username": "JakobAK",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": 3,35          "can_edit": false,36          "can_delete": false,37          "can_recover": false,38          "can_see_hidden_post": false,39          "can_wiki": false,40          "read": true,41          "user_title": "",42          "bookmarked": false,43          "actions_summary": [],44          "moderator": false,45          "admin": false,46          "staff": false,47          "user_id": 74132,48          "hidden": false,49          "trust_level": 1,50          "deleted_at": null,51          "user_deleted": false,52          "edit_reason": null,53          "can_view_edit_history": true,54          "wiki": false,55          "post_url": "/t/cuda-driver-cuda-toolkit-and-pytorch/198869/1",56          "can_accept_answer": false,57          "can_unaccept_answer": false,58          "accepted_answer": false,59          "topic_accepted_answer": null,60          "can_vote": false61        },62        {63          "id": 435993,64          "name": "",65          "username": "ptrblck",66          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",67          "created_at": "2024-03-14T12:58:17.688Z",68          "cooked": "<p>The PyTorch binaries ship with their own CUDA dependencies and your locally installed CUDA toolkit will be used if you build from source or custom CUDA extensions.</p>",69          "post_number": 2,70          "post_type": 1,71          "posts_count": 2,72          "updated_at": "2024-03-14T12:58:17.688Z",73          "reply_count": 0,74          "reply_to_post_number": null,75          "quote_count": 0,76          "incoming_link_count": 26,77          "reads": 9,78          "readers_count": 8,79          "score": 146.8,80          "yours": false,81          "topic_id": 198869,82          "topic_slug": "cuda-driver-cuda-toolkit-and-pytorch",83          "display_username": "",84          "primary_group_name": null,85          "flair_name": null,86          "flair_url": null,87          "flair_bg_color": null,88          "flair_color": null,89          "flair_group_id": null,90          "badges_granted": [],91          "version": 1,92          "can_edit": false,93          "can_delete": false,94          "can_recover": false,95          "can_see_hidden_post": false,96          "can_wiki": false,97          "read": true,98          "user_title": "",99          "bookmarked": false,100          "actions_summary": [101            {102              "id": 2,103              "count": 1104            }105          ],106          "moderator": true,107          "admin": true,108          "staff": true,109          "user_id": 3534,110          "hidden": false,111          "trust_level": 2,112          "deleted_at": null,113          "user_deleted": false,114          "edit_reason": null,115          "can_view_edit_history": true,116          "wiki": false,117          "post_url": "/t/cuda-driver-cuda-toolkit-and-pytorch/198869/2",118          "can_accept_answer": false,119          "can_unaccept_answer": false,120          "accepted_answer": false,121          "topic_accepted_answer": null122        }123      ],124      "stream": [125        435967,126        435993127      ]128    },129    "timeline_lookup": [130      [131        1,132        590133      ]134    ],135    "suggested_topics": [136      {137        "fancy_title": "[No CUDA GPUs are available] CUDA 12.2 w/ PyTorch 2.1.0+cu121",138        "id": 212823,139        "title": "[No CUDA GPUs are available] CUDA 12.2 w/ PyTorch 2.1.0+cu121",140        "slug": "no-cuda-gpus-are-available-cuda-12-2-w-pytorch-2-1-0-cu121",141        "posts_count": 2,142        "reply_count": 0,143        "highest_post_number": 2,144        "image_url": null,145        "created_at": "2024-11-11T22:49:55.086Z",146        "last_posted_at": "2024-11-12T13:27:34.905Z",147        "bumped": true,148        "bumped_at": "2024-11-12T13:27:34.905Z",149        "archetype": "regular",150        "unseen": false,151        "pinned": false,152        "unpinned": null,153        "visible": true,154        "closed": false,155        "archived": false,156        "bookmarked": null,157        "liked": null,158        "tags_descriptions": {},159        "like_count": 0,160        "views": 461,161        "category_id": 36,162        "featured_link": null,163        "has_accepted_answer": false,164        "posters": [165          {166            "extras": null,167            "description": "Original Poster",168            "user": {169              "id": 80831,170              "username": "James_Jang",171              "name": "James Jang",172              "avatar_template": "/user_avatar/discuss.pytorch.org/james_jang/{size}/73925_2.png",173              "trust_level": 1174            }175          },176          {177            "extras": "latest",178            "description": "Most Recent Poster",179            "user": {180              "id": 3534,181              "username": "ptrblck",182              "name": "",183              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",184              "admin": true,185              "moderator": true,186              "trust_level": 2187            }188          }189        ]190      },191      {192        "fancy_title": "Expected input batch_size (220) to match target batch_size (63)",193        "id": 216688,194        "title": "Expected input batch_size (220) to match target batch_size (63)",195        "slug": "expected-input-batch-size-220-to-match-target-batch-size-63",196        "posts_count": 3,197        "reply_count": 1,198        "highest_post_number": 3,199        "image_url": null,200        "created_at": "2025-02-14T18:46:48.450Z",201        "last_posted_at": "2025-02-15T12:16:42.116Z",202        "bumped": true,203        "bumped_at": "2025-02-15T12:16:42.116Z",204        "archetype": "regular",205        "unseen": false,206        "pinned": false,207        "unpinned": null,208        "visible": true,209        "closed": false,210        "archived": false,211        "bookmarked": null,212        "liked": null,213        "tags_descriptions": {},214        "like_count": 0,215        "views": 64,216        "category_id": 36,217        "featured_link": null,218        "has_accepted_answer": false,219        "posters": [220          {221            "extras": "latest",222            "description": "Original Poster, Most Recent Poster",223            "user": {224              "id": 82694,225              "username": "Hana_AlRasheed",226              "name": "Hana AlRasheed",227              "avatar_template": "/user_avatar/discuss.pytorch.org/hana_alrasheed/{size}/75664_2.png",228              "trust_level": 0229            }230          },231          {232            "extras": null,233            "description": "Frequent Poster",234            "user": {235              "id": 3534,236              "username": "ptrblck",237              "name": "",238              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",239              "admin": true,240              "moderator": true,241              "trust_level": 2242            }243          }244        ]245      },246      {247        "fancy_title": "Relevance score in ViT model",248        "id": 215470,249        "title": "Relevance score in ViT model",250        "slug": "relevance-score-in-vit-model",251        "posts_count": 1,252        "reply_count": 0,253        "highest_post_number": 1,254        "image_url": null,255        "created_at": "2025-01-16T11:46:40.044Z",256        "last_posted_at": "2025-01-16T11:46:40.090Z",257        "bumped": true,258        "bumped_at": "2025-01-16T11:46:40.090Z",259        "archetype": "regular",260        "unseen": false,261        "pinned": false,262        "unpinned": null,263        "visible": true,264        "closed": false,265        "archived": false,266        "bookmarked": null,267        "liked": null,268        "tags_descriptions": {},269        "like_count": 0,270        "views": 104,271        "category_id": 36,272        "featured_link": null,273        "has_accepted_answer": false,274        "posters": [275          {276            "extras": "latest single",277            "description": "Original Poster, Most Recent Poster",278            "user": {279              "id": 72886,280              "username": "Kallel_Mariem",281              "name": "Kallel Mariem",282              "avatar_template": "/user_avatar/discuss.pytorch.org/kallel_mariem/{size}/64790_2.png",283              "trust_level": 1284            }285          }286        ]287      },288      {289        "fancy_title": "train code with pyTorch",290        "id": 215559,291        "title": "train code with pyTorch",292        "slug": "train-code-with-pytorch",293        "posts_count": 3,294        "reply_count": 2,295        "highest_post_number": 4,296        "image_url": null,297        "created_at": "2025-01-18T14:30:46.124Z",298        "last_posted_at": "2025-01-18T22:47:04.671Z",299        "bumped": true,300        "bumped_at": "2025-01-18T22:47:04.671Z",301        "archetype": "regular",302        "unseen": false,303        "pinned": false,304        "unpinned": null,305        "visible": true,306        "closed": false,307        "archived": false,308        "bookmarked": null,309        "liked": null,310        "tags_descriptions": {},311        "like_count": 0,312        "views": 290,313        "category_id": 36,314        "featured_link": null,315        "has_accepted_answer": false,316        "posters": [317          {318            "extras": null,319            "description": "Original Poster",320            "user": {321              "id": 82152,322              "username": "stev",323              "name": null,324              "avatar_template": "/letter_avatar_proxy/v4/letter/s/a6a055/{size}.png",325              "trust_level": 0326            }327          },328          {329            "extras": "latest",330            "description": "Most Recent Poster",331            "user": {332              "id": 3534,333              "username": "ptrblck",334              "name": "",335              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",336              "admin": true,337              "moderator": true,338              "trust_level": 2339            }340          }341        ]342      },343      {344        "fancy_title": "Cuda 12.4 vs Pytorch ___ compatibility (latest)",345        "id": 217171,346        "title": "Cuda 12.4 vs Pytorch ___ compatibility (latest)",347        "slug": "cuda-12-4-vs-pytorch-compatibility-latest",348        "posts_count": 2,349        "reply_count": 0,350        "highest_post_number": 2,351        "image_url": null,352        "created_at": "2025-02-26T07:42:15.291Z",353        "last_posted_at": "2025-02-26T13:32:53.656Z",354        "bumped": true,355        "bumped_at": "2025-02-26T13:32:53.656Z",356        "archetype": "regular",357        "unseen": false,358        "pinned": false,359        "unpinned": null,360        "visible": true,361        "closed": false,362        "archived": false,363        "bookmarked": null,364        "liked": null,365        "tags_descriptions": {},366        "like_count": 0,367        "views": 518,368        "category_id": 36,369        "featured_link": null,370        "has_accepted_answer": false,371        "posters": [372          {373            "extras": null,374            "description": "Original Poster",375            "user": {376              "id": 82794,377              "username": "Mohan_Krishna",378              "name": "Mohan Krishna",379              "avatar_template": "/user_avatar/discuss.pytorch.org/mohan_krishna/{size}/75758_2.png",380              "trust_level": 1381            }382          },383          {384            "extras": "latest",385            "description": "Most Recent Poster",386            "user": {387              "id": 3534,388              "username": "ptrblck",389              "name": "",390              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",391              "admin": true,392              "moderator": true,393              "trust_level": 2394            }395          }396        ]397      }398    ],399    "tags_descriptions": {},400    "fancy_title": "CUDA driver, CUDA toolkit and Pytorch",401    "id": 198869,402    "title": "CUDA driver, CUDA toolkit and Pytorch",403    "posts_count": 2,404    "created_at": "2024-03-14T08:27:13.885Z",405    "views": 2334,406    "reply_count": 0,407    "like_count": 1,408    "last_posted_at": "2024-03-14T12:58:17.688Z",409    "visible": true,410    "closed": false,411    "archived": false,412    "has_summary": false,413    "archetype": "regular",414    "slug": "cuda-driver-cuda-toolkit-and-pytorch",415    "category_id": 36,416    "word_count": 92,417    "deleted_at": null,418    "user_id": 74132,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_198869",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    "can_vote": false,468    "vote_count": 0,469    "user_voted": false,470    "discourse_zendesk_plugin_zendesk_id": null,471    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",472    "details": {473      "can_edit": false,474      "notification_level": 1,475      "participants": [476        {477          "id": 3534,478          "username": "ptrblck",479          "name": "",480          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",481          "post_count": 1,482          "primary_group_name": null,483          "flair_name": null,484          "flair_url": null,485          "flair_color": null,486          "flair_bg_color": null,487          "flair_group_id": null,488          "admin": true,489          "moderator": true,490          "trust_level": 2491        },492        {493          "id": 74132,494          "username": "JakobAK",495          "name": "JakobAK",496          "avatar_template": "/letter_avatar_proxy/v4/letter/j/f08c70/{size}.png",497          "post_count": 1,498          "primary_group_name": null,499          "flair_name": null,500          "flair_url": null,501          "flair_color": null,502          "flair_bg_color": null,503          "flair_group_id": null,504          "trust_level": 1505        }506      ],507      "created_by": {508        "id": 74132,509        "username": "JakobAK",510        "name": "JakobAK",511        "avatar_template": "/letter_avatar_proxy/v4/letter/j/f08c70/{size}.png"512      },513      "last_poster": {514        "id": 3534,515        "username": "ptrblck",516        "name": "",517        "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"518      }519    },520    "bookmarks": []521  },522  {523    "post_stream": {524      "posts": [525        {526          "id": 435991,527          "name": "OpenEyes VO",528          "username": "OpenEyes_VO",529          "avatar_template": "/user_avatar/discuss.pytorch.org/openeyes_vo/{size}/62909_2.png",530          "created_at": "2024-03-14T12:56:45.722Z",531          "cooked": "<p>I am using above code for training RLHF for answer generation.</p>\n<pre><code class=\"lang-auto\">learning_rate=1.41e-5\nmax_ppo_epochs=1\nmini_batch_size=4\nbatch_size=16\n\nconfig = PPOConfig(\n    model_name=model_name,\n    learning_rate=learning_rate,\n    ppo_epochs=max_ppo_epochs,\n    mini_batch_size=mini_batch_size,\n    batch_size=batch_size\n)\n\nppo_trainer = PPOTrainer(config=config,\n                         model=ppo_model,\n                         ref_model=ref_model,\n                         tokenizer=tokenizer,\n                         dataset=dataset_train,\n                         data_collator=collator)\n</code></pre>\n<p>but while running this code I am getting error like</p>\n<pre><code class=\"lang-auto\">---------------------------------------------------------------------------\nValueError                                Traceback (most recent call last)\n&lt;ipython-input-41-5fa467fb1768&gt; in &lt;cell line: 14&gt;()\n     12 )\n     13 \n---&gt; 14 ppo_trainer = PPOTrainer(config=config,\n     15                          model=ppo_model,\n     16                          ref_model=ref_model,\n\n3 frames\n/usr/local/lib/python3.10/dist-packages/torch/utils/data/sampler.py in __init__(self, data_source, replacement, num_samples, generator)\n    141 \n    142         if not isinstance(self.num_samples, int) or self.num_samples &lt;= 0:\n--&gt; 143             raise ValueError(f\"num_samples should be a positive integer value, but got num_samples={self.num_samples}\")\n    144 \n    145     @property\n\nValueError: num_samples should be a positive integer value, but got num_samples=0\n</code></pre>\n<p>How to solve this error? Thanks in advance.</p>",532          "post_number": 1,533          "post_type": 1,534          "posts_count": 1,535          "updated_at": "2024-03-14T12:56:45.722Z",536          "reply_count": 0,537          "reply_to_post_number": null,538          "quote_count": 0,539          "incoming_link_count": 50,540          "reads": 3,541          "readers_count": 2,542          "score": 250.6,543          "yours": false,544          "topic_id": 198889,545          "topic_slug": "while-training-rlhf-model-i-am-getting-error-like-valueerror-num-samples-should-be-a-positive-integer-value-but-got-num-samples-0",546          "display_username": "OpenEyes VO",547          "primary_group_name": null,548          "flair_name": null,549          "flair_url": null,550          "flair_bg_color": null,551          "flair_color": null,552          "flair_group_id": null,553          "badges_granted": [],554          "version": 1,555          "can_edit": false,556          "can_delete": false,557          "can_recover": false,558          "can_see_hidden_post": false,559          "can_wiki": false,560          "read": true,561          "user_title": null,562          "bookmarked": false,563          "actions_summary": [],564          "moderator": false,565          "admin": false,566          "staff": false,567          "user_id": 74133,568          "hidden": false,569          "trust_level": 0,570          "deleted_at": null,571          "user_deleted": false,572          "edit_reason": null,573          "can_view_edit_history": true,574          "wiki": false,575          "post_url": "/t/while-training-rlhf-model-i-am-getting-error-like-valueerror-num-samples-should-be-a-positive-integer-value-but-got-num-samples-0/198889/1",576          "can_accept_answer": false,577          "can_unaccept_answer": false,578          "accepted_answer": false,579          "topic_accepted_answer": null,580          "can_vote": false581        }582      ],583      "stream": [584        435991585      ]586    },587    "timeline_lookup": [588      [589        1,590        590591      ]592    ],593    "suggested_topics": [594      {595        "fancy_title": "I have some problems with algorithm realization",596        "id": 215551,597        "title": "I have some problems with algorithm realization",598        "slug": "i-have-some-problems-with-algorithm-realization",599        "posts_count": 1,600        "reply_count": 0,601        "highest_post_number": 1,602        "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/f/3/f3e5361a7440038f7bc9833cc57e086775ea8bd6_2_1024x600.png",603        "created_at": "2025-01-18T10:42:06.877Z",604        "last_posted_at": "2025-01-18T10:42:06.921Z",605        "bumped": true,606        "bumped_at": "2025-01-18T10:45:59.290Z",607        "archetype": "regular",608        "unseen": false,609        "pinned": false,610        "unpinned": null,611        "visible": true,612        "closed": false,613        "archived": false,614        "bookmarked": null,615        "liked": null,616        "tags_descriptions": {},617        "like_count": 0,618        "views": 49,619        "category_id": 6,620        "featured_link": null,621        "has_accepted_answer": false,622        "posters": [623          {624            "extras": "latest single",625            "description": "Original Poster, Most Recent Poster",626            "user": {627              "id": 82160,628              "username": "FLAH",629              "name": "",630              "avatar_template": "/user_avatar/discuss.pytorch.org/flah/{size}/75175_2.png",631              "trust_level": 1632            }633          }634        ]635      },636      {637        "fancy_title": "TorchRL Probabilistic Actor Returning Continuous Actions Despite Given Bounded Discrete Action Spec",638        "id": 213823,639        "title": "TorchRL Probabilistic Actor Returning Continuous Actions Despite Given Bounded Discrete Action Spec",640        "slug": "torchrl-probabilistic-actor-returning-continuous-actions-despite-given-bounded-discrete-action-spec",641        "posts_count": 2,642        "reply_count": 0,643        "highest_post_number": 2,644        "image_url": null,645        "created_at": "2024-12-05T00:09:47.309Z",646        "last_posted_at": "2024-12-05T08:12:23.444Z",647        "bumped": true,648        "bumped_at": "2024-12-05T08:12:23.444Z",649        "archetype": "regular",650        "unseen": false,651        "pinned": false,652        "unpinned": null,653        "visible": true,654        "closed": false,655        "archived": false,656        "bookmarked": null,657        "liked": null,658        "tags_descriptions": {},659        "like_count": 0,660        "views": 81,661        "category_id": 6,662        "featured_link": null,663        "has_accepted_answer": false,664        "posters": [665          {666            "extras": null,667            "description": "Original Poster",668            "user": {669              "id": 81312,670              "username": "SashaBoguraev",671              "name": "Sasha Boguraev",672              "avatar_template": "/user_avatar/discuss.pytorch.org/sashaboguraev/{size}/74363_2.png",673              "trust_level": 0674            }675          },676          {677            "extras": "latest",678            "description": "Most Recent Poster",679            "user": {680              "id": 33609,681              "username": "vmoens",682              "name": "Vincent Moens",683              "avatar_template": "/user_avatar/discuss.pytorch.org/vmoens/{size}/26121_2.png",684              "trust_level": 2685            }686          }687        ]688      },689      {690        "fancy_title": "RuntimeError: Gradient computation modified by an inplace operation",691        "id": 212813,692        "title": "RuntimeError: Gradient computation modified by an inplace operation",693        "slug": "runtimeerror-gradient-computation-modified-by-an-inplace-operation",694        "posts_count": 2,695        "reply_count": 0,696        "highest_post_number": 2,697        "image_url": null,698        "created_at": "2024-11-11T17:07:15.503Z",699        "last_posted_at": "2025-01-17T11:09:43.719Z",700        "bumped": true,701        "bumped_at": "2025-01-17T11:09:43.719Z",702        "archetype": "regular",703        "unseen": false,704        "pinned": false,705        "unpinned": null,706        "visible": true,707        "closed": false,708        "archived": false,709        "bookmarked": null,710        "liked": null,711        "tags_descriptions": {},712        "like_count": 0,713        "views": 222,714        "category_id": 6,715        "featured_link": null,716        "has_accepted_answer": false,717        "posters": [718          {719            "extras": null,720            "description": "Original Poster",721            "user": {722              "id": 80824,723              "username": "Jerome",724              "name": "Jerome",725              "avatar_template": "/letter_avatar_proxy/v4/letter/j/a587f6/{size}.png",726              "trust_level": 0727            }728          },729          {730            "extras": "latest",731            "description": "Most Recent Poster",732            "user": {733              "id": 33609,734              "username": "vmoens",735              "name": "Vincent Moens",736              "avatar_template": "/user_avatar/discuss.pytorch.org/vmoens/{size}/26121_2.png",737              "trust_level": 2738            }739          }740        ]741      },742      {743        "fancy_title": "Correct way of using foreach_worker and foreach_env",744        "id": 214025,745        "title": "Correct way of using foreach_worker and foreach_env",746        "slug": "correct-way-of-using-foreach-worker-and-foreach-env",747        "posts_count": 1,748        "reply_count": 0,749        "highest_post_number": 1,750        "image_url": null,751        "created_at": "2024-12-10T05:03:49.994Z",752        "last_posted_at": "2024-12-10T05:03:50.043Z",753        "bumped": true,754        "bumped_at": "2024-12-10T05:03:50.043Z",755        "archetype": "regular",756        "unseen": false,757        "pinned": false,758        "unpinned": null,759        "visible": true,760        "closed": false,761        "archived": false,762        "bookmarked": null,763        "liked": null,764        "tags_descriptions": {},765        "like_count": 0,766        "views": 136,767        "category_id": 6,768        "featured_link": null,769        "has_accepted_answer": false,770        "posters": [771          {772            "extras": "latest single",773            "description": "Original Poster, Most Recent Poster",774            "user": {775              "id": 75567,776              "username": "abidmeeraj",777              "name": "Abid Ali",778              "avatar_template": "/user_avatar/discuss.pytorch.org/abidmeeraj/{size}/62834_2.png",779              "trust_level": 1780            }781          }782        ]783      },784      {785        "fancy_title": "Torchrl kl_div for old and new policy",786        "id": 218844,787        "title": "Torchrl kl_div for old and new policy",788        "slug": "torchrl-kl-div-for-old-and-new-policy",789        "posts_count": 1,790        "reply_count": 0,791        "highest_post_number": 1,792        "image_url": null,793        "created_at": "2025-04-07T22:04:47.411Z",794        "last_posted_at": "2025-04-07T22:04:47.453Z",795        "bumped": true,796        "bumped_at": "2025-04-07T22:07:41.677Z",797        "archetype": "regular",798        "unseen": false,799        "pinned": false,800        "unpinned": null,801        "visible": true,802        "closed": false,803        "archived": false,804        "bookmarked": null,805        "liked": null,806        "tags_descriptions": {},807        "like_count": 0,808        "views": 40,809        "category_id": 6,810        "featured_link": null,811        "has_accepted_answer": false,812        "posters": [813          {814            "extras": "latest single",815            "description": "Original Poster, Most Recent Poster",816            "user": {817              "id": 73402,818              "username": "manavkoolz",819              "name": "Manav Kulshrestha",820              "avatar_template": "/user_avatar/discuss.pytorch.org/manavkoolz/{size}/67748_2.png",821              "trust_level": 1822            }823          }824        ]825      }826    ],827    "tags_descriptions": {},828    "fancy_title": "While training RLHF model I am getting error like, ValueError: num_samples should be a positive integer value, but got num_samples=0",829    "id": 198889,830    "title": "While training RLHF model I am getting error like, ValueError: num_samples should be a positive integer value, but got num_samples=0",831    "posts_count": 1,832    "created_at": "2024-03-14T12:56:45.646Z",833    "views": 273,834    "reply_count": 0,835    "like_count": 0,836    "last_posted_at": "2024-03-14T12:56:45.722Z",837    "visible": true,838    "closed": false,839    "archived": false,840    "has_summary": false,841    "archetype": "regular",842    "slug": "while-training-rlhf-model-i-am-getting-error-like-valueerror-num-samples-should-be-a-positive-integer-value-but-got-num-samples-0",843    "category_id": 6,844    "word_count": 156,845    "deleted_at": null,846    "user_id": 74133,847    "featured_link": null,848    "pinned_globally": false,849    "pinned_at": null,850    "pinned_until": null,851    "image_url": null,852    "slow_mode_seconds": 0,853    "draft": null,854    "draft_key": "topic_198889",855    "draft_sequence": null,856    "unpinned": null,857    "pinned": false,858    "current_post_number": 1,859    "highest_post_number": 1,860    "deleted_by": null,861    "actions_summary": [862      {863        "id": 4,864        "count": 0,865        "hidden": false,866        "can_act": false867      },868      {869        "id": 8,870        "count": 0,871        "hidden": false,872        "can_act": false873      },874      {875        "id": 10,876        "count": 0,877        "hidden": false,878        "can_act": false879      },880      {881        "id": 7,882        "count": 0,883        "hidden": false,884        "can_act": false885      }886    ],887    "chunk_size": 20,888    "bookmarked": false,889    "topic_timer": null,890    "message_bus_last_id": 0,891    "participant_count": 1,892    "show_read_indicator": false,893    "thumbnails": null,894    "slow_mode_enabled_until": null,895    "can_vote": false,896    "vote_count": 0,897    "user_voted": false,898    "discourse_zendesk_plugin_zendesk_id": null,899    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",900    "details": {901      "can_edit": false,902      "notification_level": 1,903      "participants": [904        {905          "id": 74133,906          "username": "OpenEyes_VO",907          "name": "OpenEyes VO",908          "avatar_template": "/user_avatar/discuss.pytorch.org/openeyes_vo/{size}/62909_2.png",909          "post_count": 1,910          "primary_group_name": null,911          "flair_name": null,912          "flair_url": null,913          "flair_color": null,914          "flair_bg_color": null,915          "flair_group_id": null,916          "trust_level": 0917        }918      ],919      "created_by": {920        "id": 74133,921        "username": "OpenEyes_VO",922        "name": "OpenEyes VO",923        "avatar_template": "/user_avatar/discuss.pytorch.org/openeyes_vo/{size}/62909_2.png"924      },925      "last_poster": {926        "id": 74133,927        "username": "OpenEyes_VO",928        "name": "OpenEyes VO",929        "avatar_template": "/user_avatar/discuss.pytorch.org/openeyes_vo/{size}/62909_2.png"930      }931    },932    "bookmarks": []933  },934  {935    "post_stream": {936      "posts": [937        {938          "id": 435989,939          "name": "Abdul Rahmaan",940          "username": "Abdul_Rahmaan",941          "avatar_template": "/user_avatar/discuss.pytorch.org/abdul_rahmaan/{size}/68467_2.png",942          "created_at": "2024-03-14T12:56:13.188Z",943          "cooked": "<p>I’ve been trying to run models for deblurring and enhancing blurry and distorted qr code images via torch. However, none of them have been able to return the desired output despite being trained on customized QR code datasets (10,000 images) with variations to the models parameters.</p>\n<p>Are there any models which can provide an accurate result with respect to image enhancement of grayscaled images in general that could help with this task?</p>",944          "post_number": 1,945          "post_type": 1,946          "posts_count": 1,947          "updated_at": "2024-03-14T12:56:13.188Z",948          "reply_count": 0,949          "reply_to_post_number": null,950          "quote_count": 0,951          "incoming_link_count": 23,952          "reads": 2,953          "readers_count": 1,954          "score": 115.4,955          "yours": false,956          "topic_id": 198887,957          "topic_slug": "model-suggestions-for-pixelated-enhancement-of-qr-codes",958          "display_username": "Abdul Rahmaan",959          "primary_group_name": null,960          "flair_name": null,961          "flair_url": null,962          "flair_bg_color": null,963          "flair_color": null,964          "flair_group_id": null,965          "badges_granted": [],966          "version": 1,967          "can_edit": false,968          "can_delete": false,969          "can_recover": false,970          "can_see_hidden_post": false,971          "can_wiki": false,972          "read": true,973          "user_title": null,974          "bookmarked": false,975          "actions_summary": [],976          "moderator": false,977          "admin": false,978          "staff": false,979          "user_id": 74130,980          "hidden": false,981          "trust_level": 0,982          "deleted_at": null,983          "user_deleted": false,984          "edit_reason": null,985          "can_view_edit_history": true,986          "wiki": false,987          "post_url": "/t/model-suggestions-for-pixelated-enhancement-of-qr-codes/198887/1",988          "can_accept_answer": false,989          "can_unaccept_answer": false,990          "accepted_answer": false,991          "topic_accepted_answer": null,992          "can_vote": false993        }994      ],995      "stream": [996        435989997      ]998    },999    "timeline_lookup": [1000      [1001        1,1002        5901003      ]1004    ],1005    "suggested_topics": [1006      {1007        "fancy_title": "Expected input batch_size (220) to match target batch_size (63)",1008        "id": 216688,1009        "title": "Expected input batch_size (220) to match target batch_size (63)",1010        "slug": "expected-input-batch-size-220-to-match-target-batch-size-63",1011        "posts_count": 3,1012        "reply_count": 1,1013        "highest_post_number": 3,1014        "image_url": null,1015        "created_at": "2025-02-14T18:46:48.450Z",1016        "last_posted_at": "2025-02-15T12:16:42.116Z",1017        "bumped": true,1018        "bumped_at": "2025-02-15T12:16:42.116Z",1019        "archetype": "regular",1020        "unseen": false,1021        "pinned": false,1022        "unpinned": null,1023        "visible": true,1024        "closed": false,1025        "archived": false,1026        "bookmarked": null,1027        "liked": null,1028        "tags_descriptions": {},1029        "like_count": 0,1030        "views": 64,1031        "category_id": 36,1032        "featured_link": null,1033        "has_accepted_answer": false,1034        "posters": [1035          {1036            "extras": "latest",1037            "description": "Original Poster, Most Recent Poster",1038            "user": {1039              "id": 82694,1040              "username": "Hana_AlRasheed",1041              "name": "Hana AlRasheed",1042              "avatar_template": "/user_avatar/discuss.pytorch.org/hana_alrasheed/{size}/75664_2.png",1043              "trust_level": 01044            }1045          },1046          {1047            "extras": null,1048            "description": "Frequent Poster",1049            "user": {1050              "id": 3534,1051              "username": "ptrblck",1052              "name": "",1053              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1054              "admin": true,1055              "moderator": true,1056              "trust_level": 21057            }1058          }1059        ]1060      },1061      {1062        "fancy_title": "Relevance score in ViT model",1063        "id": 215470,1064        "title": "Relevance score in ViT model",1065        "slug": "relevance-score-in-vit-model",1066        "posts_count": 1,1067        "reply_count": 0,1068        "highest_post_number": 1,1069        "image_url": null,1070        "created_at": "2025-01-16T11:46:40.044Z",1071        "last_posted_at": "2025-01-16T11:46:40.090Z",1072        "bumped": true,1073        "bumped_at": "2025-01-16T11:46:40.090Z",1074        "archetype": "regular",1075        "unseen": false,1076        "pinned": false,1077        "unpinned": null,1078        "visible": true,1079        "closed": false,1080        "archived": false,1081        "bookmarked": null,1082        "liked": null,1083        "tags_descriptions": {},1084        "like_count": 0,1085        "views": 104,1086        "category_id": 36,1087        "featured_link": null,1088        "has_accepted_answer": false,1089        "posters": [1090          {1091            "extras": "latest single",1092            "description": "Original Poster, Most Recent Poster",1093            "user": {1094              "id": 72886,1095              "username": "Kallel_Mariem",1096              "name": "Kallel Mariem",1097              "avatar_template": "/user_avatar/discuss.pytorch.org/kallel_mariem/{size}/64790_2.png",1098              "trust_level": 11099            }1100          }1101        ]1102      },1103      {1104        "fancy_title": "train code with pyTorch",1105        "id": 215559,1106        "title": "train code with pyTorch",1107        "slug": "train-code-with-pytorch",1108        "posts_count": 3,1109        "reply_count": 2,1110        "highest_post_number": 4,1111        "image_url": null,1112        "created_at": "2025-01-18T14:30:46.124Z",1113        "last_posted_at": "2025-01-18T22:47:04.671Z",1114        "bumped": true,1115        "bumped_at": "2025-01-18T22:47:04.671Z",1116        "archetype": "regular",1117        "unseen": false,1118        "pinned": false,1119        "unpinned": null,1120        "visible": true,1121        "closed": false,1122        "archived": false,1123        "bookmarked": null,1124        "liked": null,1125        "tags_descriptions": {},1126        "like_count": 0,1127        "views": 290,1128        "category_id": 36,1129        "featured_link": null,1130        "has_accepted_answer": false,1131        "posters": [1132          {1133            "extras": null,1134            "description": "Original Poster",1135            "user": {1136              "id": 82152,1137              "username": "stev",1138              "name": null,1139              "avatar_template": "/letter_avatar_proxy/v4/letter/s/a6a055/{size}.png",1140              "trust_level": 01141            }1142          },1143          {1144            "extras": "latest",1145            "description": "Most Recent Poster",1146            "user": {1147              "id": 3534,1148              "username": "ptrblck",1149              "name": "",1150              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1151              "admin": true,1152              "moderator": true,1153              "trust_level": 21154            }1155          }1156        ]1157      },1158      {1159        "fancy_title": "[No CUDA GPUs are available] CUDA 12.2 w/ PyTorch 2.1.0+cu121",1160        "id": 212823,1161        "title": "[No CUDA GPUs are available] CUDA 12.2 w/ PyTorch 2.1.0+cu121",1162        "slug": "no-cuda-gpus-are-available-cuda-12-2-w-pytorch-2-1-0-cu121",1163        "posts_count": 2,1164        "reply_count": 0,1165        "highest_post_number": 2,1166        "image_url": null,1167        "created_at": "2024-11-11T22:49:55.086Z",1168        "last_posted_at": "2024-11-12T13:27:34.905Z",1169        "bumped": true,1170        "bumped_at": "2024-11-12T13:27:34.905Z",1171        "archetype": "regular",1172        "unseen": false,1173        "pinned": false,1174        "unpinned": null,1175        "visible": true,1176        "closed": false,1177        "archived": false,1178        "bookmarked": null,1179        "liked": null,1180        "tags_descriptions": {},1181        "like_count": 0,1182        "views": 461,1183        "category_id": 36,1184        "featured_link": null,1185        "has_accepted_answer": false,1186        "posters": [1187          {1188            "extras": null,1189            "description": "Original Poster",1190            "user": {1191              "id": 80831,1192              "username": "James_Jang",1193              "name": "James Jang",1194              "avatar_template": "/user_avatar/discuss.pytorch.org/james_jang/{size}/73925_2.png",1195              "trust_level": 11196            }1197          },1198          {1199            "extras": "latest",1200            "description": "Most Recent Poster",

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