CoolFace
Datasetpublic

Anurag1734/cuda-error-resolution-analysis

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes7downloads
topics_batch_132.json62192 linesDownload Raw Back to raw
1[2  {3    "post_stream": {4      "posts": [5        {6          "id": 405303,7          "name": "Daniel Sabzi",8          "username": "Daniel_Sabzi",9          "avatar_template": "/user_avatar/discuss.pytorch.org/daniel_sabzi/{size}/45800_2.png",10          "created_at": "2023-06-08T09:46:05.872Z",11          "cooked": "<p>Hi everyone,<br>\nI have a transformer model with 10 % dropout at the positional encoding and 20% dropout at both encoder and decoder layers.<br>\nIt works well with this setting in both train and test sections<br>\nWhen I remove the dropout at positional encoding layer or increase it to 15% it still works well in the training section but after 60 epochs or so the encoder starts delivering nan values in test, while training is still working well.</p>\n<p>I have an output with sequence length of 1, and thus a tgt mask [1, 1] and an src mask [1, sequence_length], with no padding mask.</p>\n<p>Any idea what can cause nan values after 60 epochs? or its relationship between positional encoding dropout?</p>\n<p>Thanks</p>",12          "post_number": 1,13          "post_type": 1,14          "posts_count": 3,15          "updated_at": "2023-06-08T11:27:13.047Z",16          "reply_count": 0,17          "reply_to_post_number": null,18          "quote_count": 0,19          "incoming_link_count": 337,20          "reads": 12,21          "readers_count": 11,22          "score": 1682.4,23          "yours": false,24          "topic_id": 181717,25          "topic_slug": "after-around-60-epochs-the-encoder-starts-delivering-nan-values-in-transformer-model",26          "display_username": "Daniel Sabzi",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": 4,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": null,42          "bookmarked": false,43          "actions_summary": [],44          "moderator": false,45          "admin": false,46          "staff": false,47          "user_id": 53564,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/after-around-60-epochs-the-encoder-starts-delivering-nan-values-in-transformer-model/181717/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": 405371,64          "name": "",65          "username": "ptrblck",66          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",67          "created_at": "2023-06-08T23:27:12.922Z",68          "cooked": "<p>Maybe you could try to use anomaly detection to raise an error if the first invalid gradient is created, which might then help isolating which layer failed first.<br>\nYou could use <a href=\"https://pytorch.org/docs/stable/autograd.html#torch.autograd.detect_anomaly\"><code>torch.autograd.detect_anomaly</code></a> and run the forward/backward pass in this context manager.</p>",69          "post_number": 2,70          "post_type": 1,71          "posts_count": 3,72          "updated_at": "2023-06-08T23:27:12.922Z",73          "reply_count": 1,74          "reply_to_post_number": null,75          "quote_count": 0,76          "incoming_link_count": 3,77          "reads": 12,78          "readers_count": 11,79          "score": 22.4,80          "yours": false,81          "topic_id": 181717,82          "topic_slug": "after-around-60-epochs-the-encoder-starts-delivering-nan-values-in-transformer-model",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          "link_counts": [98            {99              "url": "https://pytorch.org/docs/stable/autograd.html#torch.autograd.detect_anomaly",100              "internal": false,101              "reflection": false,102              "title": "Automatic differentiation package - torch.autograd — PyTorch 2.0 documentation",103              "clicks": 28104            }105          ],106          "read": true,107          "user_title": "",108          "bookmarked": false,109          "actions_summary": [],110          "moderator": true,111          "admin": true,112          "staff": true,113          "user_id": 3534,114          "hidden": false,115          "trust_level": 2,116          "deleted_at": null,117          "user_deleted": false,118          "edit_reason": null,119          "can_view_edit_history": true,120          "wiki": false,121          "post_url": "/t/after-around-60-epochs-the-encoder-starts-delivering-nan-values-in-transformer-model/181717/2",122          "can_accept_answer": false,123          "can_unaccept_answer": false,124          "accepted_answer": false,125          "topic_accepted_answer": null126        },127        {128          "id": 405451,129          "name": "Daniel Sabzi",130          "username": "Daniel_Sabzi",131          "avatar_template": "/user_avatar/discuss.pytorch.org/daniel_sabzi/{size}/45800_2.png",132          "created_at": "2023-06-09T08:57:43.161Z",133          "cooked": "<p>@ <a href=\"https://discuss.pytorch.org/u/ptrblck\">ptrblck</a><br>\nThanks.<br>\nI tried this, but as I said, the training section works just fine and it is only in the test section that I see “nan” results, even in the test the first 60 epochs work well. and after that it starts to give \"nan results for loss.<br>\nanyways, I ran it and it did not pick anything.<br>\ndo you have any idea what can be the source of such error?</p>",134          "post_number": 3,135          "post_type": 1,136          "posts_count": 3,137          "updated_at": "2023-06-09T08:57:43.161Z",138          "reply_count": 0,139          "reply_to_post_number": 2,140          "quote_count": 0,141          "incoming_link_count": 2,142          "reads": 12,143          "readers_count": 11,144          "score": 12.4,145          "yours": false,146          "topic_id": 181717,147          "topic_slug": "after-around-60-epochs-the-encoder-starts-delivering-nan-values-in-transformer-model",148          "display_username": "Daniel Sabzi",149          "primary_group_name": null,150          "flair_name": null,151          "flair_url": null,152          "flair_bg_color": null,153          "flair_color": null,154          "flair_group_id": null,155          "badges_granted": [],156          "version": 1,157          "can_edit": false,158          "can_delete": false,159          "can_recover": false,160          "can_see_hidden_post": false,161          "can_wiki": false,162          "read": true,163          "user_title": null,164          "reply_to_user": {165            "id": 3534,166            "username": "ptrblck",167            "name": "",168            "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"169          },170          "bookmarked": false,171          "actions_summary": [],172          "moderator": false,173          "admin": false,174          "staff": false,175          "user_id": 53564,176          "hidden": false,177          "trust_level": 1,178          "deleted_at": null,179          "user_deleted": false,180          "edit_reason": null,181          "can_view_edit_history": true,182          "wiki": false,183          "post_url": "/t/after-around-60-epochs-the-encoder-starts-delivering-nan-values-in-transformer-model/181717/3",184          "can_accept_answer": false,185          "can_unaccept_answer": false,186          "accepted_answer": false,187          "topic_accepted_answer": null188        }189      ],190      "stream": [191        405303,192        405371,193        405451194      ]195    },196    "timeline_lookup": [197      [198        1,199        870200      ],201      [202        3,203        869204      ]205    ],206    "suggested_topics": [207      {208        "fancy_title": "Computation of nn.Linear and nn.Embedding",209        "id": 212568,210        "title": "Computation of nn.Linear and nn.Embedding",211        "slug": "computation-of-nn-linear-and-nn-embedding",212        "posts_count": 2,213        "reply_count": 0,214        "highest_post_number": 2,215        "image_url": null,216        "created_at": "2024-11-05T17:51:48.881Z",217        "last_posted_at": "2024-11-22T23:08:53.550Z",218        "bumped": true,219        "bumped_at": "2024-11-22T23:33:05.777Z",220        "archetype": "regular",221        "unseen": false,222        "pinned": false,223        "unpinned": null,224        "visible": true,225        "closed": false,226        "archived": false,227        "bookmarked": null,228        "liked": null,229        "tags_descriptions": {},230        "like_count": 0,231        "views": 227,232        "category_id": 8,233        "featured_link": null,234        "has_accepted_answer": false,235        "posters": [236          {237            "extras": null,238            "description": "Original Poster",239            "user": {240              "id": 80540,241              "username": "na50r",242              "name": "",243              "avatar_template": "/user_avatar/discuss.pytorch.org/na50r/{size}/73632_2.png",244              "trust_level": 1245            }246          },247          {248            "extras": "latest",249            "description": "Most Recent Poster",250            "user": {251              "id": 81077,252              "username": "T0BIAS",253              "name": "",254              "avatar_template": "/user_avatar/discuss.pytorch.org/t0bias/{size}/74141_2.png",255              "trust_level": 1256            }257          }258        ]259      },260      {261        "fancy_title": "TransformerDecoder masks shape error using model.eval()",262        "id": 215775,263        "title": "TransformerDecoder masks shape error using model.eval()",264        "slug": "transformerdecoder-masks-shape-error-using-model-eval",265        "posts_count": 4,266        "reply_count": 1,267        "highest_post_number": 4,268        "image_url": null,269        "created_at": "2025-01-23T14:27:08.766Z",270        "last_posted_at": "2025-01-27T15:14:26.282Z",271        "bumped": true,272        "bumped_at": "2025-01-27T15:14:26.282Z",273        "archetype": "regular",274        "unseen": false,275        "pinned": false,276        "unpinned": null,277        "visible": true,278        "closed": false,279        "archived": false,280        "bookmarked": null,281        "liked": null,282        "tags_descriptions": {},283        "like_count": 0,284        "views": 267,285        "category_id": 8,286        "featured_link": null,287        "has_accepted_answer": false,288        "posters": [289          {290            "extras": "latest",291            "description": "Original Poster, Most Recent Poster",292            "user": {293              "id": 82267,294              "username": "Mateo-drr",295              "name": "Mateo Rodriguez",296              "avatar_template": "/user_avatar/discuss.pytorch.org/mateo-drr/{size}/75262_2.png",297              "trust_level": 0298            }299          },300          {301            "extras": null,302            "description": "Frequent Poster",303            "user": {304              "id": 3534,305              "username": "ptrblck",306              "name": "",307              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",308              "admin": true,309              "moderator": true,310              "trust_level": 2311            }312          }313        ]314      },315      {316        "fancy_title": "Can someone explain the benefits of Batches?",317        "id": 212699,318        "title": "Can someone explain the benefits of Batches?",319        "slug": "can-someone-explain-the-benefits-of-batches",320        "posts_count": 3,321        "reply_count": 1,322        "highest_post_number": 3,323        "image_url": null,324        "created_at": "2024-11-08T10:12:40.115Z",325        "last_posted_at": "2024-11-08T15:24:42.721Z",326        "bumped": true,327        "bumped_at": "2024-11-08T15:24:42.721Z",328        "archetype": "regular",329        "unseen": false,330        "pinned": false,331        "unpinned": null,332        "visible": true,333        "closed": false,334        "archived": false,335        "bookmarked": null,336        "liked": null,337        "tags_descriptions": {},338        "like_count": 2,339        "views": 288,340        "category_id": 8,341        "featured_link": null,342        "has_accepted_answer": false,343        "posters": [344          {345            "extras": "latest",346            "description": "Original Poster, Most Recent Poster",347            "user": {348              "id": 80540,349              "username": "na50r",350              "name": "",351              "avatar_template": "/user_avatar/discuss.pytorch.org/na50r/{size}/73632_2.png",352              "trust_level": 1353            }354          },355          {356            "extras": null,357            "description": "Frequent Poster",358            "user": {359              "id": 77701,360              "username": "MLangner",361              "name": "",362              "avatar_template": "/letter_avatar_proxy/v4/letter/m/34f0e0/{size}.png",363              "trust_level": 1364            }365          }366        ]367      },368      {369        "fancy_title": "Feed a model with cumulative sum of sampled classified sequences",370        "id": 216055,371        "title": "Feed a model with cumulative sum of sampled classified sequences",372        "slug": "feed-a-model-with-cumulative-sum-of-sampled-classified-sequences",373        "posts_count": 1,374        "reply_count": 0,375        "highest_post_number": 1,376        "image_url": null,377        "created_at": "2025-01-30T15:22:32.244Z",378        "last_posted_at": "2025-01-30T15:22:32.285Z",379        "bumped": true,380        "bumped_at": "2025-01-30T15:22:32.285Z",381        "archetype": "regular",382        "unseen": false,383        "pinned": false,384        "unpinned": null,385        "visible": true,386        "closed": false,387        "archived": false,388        "bookmarked": null,389        "liked": null,390        "tags_descriptions": {},391        "like_count": 0,392        "views": 32,393        "category_id": 8,394        "featured_link": null,395        "has_accepted_answer": false,396        "posters": [397          {398            "extras": "latest single",399            "description": "Original Poster, Most Recent Poster",400            "user": {401              "id": 82401,402              "username": "Seam1",403              "name": "Seam",404              "avatar_template": "/user_avatar/discuss.pytorch.org/seam1/{size}/75384_2.png",405              "trust_level": 1406            }407          }408        ]409      },410      {411        "fancy_title": "Gemma 3 throws RuntimeError CUDA misaligned address",412        "id": 220507,413        "title": "Gemma 3 throws RuntimeError CUDA misaligned address",414        "slug": "gemma-3-throws-runtimeerror-cuda-misaligned-address",415        "posts_count": 2,416        "reply_count": 0,417        "highest_post_number": 2,418        "image_url": null,419        "created_at": "2025-06-02T07:00:32.299Z",420        "last_posted_at": "2025-06-03T22:25:43.492Z",421        "bumped": true,422        "bumped_at": "2025-06-03T22:25:43.492Z",423        "archetype": "regular",424        "unseen": false,425        "pinned": false,426        "unpinned": null,427        "visible": true,428        "closed": false,429        "archived": false,430        "bookmarked": null,431        "liked": null,432        "tags_descriptions": {},433        "like_count": 0,434        "views": 116,435        "category_id": 8,436        "featured_link": null,437        "has_accepted_answer": false,438        "posters": [439          {440            "extras": null,441            "description": "Original Poster",442            "user": {443              "id": 84544,444              "username": "msi-sbraun-11",445              "name": "",446              "avatar_template": "/user_avatar/discuss.pytorch.org/msi-sbraun-11/{size}/77240_2.png",447              "trust_level": 0448            }449          },450          {451            "extras": "latest",452            "description": "Most Recent Poster",453            "user": {454              "id": 3534,455              "username": "ptrblck",456              "name": "",457              "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",458              "admin": true,459              "moderator": true,460              "trust_level": 2461            }462          }463        ]464      }465    ],466    "tags_descriptions": {},467    "fancy_title": "After around 60 epochs, the encoder starts delivering nan values in transformer model",468    "id": 181717,469    "title": "After around 60 epochs, the encoder starts delivering nan values in transformer model",470    "posts_count": 3,471    "created_at": "2023-06-08T09:46:05.795Z",472    "views": 756,473    "reply_count": 1,474    "like_count": 0,475    "last_posted_at": "2023-06-09T08:57:43.161Z",476    "visible": true,477    "closed": false,478    "archived": false,479    "has_summary": false,480    "archetype": "regular",481    "slug": "after-around-60-epochs-the-encoder-starts-delivering-nan-values-in-transformer-model",482    "category_id": 8,483    "word_count": 253,484    "deleted_at": null,485    "user_id": 53564,486    "featured_link": null,487    "pinned_globally": false,488    "pinned_at": null,489    "pinned_until": null,490    "image_url": null,491    "slow_mode_seconds": 0,492    "draft": null,493    "draft_key": "topic_181717",494    "draft_sequence": null,495    "unpinned": null,496    "pinned": false,497    "current_post_number": 1,498    "highest_post_number": 3,499    "deleted_by": null,500    "actions_summary": [501      {502        "id": 4,503        "count": 0,504        "hidden": false,505        "can_act": false506      },507      {508        "id": 8,509        "count": 0,510        "hidden": false,511        "can_act": false512      },513      {514        "id": 10,515        "count": 0,516        "hidden": false,517        "can_act": false518      },519      {520        "id": 7,521        "count": 0,522        "hidden": false,523        "can_act": false524      }525    ],526    "chunk_size": 20,527    "bookmarked": false,528    "topic_timer": null,529    "message_bus_last_id": 0,530    "participant_count": 2,531    "show_read_indicator": false,532    "thumbnails": null,533    "slow_mode_enabled_until": null,534    "can_vote": false,535    "vote_count": 0,536    "user_voted": false,537    "discourse_zendesk_plugin_zendesk_id": null,538    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",539    "details": {540      "can_edit": false,541      "notification_level": 1,542      "participants": [543        {544          "id": 53564,545          "username": "Daniel_Sabzi",546          "name": "Daniel Sabzi",547          "avatar_template": "/user_avatar/discuss.pytorch.org/daniel_sabzi/{size}/45800_2.png",548          "post_count": 2,549          "primary_group_name": null,550          "flair_name": null,551          "flair_url": null,552          "flair_color": null,553          "flair_bg_color": null,554          "flair_group_id": null,555          "trust_level": 1556        },557        {558          "id": 3534,559          "username": "ptrblck",560          "name": "",561          "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",562          "post_count": 1,563          "primary_group_name": null,564          "flair_name": null,565          "flair_url": null,566          "flair_color": null,567          "flair_bg_color": null,568          "flair_group_id": null,569          "admin": true,570          "moderator": true,571          "trust_level": 2572        }573      ],574      "created_by": {575        "id": 53564,576        "username": "Daniel_Sabzi",577        "name": "Daniel Sabzi",578        "avatar_template": "/user_avatar/discuss.pytorch.org/daniel_sabzi/{size}/45800_2.png"579      },580      "last_poster": {581        "id": 53564,582        "username": "Daniel_Sabzi",583        "name": "Daniel Sabzi",584        "avatar_template": "/user_avatar/discuss.pytorch.org/daniel_sabzi/{size}/45800_2.png"585      },586      "links": [587        {588          "url": "https://pytorch.org/docs/stable/autograd.html#torch.autograd.detect_anomaly",589          "title": "Automatic differentiation package - torch.autograd — PyTorch 2.0 documentation",590          "internal": false,591          "attachment": false,592          "reflection": false,593          "clicks": 28,594          "user_id": 3534,595          "domain": "pytorch.org",596          "root_domain": "pytorch.org"597        }598      ]599    },600    "bookmarks": []601  },602  {603    "post_stream": {604      "posts": [605        {606          "id": 405117,607          "name": "Miguel Campos",608          "username": "Miguel_Campos",609          "avatar_template": "/user_avatar/discuss.pytorch.org/miguel_campos/{size}/14538_2.png",610          "created_at": "2023-06-07T09:44:08.692Z",611          "cooked": "<p>Hello all.</p>\n<p>I have begun to learn about Quantization with “dynamic quantization” as a first try.<br>\nAccording to several tutorials like this or this, it catches my attention that <code>torch.nn.Relu</code> is used in <a href=\"https://pytorch.org/tutorials/intermediate/dynamic_quantization_bert_tutorial.html#apply-the-dynamic-quantization\" rel=\"noopener nofollow ugc\">this example from the official tutorials</a> in the qconfig_spec argument of the function quantize_dynamic:</p>\n<blockquote>\n<p>quantized_model = torch.quantization.quantize_dynamic(<br>\nmodel, {torch.nn.Linear}, dtype=torch.qint8<br>\n)</p>\n</blockquote>\n<p>The tutorial says: “We specify that we want the torch.nn.Linear modules in our model to be quantized”. But to me, it is obvious that you want them to be converted to int8. You probably want everything you can convert to int8 converted.</p>\n<p>With this already being said, I would like to know if it is necessary to specify the Linear module.</p>",612          "post_number": 1,613          "post_type": 1,614          "posts_count": 3,615          "updated_at": "2023-06-07T09:46:36.342Z",616          "reply_count": 0,617          "reply_to_post_number": null,618          "quote_count": 0,619          "incoming_link_count": 243,620          "reads": 12,621          "readers_count": 11,622          "score": 1217.4,623          "yours": false,624          "topic_id": 181607,625          "topic_slug": "what-is-the-sense-of-parameter-qconfig-spec-in-quantize-dynamic",626          "display_username": "Miguel Campos",627          "primary_group_name": null,628          "flair_name": null,629          "flair_url": null,630          "flair_bg_color": null,631          "flair_color": null,632          "flair_group_id": null,633          "badges_granted": [],634          "version": 1,635          "can_edit": false,636          "can_delete": false,637          "can_recover": false,638          "can_see_hidden_post": false,639          "can_wiki": false,640          "link_counts": [641            {642              "url": "https://pytorch.org/tutorials/intermediate/dynamic_quantization_bert_tutorial.html#apply-the-dynamic-quantization",643              "internal": false,644              "reflection": false,645              "title": "(beta) Dynamic Quantization on BERT — PyTorch Tutorials 2.0.1+cu117 documentation",646              "clicks": 3647            }648          ],649          "read": true,650          "user_title": null,651          "bookmarked": false,652          "actions_summary": [],653          "moderator": false,654          "admin": false,655          "staff": false,656          "user_id": 22220,657          "hidden": false,658          "trust_level": 2,659          "deleted_at": null,660          "user_deleted": false,661          "edit_reason": null,662          "can_view_edit_history": true,663          "wiki": false,664          "post_url": "/t/what-is-the-sense-of-parameter-qconfig-spec-in-quantize-dynamic/181607/1",665          "can_accept_answer": false,666          "can_unaccept_answer": false,667          "accepted_answer": false,668          "topic_accepted_answer": true,669          "can_vote": false670        },671        {672          "id": 405383,673          "name": "Jesse Cai",674          "username": "jcaip",675          "avatar_template": "/user_avatar/discuss.pytorch.org/jcaip/{size}/53908_2.png",676          "created_at": "2023-06-09T00:17:26.320Z",677          "cooked": "<p>HI <a class=\"mention\" href=\"/u/miguel_campos\">@Miguel_Campos</a></p>\n<p>Are you talking about <code>nn.Linear</code>? I don’t see <code>nn.Relu</code> anywhere in the tutorial you linked. You need to specify the Linear.</p>\n<p>Sometimes you have more than one type of module you want to quantize, for example in the case of LSTM + Linear, seen here: <a href=\"https://pytorch.org/tutorials/recipes/recipes/dynamic_quantization.html\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">Dynamic Quantization — PyTorch Tutorials 2.0.1+cu117 documentation</a></p>\n<p>Different layers of a network have a different effect on the accuracy so thats why you may want some quantized and some not.</p>",678          "post_number": 2,679          "post_type": 1,680          "posts_count": 3,681          "updated_at": "2023-06-09T00:17:26.320Z",682          "reply_count": 0,683          "reply_to_post_number": null,684          "quote_count": 0,685          "incoming_link_count": 5,686          "reads": 11,687          "readers_count": 10,688          "score": 27.2,689          "yours": false,690          "topic_id": 181607,691          "topic_slug": "what-is-the-sense-of-parameter-qconfig-spec-in-quantize-dynamic",692          "display_username": "Jesse Cai",693          "primary_group_name": null,694          "flair_name": null,695          "flair_url": null,696          "flair_bg_color": null,697          "flair_color": null,698          "flair_group_id": null,699          "badges_granted": [],700          "version": 1,701          "can_edit": false,702          "can_delete": false,703          "can_recover": false,704          "can_see_hidden_post": false,705          "can_wiki": false,706          "link_counts": [707            {708              "url": "https://pytorch.org/tutorials/recipes/recipes/dynamic_quantization.html",709              "internal": false,710              "reflection": false,711              "title": "Dynamic Quantization — PyTorch Tutorials 2.0.1+cu117 documentation",712              "clicks": 34713            }714          ],715          "read": true,716          "user_title": null,717          "bookmarked": false,718          "actions_summary": [],719          "moderator": false,720          "admin": false,721          "staff": false,722          "user_id": 60005,723          "hidden": false,724          "trust_level": 2,725          "deleted_at": null,726          "user_deleted": false,727          "edit_reason": null,728          "can_view_edit_history": true,729          "wiki": false,730          "post_url": "/t/what-is-the-sense-of-parameter-qconfig-spec-in-quantize-dynamic/181607/2",731          "can_accept_answer": false,732          "can_unaccept_answer": false,733          "accepted_answer": true,734          "topic_accepted_answer": true735        },736        {737          "id": 405448,738          "name": "Miguel Campos",739          "username": "Miguel_Campos",740          "avatar_template": "/user_avatar/discuss.pytorch.org/miguel_campos/{size}/14538_2.png",741          "created_at": "2023-06-09T08:56:24.080Z",742          "cooked": "<p>Sorry my bad, I mean nn.Linear.</p>\n<p>Ok I see, thanks for your answer</p>",743          "post_number": 3,744          "post_type": 1,745          "posts_count": 3,746          "updated_at": "2023-06-09T08:56:24.080Z",747          "reply_count": 0,748          "reply_to_post_number": null,749          "quote_count": 0,750          "incoming_link_count": 2,751          "reads": 10,752          "readers_count": 9,753          "score": 12.0,754          "yours": false,755          "topic_id": 181607,756          "topic_slug": "what-is-the-sense-of-parameter-qconfig-spec-in-quantize-dynamic",757          "display_username": "Miguel Campos",758          "primary_group_name": null,759          "flair_name": null,760          "flair_url": null,761          "flair_bg_color": null,762          "flair_color": null,763          "flair_group_id": null,764          "badges_granted": [],765          "version": 1,766          "can_edit": false,767          "can_delete": false,768          "can_recover": false,769          "can_see_hidden_post": false,770          "can_wiki": false,771          "read": true,772          "user_title": null,773          "bookmarked": false,774          "actions_summary": [],775          "moderator": false,776          "admin": false,777          "staff": false,778          "user_id": 22220,779          "hidden": false,780          "trust_level": 2,781          "deleted_at": null,782          "user_deleted": false,783          "edit_reason": null,784          "can_view_edit_history": true,785          "wiki": false,786          "post_url": "/t/what-is-the-sense-of-parameter-qconfig-spec-in-quantize-dynamic/181607/3",787          "can_accept_answer": false,788          "can_unaccept_answer": false,789          "accepted_answer": false,790          "topic_accepted_answer": true791        }792      ],793      "stream": [794        405117,795        405383,796        405448797      ]798    },799    "timeline_lookup": [800      [801        1,802        871803      ],804      [805        2,806        870807      ],808      [809        3,810        869811      ]812    ],813    "suggested_topics": [814      {815        "fancy_title": "[pt2e][quant] Quantization of operators with multiple outputs (RNN, LSTM)",816        "id": 218207,817        "title": "[pt2e][quant] Quantization of operators with multiple outputs (RNN, LSTM)",818        "slug": "pt2e-quant-quantization-of-operators-with-multiple-outputs-rnn-lstm",819        "posts_count": 5,820        "reply_count": 1,821        "highest_post_number": 5,822        "image_url": null,823        "created_at": "2025-03-24T18:12:14.530Z",824        "last_posted_at": "2025-09-15T11:12:40.113Z",825        "bumped": true,826        "bumped_at": "2025-09-15T11:12:40.113Z",827        "archetype": "regular",828        "unseen": false,829        "pinned": false,830        "unpinned": null,831        "visible": true,832        "closed": false,833        "archived": false,834        "bookmarked": null,835        "liked": null,836        "tags_descriptions": {},837        "like_count": 1,838        "views": 245,839        "category_id": 17,840        "featured_link": null,841        "has_accepted_answer": true,842        "posters": [843          {844            "extras": "latest",845            "description": "Original Poster, Most Recent Poster, Accepted Answer",846            "user": {847              "id": 83439,848              "username": "roman-janik-nxp",849              "name": "Roman Janik Nxp",850              "avatar_template": "/user_avatar/discuss.pytorch.org/roman-janik-nxp/{size}/76316_2.png",851              "trust_level": 0852            }853          },854          {855            "extras": null,856            "description": "Frequent Poster",857            "user": {858              "id": 21770,859              "username": "jerryzh168",860              "name": "Jerry Zhang",861              "avatar_template": "/user_avatar/discuss.pytorch.org/jerryzh168/{size}/15217_2.png",862              "trust_level": 2863            }864          }865        ]866      },867      {868        "fancy_title": "BatchNorm not fusing with Cone and ReLU",869        "id": 214673,870        "title": "BatchNorm not fusing with Cone and ReLU",871        "slug": "batchnorm-not-fusing-with-cone-and-relu",872        "posts_count": 1,873        "reply_count": 0,874        "highest_post_number": 1,875        "image_url": null,876        "created_at": "2024-12-26T19:00:56.809Z",877        "last_posted_at": "2024-12-26T19:00:56.851Z",878        "bumped": true,879        "bumped_at": "2024-12-26T19:00:56.851Z",880        "archetype": "regular",881        "unseen": false,882        "pinned": false,883        "unpinned": null,884        "visible": true,885        "closed": false,886        "archived": false,887        "bookmarked": null,888        "liked": null,889        "tags_descriptions": {},890        "like_count": 0,891        "views": 52,892        "category_id": 17,893        "featured_link": null,894        "has_accepted_answer": false,895        "posters": [896          {897            "extras": "latest single",898            "description": "Original Poster, Most Recent Poster",899            "user": {900              "id": 57486,901              "username": "PROMIT_HALDAR",902              "name": "PROMIT HALDAR",903              "avatar_template": "/user_avatar/discuss.pytorch.org/promit_haldar/{size}/51273_2.png",904              "trust_level": 1905            }906          }907        ]908      },909      {910        "fancy_title": "Is dynamic quantization in fact doing weight dequant instead of activation quant for `quantize_dynamic()`",911        "id": 217763,912        "title": "Is dynamic quantization in fact doing weight dequant instead of activation quant for `quantize_dynamic()`",913        "slug": "is-dynamic-quantization-in-fact-doing-weight-dequant-instead-of-activation-quant-for-quantize-dynamic",914        "posts_count": 2,915        "reply_count": 0,916        "highest_post_number": 2,917        "image_url": null,918        "created_at": "2025-03-12T21:55:04.470Z",919        "last_posted_at": "2025-03-13T12:56:28.178Z",920        "bumped": true,921        "bumped_at": "2025-03-13T12:56:28.178Z",922        "archetype": "regular",923        "unseen": false,924        "pinned": false,925        "unpinned": null,926        "visible": true,927        "closed": false,928        "archived": false,929        "bookmarked": null,930        "liked": null,931        "tags_descriptions": {},932        "like_count": 0,933        "views": 122,934        "category_id": 17,935        "featured_link": null,936        "has_accepted_answer": false,937        "posters": [938          {939            "extras": null,940            "description": "Original Poster",941            "user": {942              "id": 83226,943              "username": "Chiao-Wei_Hsu",944              "name": "Chiao-Wei Hsu",945              "avatar_template": "/user_avatar/discuss.pytorch.org/chiao-wei_hsu/{size}/76123_2.png",946              "trust_level": 0947            }948          },949          {950            "extras": "latest",951            "description": "Most Recent Poster",952            "user": {953              "id": 31938,954              "username": "Vasiliy_Kuznetsov",955              "name": "Vasiliy Kuznetsov",956              "avatar_template": "/user_avatar/discuss.pytorch.org/vasiliy_kuznetsov/{size}/24530_2.png",957              "trust_level": 2958            }959          }960        ]961      },962      {963        "fancy_title": "Compatibility Issue: Wav2Vec2 QAT with PyTorch 2 Export",964        "id": 216324,965        "title": "Compatibility Issue: Wav2Vec2 QAT with PyTorch 2 Export",966        "slug": "compatibility-issue-wav2vec2-qat-with-pytorch-2-export",967        "posts_count": 2,968        "reply_count": 0,969        "highest_post_number": 2,970        "image_url": null,971        "created_at": "2025-02-06T17:41:12.831Z",972        "last_posted_at": "2025-02-13T00:14:25.035Z",973        "bumped": true,974        "bumped_at": "2025-02-13T00:14:25.035Z",975        "archetype": "regular",976        "unseen": false,977        "pinned": false,978        "unpinned": null,979        "visible": true,980        "closed": false,981        "archived": false,982        "bookmarked": null,983        "liked": null,984        "tags_descriptions": {},985        "like_count": 0,986        "views": 165,987        "category_id": 17,988        "featured_link": null,989        "has_accepted_answer": false,990        "posters": [991          {992            "extras": null,993            "description": "Original Poster",994            "user": {995              "id": 82527,996              "username": "Khady_Kama",997              "name": "Khady Kama",998              "avatar_template": "/user_avatar/discuss.pytorch.org/khady_kama/{size}/75511_2.png",999              "trust_level": 11000            }1001          },1002          {1003            "extras": "latest",1004            "description": "Most Recent Poster",1005            "user": {1006              "id": 24320,1007              "username": "supriyar",1008              "name": "",1009              "avatar_template": "/letter_avatar_proxy/v4/letter/s/db5fbb/{size}.png",1010              "trust_level": 21011            }1012          }1013        ]1014      },1015      {1016        "fancy_title": "Quantization method diff between fake quant and true quant",1017        "id": 219045,1018        "title": "Quantization method diff between fake quant and true quant",1019        "slug": "quantization-method-diff-between-fake-quant-and-true-quant",1020        "posts_count": 2,1021        "reply_count": 0,1022        "highest_post_number": 2,1023        "image_url": "https://discuss.pytorch.org/uploads/default/original/3X/8/c/8c30bb8b6eabef6d4e6042b60f63bd2f40521665.png",1024        "created_at": "2025-04-14T03:33:20.767Z",1025        "last_posted_at": "2025-04-14T19:47:40.184Z",1026        "bumped": true,1027        "bumped_at": "2025-04-14T19:47:40.184Z",1028        "archetype": "regular",1029        "unseen": false,1030        "pinned": false,1031        "unpinned": null,1032        "visible": true,1033        "closed": false,1034        "archived": false,1035        "bookmarked": null,1036        "liked": null,1037        "tags_descriptions": {},1038        "like_count": 0,1039        "views": 63,1040        "category_id": 17,1041        "featured_link": null,1042        "has_accepted_answer": false,1043        "posters": [1044          {1045            "extras": null,1046            "description": "Original Poster",1047            "user": {1048              "id": 83803,1049              "username": "CapJohn",1050              "name": "yue zhao",1051              "avatar_template": "/user_avatar/discuss.pytorch.org/capjohn/{size}/76608_2.png",1052              "trust_level": 01053            }1054          },1055          {1056            "extras": "latest",1057            "description": "Most Recent Poster",1058            "user": {1059              "id": 21770,1060              "username": "jerryzh168",1061              "name": "Jerry Zhang",1062              "avatar_template": "/user_avatar/discuss.pytorch.org/jerryzh168/{size}/15217_2.png",1063              "trust_level": 21064            }1065          }1066        ]1067      }1068    ],1069    "tags_descriptions": {},1070    "fancy_title": "What is the sense of parameter qconfig_spec in quantize_dynamic",1071    "id": 181607,1072    "title": "What is the sense of parameter qconfig_spec in quantize_dynamic",1073    "posts_count": 3,1074    "created_at": "2023-06-07T09:44:08.614Z",1075    "views": 692,1076    "reply_count": 0,1077    "like_count": 0,1078    "last_posted_at": "2023-06-09T08:56:24.080Z",1079    "visible": true,1080    "closed": false,1081    "archived": false,1082    "has_summary": false,1083    "archetype": "regular",1084    "slug": "what-is-the-sense-of-parameter-qconfig-spec-in-quantize-dynamic",1085    "category_id": 17,1086    "word_count": 228,1087    "deleted_at": null,1088    "user_id": 22220,1089    "featured_link": null,1090    "pinned_globally": false,1091    "pinned_at": null,1092    "pinned_until": null,1093    "image_url": null,1094    "slow_mode_seconds": 0,1095    "draft": null,1096    "draft_key": "topic_181607",1097    "draft_sequence": null,1098    "unpinned": null,1099    "pinned": false,1100    "current_post_number": 1,1101    "highest_post_number": 3,1102    "deleted_by": null,1103    "actions_summary": [1104      {1105        "id": 4,1106        "count": 0,1107        "hidden": false,1108        "can_act": false1109      },1110      {1111        "id": 8,1112        "count": 0,1113        "hidden": false,1114        "can_act": false1115      },1116      {1117        "id": 10,1118        "count": 0,1119        "hidden": false,1120        "can_act": false1121      },1122      {1123        "id": 7,1124        "count": 0,1125        "hidden": false,1126        "can_act": false1127      }1128    ],1129    "chunk_size": 20,1130    "bookmarked": false,1131    "topic_timer": null,1132    "message_bus_last_id": 0,1133    "participant_count": 2,1134    "show_read_indicator": false,1135    "thumbnails": null,1136    "slow_mode_enabled_until": null,1137    "accepted_answer": {1138      "post_number": 2,1139      "username": "jcaip",1140      "name": "Jesse Cai",1141      "excerpt": "HI <a class=\"mention\" href=\"/u/miguel_campos\">@Miguel_Campos</a> \nAre you talking about nn.Linear? I don’t see nn.Relu anywhere in the tutorial you linked. You need to specify the Linear. \nSometimes you have more than one type of module you want to quantize, for example in the case of LSTM + Linear, seen here: <a href=\"https://pytorch.org/tutorials/recipes/recipes/dynamic_quantization.html\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">Dynamic Quantization — PyTorch Tuto&hellip;</a>"1142    },1143    "can_vote": false,1144    "vote_count": 0,1145    "user_voted": false,1146    "discourse_zendesk_plugin_zendesk_id": null,1147    "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",1148    "details": {1149      "can_edit": false,1150      "notification_level": 1,1151      "participants": [1152        {1153          "id": 22220,1154          "username": "Miguel_Campos",1155          "name": "Miguel Campos",1156          "avatar_template": "/user_avatar/discuss.pytorch.org/miguel_campos/{size}/14538_2.png",1157          "post_count": 2,1158          "primary_group_name": null,1159          "flair_name": null,1160          "flair_url": null,1161          "flair_color": null,1162          "flair_bg_color": null,1163          "flair_group_id": null,1164          "trust_level": 21165        },1166        {1167          "id": 60005,1168          "username": "jcaip",1169          "name": "Jesse Cai",1170          "avatar_template": "/user_avatar/discuss.pytorch.org/jcaip/{size}/53908_2.png",1171          "post_count": 1,1172          "primary_group_name": null,1173          "flair_name": null,1174          "flair_url": null,1175          "flair_color": null,1176          "flair_bg_color": null,1177          "flair_group_id": null,1178          "trust_level": 21179        }1180      ],1181      "created_by": {1182        "id": 22220,1183        "username": "Miguel_Campos",1184        "name": "Miguel Campos",1185        "avatar_template": "/user_avatar/discuss.pytorch.org/miguel_campos/{size}/14538_2.png"1186      },1187      "last_poster": {1188        "id": 22220,1189        "username": "Miguel_Campos",1190        "name": "Miguel Campos",1191        "avatar_template": "/user_avatar/discuss.pytorch.org/miguel_campos/{size}/14538_2.png"1192      },1193      "links": [1194        {1195          "url": "https://pytorch.org/tutorials/recipes/recipes/dynamic_quantization.html",1196          "title": "Dynamic Quantization — PyTorch Tutorials 2.0.1+cu117 documentation",1197          "internal": false,1198          "attachment": false,1199          "reflection": false,1200          "clicks": 34,

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