Anurag1734/cuda-error-resolution-analysis
07
1[2 {3 "post_stream": {4 "posts": [5 {6 "id": 415082,7 "name": "",8 "username": "Ecard9934",9 "avatar_template": "/letter_avatar_proxy/v4/letter/e/3bc359/{size}.png",10 "created_at": "2023-08-24T10:27:57.886Z",11 "cooked": "<p>I am currently struggling to use grid_sample the right way and need some help.<br>\nMy problem (simplified) is the following<br>\nI have multiple 3D volume of the shape [3,3,3]. All values are 0, except for the value at [0,0,0], which is 1.</p>\n<p>In total, I have 5 batches. The resulting shape is<br>\n[5,3,3,3]<br>\nAccording to <a href=\"https://pytorch.org/docs/stable/generated/torch.nn.functional.grid_sample.html\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">torch.nn.functional.grid_sample — PyTorch 2.0 documentation</a> I add the channel with unsqueeze(1), resulting in the shape [5,1,3,3,3]</p>\n<p>I also have a flow field of the shape [3,3,3,3], where the last dimension indicates the movement into x/y/z direction. Again, 5 batches, so the resulting shape is [5,3,3,3,3].</p>\n<p>How can I use grid_sample in order to apply the flow and generate a warped image where the value 1 is moved into another field? What shape is expected for the grid?<br>\nRight now, I don’t undestand how<br>\n<code>warped = torch.nn.functional.grid_sample(base, flow, mode='bilinear', padding_mode='zeros', align_corners=True)</code> moves the values of base</p>",12 "post_number": 1,13 "post_type": 1,14 "posts_count": 1,15 "updated_at": "2023-08-24T10:27:57.886Z",16 "reply_count": 0,17 "reply_to_post_number": null,18 "quote_count": 0,19 "incoming_link_count": 399,20 "reads": 5,21 "readers_count": 4,22 "score": 1981.0,23 "yours": false,24 "topic_id": 187006,25 "topic_slug": "warp-3d-volume-with-grid-sample",26 "display_username": "",27 "primary_group_name": null,28 "flair_name": null,29 "flair_url": null,30 "flair_bg_color": null,31 "flair_color": null,32 "flair_group_id": null,33 "badges_granted": [],34 "version": 1,35 "can_edit": false,36 "can_delete": false,37 "can_recover": false,38 "can_see_hidden_post": false,39 "can_wiki": false,40 "link_counts": [41 {42 "url": "https://pytorch.org/docs/stable/generated/torch.nn.functional.grid_sample.html",43 "internal": false,44 "reflection": false,45 "title": "torch.nn.functional.grid_sample — PyTorch 2.0 documentation",46 "clicks": 1847 }48 ],49 "read": true,50 "user_title": null,51 "bookmarked": false,52 "actions_summary": [],53 "moderator": false,54 "admin": false,55 "staff": false,56 "user_id": 68955,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/warp-3d-volume-with-grid-sample/187006/1",65 "can_accept_answer": false,66 "can_unaccept_answer": false,67 "accepted_answer": false,68 "topic_accepted_answer": null,69 "can_vote": false70 }71 ],72 "stream": [73 41508274 ]75 },76 "timeline_lookup": [77 [78 1,79 79380 ]81 ],82 "suggested_topics": [83 {84 "fancy_title": "Same weigths, same input differnt results",85 "id": 212574,86 "title": "Same weigths, same input differnt results",87 "slug": "same-weigths-same-input-differnt-results",88 "posts_count": 7,89 "reply_count": 5,90 "highest_post_number": 7,91 "image_url": null,92 "created_at": "2024-11-05T21:09:01.304Z",93 "last_posted_at": "2024-11-06T13:05:06.902Z",94 "bumped": true,95 "bumped_at": "2024-11-06T13:05:06.902Z",96 "archetype": "regular",97 "unseen": false,98 "pinned": false,99 "unpinned": null,100 "visible": true,101 "closed": false,102 "archived": false,103 "bookmarked": null,104 "liked": null,105 "tags_descriptions": {},106 "like_count": 1,107 "views": 137,108 "category_id": 5,109 "featured_link": null,110 "has_accepted_answer": true,111 "posters": [112 {113 "extras": "latest",114 "description": "Original Poster, Most Recent Poster",115 "user": {116 "id": 55611,117 "username": "TOOFACK",118 "name": "TOOFACK",119 "avatar_template": "/user_avatar/discuss.pytorch.org/toofack/{size}/49260_2.png",120 "trust_level": 1121 }122 },123 {124 "extras": null,125 "description": "Frequent Poster, Accepted Answer",126 "user": {127 "id": 12117,128 "username": "Tony-Y",129 "name": "",130 "avatar_template": "/user_avatar/discuss.pytorch.org/tony-y/{size}/8373_2.png",131 "trust_level": 2132 }133 }134 ]135 },136 {137 "fancy_title": "Mismatch in dimensions when using Bayesian FPN and RL",138 "id": 213617,139 "title": "Mismatch in dimensions when using Bayesian FPN and RL",140 "slug": "mismatch-in-dimensions-when-using-bayesian-fpn-and-rl",141 "posts_count": 1,142 "reply_count": 0,143 "highest_post_number": 1,144 "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/8/0/80529d4f6845607185915e2c97b1f401e1bc3a59_2_1024x445.png",145 "created_at": "2024-11-29T16:22:49.342Z",146 "last_posted_at": "2024-11-29T16:22:49.390Z",147 "bumped": true,148 "bumped_at": "2024-11-29T16:22:49.390Z",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": 79,161 "category_id": 5,162 "featured_link": null,163 "has_accepted_answer": false,164 "posters": [165 {166 "extras": "latest single",167 "description": "Original Poster, Most Recent Poster",168 "user": {169 "id": 81210,170 "username": "Manish_Sabnis",171 "name": "Manish Sabnis",172 "avatar_template": "/user_avatar/discuss.pytorch.org/manish_sabnis/{size}/74273_2.png",173 "trust_level": 0174 }175 }176 ]177 },178 {179 "fancy_title": "Getting “Could not initialize NNPACK! Reason: Unsupported hardware.” warning even though NNPACK is enabled",180 "id": 214397,181 "title": "Getting \"Could not initialize NNPACK! Reason: Unsupported hardware.\" warning even though NNPACK is enabled",182 "slug": "getting-could-not-initialize-nnpack-reason-unsupported-hardware-warning-even-though-nnpack-is-enabled",183 "posts_count": 1,184 "reply_count": 0,185 "highest_post_number": 1,186 "image_url": null,187 "created_at": "2024-12-19T09:39:58.123Z",188 "last_posted_at": "2024-12-19T09:39:58.160Z",189 "bumped": true,190 "bumped_at": "2024-12-19T09:39:58.160Z",191 "archetype": "regular",192 "unseen": false,193 "pinned": false,194 "unpinned": null,195 "visible": true,196 "closed": false,197 "archived": false,198 "bookmarked": null,199 "liked": null,200 "tags_descriptions": {},201 "like_count": 0,202 "views": 238,203 "category_id": 5,204 "featured_link": null,205 "has_accepted_answer": false,206 "posters": [207 {208 "extras": "latest single",209 "description": "Original Poster, Most Recent Poster",210 "user": {211 "id": 81586,212 "username": "KirilloCirillo",213 "name": "",214 "avatar_template": "/user_avatar/discuss.pytorch.org/kirillocirillo/{size}/74611_2.png",215 "trust_level": 1216 }217 }218 ]219 },220 {221 "fancy_title": "Feature extraction blocks",222 "id": 214467,223 "title": "Feature extraction blocks",224 "slug": "feature-extraction-blocks",225 "posts_count": 2,226 "reply_count": 0,227 "highest_post_number": 2,228 "image_url": null,229 "created_at": "2024-12-20T15:44:47.023Z",230 "last_posted_at": "2024-12-20T16:47:47.702Z",231 "bumped": true,232 "bumped_at": "2024-12-20T16:47:47.702Z",233 "archetype": "regular",234 "unseen": false,235 "pinned": false,236 "unpinned": null,237 "visible": true,238 "closed": false,239 "archived": false,240 "bookmarked": null,241 "liked": null,242 "tags_descriptions": {},243 "like_count": 0,244 "views": 170,245 "category_id": 5,246 "featured_link": null,247 "has_accepted_answer": false,248 "posters": [249 {250 "extras": null,251 "description": "Original Poster",252 "user": {253 "id": 75241,254 "username": "jawi289p",255 "name": "",256 "avatar_template": "/user_avatar/discuss.pytorch.org/jawi289p/{size}/61673_2.png",257 "trust_level": 1258 }259 },260 {261 "extras": "latest",262 "description": "Most Recent Poster",263 "user": {264 "id": 3534,265 "username": "ptrblck",266 "name": "",267 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",268 "admin": true,269 "moderator": true,270 "trust_level": 2271 }272 }273 ]274 },275 {276 "fancy_title": "Convert Conv3d to Conv2d but outputs different",277 "id": 212246,278 "title": "Convert Conv3d to Conv2d but outputs different",279 "slug": "convert-conv3d-to-conv2d-but-outputs-different",280 "posts_count": 2,281 "reply_count": 0,282 "highest_post_number": 2,283 "image_url": null,284 "created_at": "2024-10-29T06:46:01.486Z",285 "last_posted_at": "2024-10-29T19:39:20.194Z",286 "bumped": true,287 "bumped_at": "2024-10-29T19:39:20.194Z",288 "archetype": "regular",289 "unseen": false,290 "pinned": false,291 "unpinned": null,292 "visible": true,293 "closed": false,294 "archived": false,295 "bookmarked": null,296 "liked": null,297 "tags_descriptions": {},298 "like_count": 1,299 "views": 205,300 "category_id": 5,301 "featured_link": null,302 "has_accepted_answer": true,303 "posters": [304 {305 "extras": null,306 "description": "Original Poster",307 "user": {308 "id": 80556,309 "username": "fengpings",310 "name": "Tristan",311 "avatar_template": "/user_avatar/discuss.pytorch.org/fengpings/{size}/73648_2.png",312 "trust_level": 0313 }314 },315 {316 "extras": "latest",317 "description": "Most Recent Poster, Accepted Answer",318 "user": {319 "id": 3534,320 "username": "ptrblck",321 "name": "",322 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",323 "admin": true,324 "moderator": true,325 "trust_level": 2326 }327 }328 ]329 }330 ],331 "tags_descriptions": {},332 "fancy_title": "Warp 3D volume with grid_sample",333 "id": 187006,334 "title": "Warp 3D volume with grid_sample",335 "posts_count": 1,336 "created_at": "2023-08-24T10:27:57.830Z",337 "views": 696,338 "reply_count": 0,339 "like_count": 0,340 "last_posted_at": "2023-08-24T10:27:57.886Z",341 "visible": true,342 "closed": false,343 "archived": false,344 "has_summary": false,345 "archetype": "regular",346 "slug": "warp-3d-volume-with-grid-sample",347 "category_id": 5,348 "word_count": 184,349 "deleted_at": null,350 "user_id": 68955,351 "featured_link": null,352 "pinned_globally": false,353 "pinned_at": null,354 "pinned_until": null,355 "image_url": null,356 "slow_mode_seconds": 0,357 "draft": null,358 "draft_key": "topic_187006",359 "draft_sequence": null,360 "unpinned": null,361 "pinned": false,362 "current_post_number": 1,363 "highest_post_number": 1,364 "deleted_by": null,365 "actions_summary": [366 {367 "id": 4,368 "count": 0,369 "hidden": false,370 "can_act": false371 },372 {373 "id": 8,374 "count": 0,375 "hidden": false,376 "can_act": false377 },378 {379 "id": 10,380 "count": 0,381 "hidden": false,382 "can_act": false383 },384 {385 "id": 7,386 "count": 0,387 "hidden": false,388 "can_act": false389 }390 ],391 "chunk_size": 20,392 "bookmarked": false,393 "topic_timer": null,394 "message_bus_last_id": 0,395 "participant_count": 1,396 "show_read_indicator": false,397 "thumbnails": null,398 "slow_mode_enabled_until": null,399 "can_vote": false,400 "vote_count": 0,401 "user_voted": false,402 "discourse_zendesk_plugin_zendesk_id": null,403 "discourse_zendesk_plugin_zendesk_url": "https://your-url.zendesk.com/agent/tickets/",404 "details": {405 "can_edit": false,406 "notification_level": 1,407 "participants": [408 {409 "id": 68955,410 "username": "Ecard9934",411 "name": "",412 "avatar_template": "/letter_avatar_proxy/v4/letter/e/3bc359/{size}.png",413 "post_count": 1,414 "primary_group_name": null,415 "flair_name": null,416 "flair_url": null,417 "flair_color": null,418 "flair_bg_color": null,419 "flair_group_id": null,420 "trust_level": 1421 }422 ],423 "created_by": {424 "id": 68955,425 "username": "Ecard9934",426 "name": "",427 "avatar_template": "/letter_avatar_proxy/v4/letter/e/3bc359/{size}.png"428 },429 "last_poster": {430 "id": 68955,431 "username": "Ecard9934",432 "name": "",433 "avatar_template": "/letter_avatar_proxy/v4/letter/e/3bc359/{size}.png"434 },435 "links": [436 {437 "url": "https://pytorch.org/docs/stable/generated/torch.nn.functional.grid_sample.html",438 "title": "torch.nn.functional.grid_sample — PyTorch 2.0 documentation",439 "internal": false,440 "attachment": false,441 "reflection": false,442 "clicks": 18,443 "user_id": 68955,444 "domain": "pytorch.org",445 "root_domain": "pytorch.org"446 }447 ]448 },449 "bookmarks": []450 },451 {452 "post_stream": {453 "posts": [454 {455 "id": 414863,456 "name": "Peter Guhl",457 "username": "bones0",458 "avatar_template": "/user_avatar/discuss.pytorch.org/bones0/{size}/63439_2.png",459 "created_at": "2023-08-23T07:49:17.716Z",460 "cooked": "<p>Windows 10, Python 3.11.</p>\n<p>I compiled a 2.1.0 and a 2.0.0 (why did checking out the tag v2.0.1 get me a version 2.0.0, though?). However, the self-compiled versions are all like torch-2.0.0a0+gite9ebda2 and even torchvision 0.15.1, which should work with 2.0.0, refuses this version string. How do I manipulate the wheel (or the source before creating the wheel) so it does show a version string which is recognised as “==2.0.0”? Or where do I get a torchvision, torchaudio etc. which is a bit less strict? Compiling torch takes around 8 hours on my Alienware 13 notebook so recompiling the whole torch*-universe would be a bit much.</p>\n<p>The conflict is caused by:<br>\nThe user requested torch 2.0.0a0+gite9ebda2 (from C:\\repos\\stable-diffusion-webui\\torch-2.0.0a0+gite9ebda2-cp311-cp311-win_amd64.whl)<br>\ntorchvision 0.15.2 depends on torch==2.0.1<br>\nThe user requested torch 2.0.0a0+gite9ebda2 (from C:\\repos\\stable-diffusion-webui\\torch-2.0.0a0+gite9ebda2-cp311-cp311-win_amd64.whl)<br>\ntorchvision 0.15.1 depends on torch==2.0.0</p>\n<p>ERROR: Cannot install torch 2.0.0a0+gite9ebda2 (from C:\\repos\\stable-diffusion-webui\\torch-2.0.0a0+gite9ebda2-cp311-cp311-win_amd64.whl), torchvision==0.15.1 and torchvision==0.15.2 because these package versions have conflicting dependencies.</p>\n<p>P.S: I compile it since I want to use the Tesla K40c wich compute-capability 3.5. It works for games so why shouldn’t it work for ML too? <img src=\"https://discuss.pytorch.org/images/emoji/apple/wink.png?v=12\" title=\":wink:\" class=\"emoji\" alt=\":wink:\" loading=\"lazy\" width=\"20\" height=\"20\"></p>\n<p>Should you want to examine the wheels or need them for one of your own projects they are available at <a href=\"http://www.chabis.ch/webordner/machinelearning/pytorch-cuda-arch-3.5-cuda11.8/\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">Index of /webordner/machinelearning/pytorch-cuda-arch-3.5-cuda11.8</a></p>",461 "post_number": 1,462 "post_type": 1,463 "posts_count": 7,464 "updated_at": "2023-08-23T08:32:28.167Z",465 "reply_count": 0,466 "reply_to_post_number": null,467 "quote_count": 0,468 "incoming_link_count": 339,469 "reads": 8,470 "readers_count": 7,471 "score": 1696.6,472 "yours": false,473 "topic_id": 186920,474 "topic_slug": "self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels",475 "display_username": "Peter Guhl",476 "primary_group_name": null,477 "flair_name": null,478 "flair_url": null,479 "flair_bg_color": null,480 "flair_color": null,481 "flair_group_id": null,482 "badges_granted": [],483 "version": 3,484 "can_edit": false,485 "can_delete": false,486 "can_recover": false,487 "can_see_hidden_post": false,488 "can_wiki": false,489 "link_counts": [490 {491 "url": "http://www.chabis.ch/webordner/machinelearning/pytorch-cuda-arch-3.5-cuda11.8/",492 "internal": false,493 "reflection": false,494 "title": "Index of /webordner/machinelearning/pytorch-cuda-arch-3.5-cuda11.8",495 "clicks": 0496 }497 ],498 "read": true,499 "user_title": "",500 "bookmarked": false,501 "actions_summary": [],502 "moderator": false,503 "admin": false,504 "staff": false,505 "user_id": 68911,506 "hidden": false,507 "trust_level": 0,508 "deleted_at": null,509 "user_deleted": false,510 "edit_reason": null,511 "can_view_edit_history": true,512 "wiki": false,513 "post_url": "/t/self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels/186920/1",514 "can_accept_answer": false,515 "can_unaccept_answer": false,516 "accepted_answer": false,517 "topic_accepted_answer": true,518 "can_vote": false519 },520 {521 "id": 414896,522 "name": "Peter Guhl",523 "username": "bones0",524 "avatar_template": "/user_avatar/discuss.pytorch.org/bones0/{size}/63439_2.png",525 "created_at": "2023-08-23T09:33:50.014Z",526 "cooked": "<p>I found <a href=\"https://github.com/pytorch/xla/issues/3661\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">Wheel version numbers are incompatible with `torch (==1.11.0)` · Issue #3661 · pytorch/xla · GitHub</a> which resolves to “don’t use unofficial wheels”. Does not fix my problem. Maybe tha hack-script mentioned there does, but that’s not the most elegant way I could imagine.</p>",527 "post_number": 2,528 "post_type": 1,529 "posts_count": 7,530 "updated_at": "2023-08-23T09:33:50.014Z",531 "reply_count": 1,532 "reply_to_post_number": null,533 "quote_count": 0,534 "incoming_link_count": 1,535 "reads": 8,536 "readers_count": 7,537 "score": 11.6,538 "yours": false,539 "topic_id": 186920,540 "topic_slug": "self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels",541 "display_username": "Peter Guhl",542 "primary_group_name": null,543 "flair_name": null,544 "flair_url": null,545 "flair_bg_color": null,546 "flair_color": null,547 "flair_group_id": null,548 "badges_granted": [],549 "version": 1,550 "can_edit": false,551 "can_delete": false,552 "can_recover": false,553 "can_see_hidden_post": false,554 "can_wiki": false,555 "link_counts": [556 {557 "url": "https://github.com/pytorch/xla/issues/3661",558 "internal": false,559 "reflection": false,560 "title": "Wheel version numbers are incompatible with `torch (==1.11.0)` · Issue #3661 · pytorch/xla · GitHub",561 "clicks": 3562 }563 ],564 "read": true,565 "user_title": "",566 "bookmarked": false,567 "actions_summary": [],568 "moderator": false,569 "admin": false,570 "staff": false,571 "user_id": 68911,572 "hidden": false,573 "trust_level": 0,574 "deleted_at": null,575 "user_deleted": false,576 "edit_reason": null,577 "can_view_edit_history": true,578 "wiki": false,579 "post_url": "/t/self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels/186920/2",580 "can_accept_answer": false,581 "can_unaccept_answer": false,582 "accepted_answer": false,583 "topic_accepted_answer": true584 },585 {586 "id": 414897,587 "name": "Peter Guhl",588 "username": "bones0",589 "avatar_template": "/user_avatar/discuss.pytorch.org/bones0/{size}/63439_2.png",590 "created_at": "2023-08-23T09:47:49.763Z",591 "cooked": "<p>Cross-referencing to <a href=\"https://github.com/pytorch/xla/issues/3661#issuecomment-1689641318\" class=\"inline-onebox\" rel=\"noopener nofollow ugc\">Wheel version numbers are incompatible with `torch (==1.11.0)` · Issue #3661 · pytorch/xla · GitHub</a> - I’ll continue at the forum where I get the answer first <img src=\"https://discuss.pytorch.org/images/emoji/apple/wink.png?v=12\" title=\":wink:\" class=\"emoji\" alt=\":wink:\" loading=\"lazy\" width=\"20\" height=\"20\"> (Not sure if anybody will answer to a long-closed issue at github at all)</p>",592 "post_number": 3,593 "post_type": 1,594 "posts_count": 7,595 "updated_at": "2023-08-23T09:47:49.763Z",596 "reply_count": 1,597 "reply_to_post_number": 2,598 "quote_count": 0,599 "incoming_link_count": 0,600 "reads": 8,601 "readers_count": 7,602 "score": 6.6,603 "yours": false,604 "topic_id": 186920,605 "topic_slug": "self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels",606 "display_username": "Peter Guhl",607 "primary_group_name": null,608 "flair_name": null,609 "flair_url": null,610 "flair_bg_color": null,611 "flair_color": null,612 "flair_group_id": null,613 "badges_granted": [],614 "version": 1,615 "can_edit": false,616 "can_delete": false,617 "can_recover": false,618 "can_see_hidden_post": false,619 "can_wiki": false,620 "link_counts": [621 {622 "url": "https://github.com/pytorch/xla/issues/3661#issuecomment-1689641318",623 "internal": false,624 "reflection": false,625 "title": "Wheel version numbers are incompatible with `torch (==1.11.0)` · Issue #3661 · pytorch/xla · GitHub",626 "clicks": 4627 }628 ],629 "read": true,630 "user_title": "",631 "reply_to_user": {632 "id": 68911,633 "username": "bones0",634 "name": "Peter Guhl",635 "avatar_template": "/user_avatar/discuss.pytorch.org/bones0/{size}/63439_2.png"636 },637 "bookmarked": false,638 "actions_summary": [],639 "moderator": false,640 "admin": false,641 "staff": false,642 "user_id": 68911,643 "hidden": false,644 "trust_level": 0,645 "deleted_at": null,646 "user_deleted": false,647 "edit_reason": null,648 "can_view_edit_history": true,649 "wiki": false,650 "post_url": "/t/self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels/186920/3",651 "can_accept_answer": false,652 "can_unaccept_answer": false,653 "accepted_answer": false,654 "topic_accepted_answer": true655 },656 {657 "id": 414936,658 "name": "",659 "username": "ptrblck",660 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",661 "created_at": "2023-08-23T12:22:44.637Z",662 "cooked": "<p>Cross-posting the same questions usually just wastes time as multiple users will often try to help. In any case, you can use some env variables to define a custom version. Set these to <code>2.0.1</code> and it should work.</p>",663 "post_number": 4,664 "post_type": 1,665 "posts_count": 7,666 "updated_at": "2023-08-23T12:22:44.637Z",667 "reply_count": 1,668 "reply_to_post_number": 3,669 "quote_count": 0,670 "incoming_link_count": 0,671 "reads": 8,672 "readers_count": 7,673 "score": 6.6,674 "yours": false,675 "topic_id": 186920,676 "topic_slug": "self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels",677 "display_username": "",678 "primary_group_name": null,679 "flair_name": null,680 "flair_url": null,681 "flair_bg_color": null,682 "flair_color": null,683 "flair_group_id": null,684 "badges_granted": [],685 "version": 1,686 "can_edit": false,687 "can_delete": false,688 "can_recover": false,689 "can_see_hidden_post": false,690 "can_wiki": false,691 "read": true,692 "user_title": "",693 "reply_to_user": {694 "id": 68911,695 "username": "bones0",696 "name": "Peter Guhl",697 "avatar_template": "/user_avatar/discuss.pytorch.org/bones0/{size}/63439_2.png"698 },699 "bookmarked": false,700 "actions_summary": [],701 "moderator": true,702 "admin": true,703 "staff": true,704 "user_id": 3534,705 "hidden": false,706 "trust_level": 2,707 "deleted_at": null,708 "user_deleted": false,709 "edit_reason": null,710 "can_view_edit_history": true,711 "wiki": false,712 "post_url": "/t/self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels/186920/4",713 "can_accept_answer": false,714 "can_unaccept_answer": false,715 "accepted_answer": false,716 "topic_accepted_answer": true717 },718 {719 "id": 414949,720 "name": "Peter Guhl",721 "username": "bones0",722 "avatar_template": "/user_avatar/discuss.pytorch.org/bones0/{size}/63439_2.png",723 "created_at": "2023-08-23T12:51:09.273Z",724 "cooked": "<p>True. Well, I don’t expect any answer at github since the issue is closed for so long so it’s probably more like a reference. Actually the “patching”-was works but is tedious. I will try to find out what environment variables I have to set. Any hint where I should start looking for? I am currently searching the repository for the version string. Maybe I am lucky and there’s a set-command or $env somewhere.</p>\n<p>EDIT: I guess I got it:</p>\n<p>TORCH_BUILD_VERSION:STRING=2.0.0a0+gite9ebda2</p>\n<p>in CmakeCache.txt</p>\n<p>EDIT: Nope, setting that in $env does not seem to impress the compiler in any way.</p>\n<p>Final edit: Changed it in version.txt. Minimal - just removed the 0a which is breaking all dependencies. Had to re-compile anyway since the K40c does not seem to work wit CUDNN which I compiled into the other 2.0.0-wheel.</p>\n<p>I somehow expected the checkout of a tag would actually build the version tagged. Does not seem to be the case, though.</p>",725 "post_number": 5,726 "post_type": 1,727 "posts_count": 7,728 "updated_at": "2023-08-23T13:24:12.385Z",729 "reply_count": 1,730 "reply_to_post_number": 4,731 "quote_count": 0,732 "incoming_link_count": 4,733 "reads": 8,734 "readers_count": 7,735 "score": 26.6,736 "yours": false,737 "topic_id": 186920,738 "topic_slug": "self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels",739 "display_username": "Peter Guhl",740 "primary_group_name": null,741 "flair_name": null,742 "flair_url": null,743 "flair_bg_color": null,744 "flair_color": null,745 "flair_group_id": null,746 "badges_granted": [],747 "version": 4,748 "can_edit": false,749 "can_delete": false,750 "can_recover": false,751 "can_see_hidden_post": false,752 "can_wiki": false,753 "read": true,754 "user_title": "",755 "reply_to_user": {756 "id": 3534,757 "username": "ptrblck",758 "name": "",759 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png"760 },761 "bookmarked": false,762 "actions_summary": [],763 "moderator": false,764 "admin": false,765 "staff": false,766 "user_id": 68911,767 "hidden": false,768 "trust_level": 0,769 "deleted_at": null,770 "user_deleted": false,771 "edit_reason": null,772 "can_view_edit_history": true,773 "wiki": false,774 "post_url": "/t/self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels/186920/5",775 "can_accept_answer": false,776 "can_unaccept_answer": false,777 "accepted_answer": false,778 "topic_accepted_answer": true779 },780 {781 "id": 414951,782 "name": "Peter Guhl",783 "username": "bones0",784 "avatar_template": "/user_avatar/discuss.pytorch.org/bones0/{size}/63439_2.png",785 "created_at": "2023-08-23T12:55:35.521Z",786 "cooked": "<p>I hid the other comment on github as resolved since the script / manual patching actually works. Just not the way I want to go.</p>",787 "post_number": 6,788 "post_type": 1,789 "posts_count": 7,790 "updated_at": "2023-08-23T12:55:35.521Z",791 "reply_count": 0,792 "reply_to_post_number": 5,793 "quote_count": 0,794 "incoming_link_count": 1,795 "reads": 7,796 "readers_count": 6,797 "score": 6.4,798 "yours": false,799 "topic_id": 186920,800 "topic_slug": "self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels",801 "display_username": "Peter Guhl",802 "primary_group_name": null,803 "flair_name": null,804 "flair_url": null,805 "flair_bg_color": null,806 "flair_color": null,807 "flair_group_id": null,808 "badges_granted": [],809 "version": 1,810 "can_edit": false,811 "can_delete": false,812 "can_recover": false,813 "can_see_hidden_post": false,814 "can_wiki": false,815 "read": true,816 "user_title": "",817 "reply_to_user": {818 "id": 68911,819 "username": "bones0",820 "name": "Peter Guhl",821 "avatar_template": "/user_avatar/discuss.pytorch.org/bones0/{size}/63439_2.png"822 },823 "bookmarked": false,824 "actions_summary": [],825 "moderator": false,826 "admin": false,827 "staff": false,828 "user_id": 68911,829 "hidden": false,830 "trust_level": 0,831 "deleted_at": null,832 "user_deleted": false,833 "edit_reason": null,834 "can_view_edit_history": true,835 "wiki": false,836 "post_url": "/t/self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels/186920/6",837 "can_accept_answer": false,838 "can_unaccept_answer": false,839 "accepted_answer": false,840 "topic_accepted_answer": true841 },842 {843 "id": 415078,844 "name": "Peter Guhl",845 "username": "bones0",846 "avatar_template": "/user_avatar/discuss.pytorch.org/bones0/{size}/63439_2.png",847 "created_at": "2023-08-24T10:05:00.541Z",848 "cooked": "<p>I consider this solved since I can change the version.txt and all source code packages saying they are 2.0.1 consistently have 2.0.0a0 in version.txt. So I can safely assume they have the funcionality of 2.0.1. And if it’s only 2.0.0 it also works for me. I have it labelled 2.0.0 now and it works with stablediffusion-webui.</p>\n<p>If there is an environment variable which can be set and actually works is not sure at this point but as far as I am concerned this is currently irrelevant. I hope in future versions version.txt will make sense again and the environment variable will be documented somewhere. If it exists.</p>\n<p>All in all I have mixed feelings working with pytorch but I understand it’s a really complex project so I accept some minor trouble.</p>",849 "post_number": 7,850 "post_type": 1,851 "posts_count": 7,852 "updated_at": "2023-08-24T10:05:00.541Z",853 "reply_count": 0,854 "reply_to_post_number": null,855 "quote_count": 0,856 "incoming_link_count": 3,857 "reads": 6,858 "readers_count": 5,859 "score": 31.2,860 "yours": false,861 "topic_id": 186920,862 "topic_slug": "self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels",863 "display_username": "Peter Guhl",864 "primary_group_name": null,865 "flair_name": null,866 "flair_url": null,867 "flair_bg_color": null,868 "flair_color": null,869 "flair_group_id": null,870 "badges_granted": [],871 "version": 1,872 "can_edit": false,873 "can_delete": false,874 "can_recover": false,875 "can_see_hidden_post": false,876 "can_wiki": false,877 "read": true,878 "user_title": "",879 "bookmarked": false,880 "actions_summary": [881 {882 "id": 2,883 "count": 1884 }885 ],886 "moderator": false,887 "admin": false,888 "staff": false,889 "user_id": 68911,890 "hidden": false,891 "trust_level": 0,892 "deleted_at": null,893 "user_deleted": false,894 "edit_reason": null,895 "can_view_edit_history": true,896 "wiki": false,897 "post_url": "/t/self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels/186920/7",898 "can_accept_answer": false,899 "can_unaccept_answer": false,900 "accepted_answer": true,901 "topic_accepted_answer": true902 }903 ],904 "stream": [905 414863,906 414896,907 414897,908 414936,909 414949,910 414951,911 415078912 ]913 },914 "timeline_lookup": [915 [916 1,917 794918 ],919 [920 7,921 793922 ]923 ],924 "suggested_topics": [925 {926 "fancy_title": "Where the grades from backward graph will be copied to param.grade in cuda graphs",927 "id": 219839,928 "title": "Where the grades from backward graph will be copied to param.grade in cuda graphs",929 "slug": "where-the-grades-from-backward-graph-will-be-copied-to-param-grade-in-cuda-graphs",930 "posts_count": 1,931 "reply_count": 0,932 "highest_post_number": 1,933 "image_url": null,934 "created_at": "2025-05-07T14:42:57.342Z",935 "last_posted_at": "2025-05-07T14:42:57.391Z",936 "bumped": true,937 "bumped_at": "2025-05-07T14:42:57.391Z",938 "archetype": "regular",939 "unseen": false,940 "pinned": false,941 "unpinned": null,942 "visible": true,943 "closed": false,944 "archived": false,945 "bookmarked": null,946 "liked": null,947 "tags_descriptions": {},948 "like_count": 0,949 "views": 51,950 "category_id": 41,951 "featured_link": null,952 "has_accepted_answer": false,953 "posters": [954 {955 "extras": "latest single",956 "description": "Original Poster, Most Recent Poster",957 "user": {958 "id": 25528,959 "username": "Tiru_B",960 "name": "Tiru B",961 "avatar_template": "/user_avatar/discuss.pytorch.org/tiru_b/{size}/18731_2.png",962 "trust_level": 1963 }964 }965 ]966 },967 {968 "fancy_title": "_inductor/schduler.py line#3161",969 "id": 221303,970 "title": "_inductor/schduler.py line#3161",971 "slug": "inductor-schduler-py-line-3161",972 "posts_count": 1,973 "reply_count": 0,974 "highest_post_number": 1,975 "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/5/5/55232f6de40803fce2cb5ca3974e8fb4004a737f_2_1024x326.png",976 "created_at": "2025-07-06T06:29:44.930Z",977 "last_posted_at": "2025-07-06T06:29:44.971Z",978 "bumped": true,979 "bumped_at": "2025-07-06T06:29:44.971Z",980 "archetype": "regular",981 "unseen": false,982 "pinned": false,983 "unpinned": null,984 "visible": true,985 "closed": false,986 "archived": false,987 "bookmarked": null,988 "liked": null,989 "tags_descriptions": {},990 "like_count": 0,991 "views": 26,992 "category_id": 41,993 "featured_link": null,994 "has_accepted_answer": false,995 "posters": [996 {997 "extras": "latest single",998 "description": "Original Poster, Most Recent Poster",999 "user": {1000 "id": 84955,1001 "username": "jongseoKang",1002 "name": "Jongseo",1003 "avatar_template": "/letter_avatar_proxy/v4/letter/j/9d8465/{size}.png",1004 "trust_level": 01005 }1006 }1007 ]1008 },1009 {1010 "fancy_title": "Does pytorch support building from source on arrch64",1011 "id": 214953,1012 "title": "Does pytorch support building from source on arrch64",1013 "slug": "does-pytorch-support-building-from-source-on-arrch64",1014 "posts_count": 4,1015 "reply_count": 2,1016 "highest_post_number": 4,1017 "image_url": null,1018 "created_at": "2025-01-04T09:44:02.868Z",1019 "last_posted_at": "2025-01-17T14:18:38.620Z",1020 "bumped": true,1021 "bumped_at": "2025-01-17T14:18:38.620Z",1022 "archetype": "regular",1023 "unseen": false,1024 "pinned": false,1025 "unpinned": null,1026 "visible": true,1027 "closed": false,1028 "archived": false,1029 "bookmarked": null,1030 "liked": null,1031 "tags_descriptions": {},1032 "like_count": 1,1033 "views": 75,1034 "category_id": 41,1035 "featured_link": null,1036 "has_accepted_answer": false,1037 "posters": [1038 {1039 "extras": null,1040 "description": "Original Poster",1041 "user": {1042 "id": 81867,1043 "username": "2209262843",1044 "name": "璐 璐",1045 "avatar_template": "/user_avatar/discuss.pytorch.org/2209262843/{size}/74890_2.png",1046 "trust_level": 11047 }1048 },1049 {1050 "extras": "latest",1051 "description": "Most Recent Poster",1052 "user": {1053 "id": 3534,1054 "username": "ptrblck",1055 "name": "",1056 "avatar_template": "/user_avatar/discuss.pytorch.org/ptrblck/{size}/1823_2.png",1057 "admin": true,1058 "moderator": true,1059 "trust_level": 21060 }1061 }1062 ]1063 },1064 {1065 "fancy_title": "Device “meta” and device “cuda:0” error",1066 "id": 219383,1067 "title": "Device \"meta\" and device \"cuda:0\" error",1068 "slug": "device-meta-and-device-cuda-0-error",1069 "posts_count": 1,1070 "reply_count": 0,1071 "highest_post_number": 1,1072 "image_url": null,1073 "created_at": "2025-04-23T13:15:43.786Z",1074 "last_posted_at": "2025-04-23T13:15:43.828Z",1075 "bumped": true,1076 "bumped_at": "2025-04-23T13:15:43.828Z",1077 "archetype": "regular",1078 "unseen": false,1079 "pinned": false,1080 "unpinned": null,1081 "visible": true,1082 "closed": false,1083 "archived": false,1084 "bookmarked": null,1085 "liked": null,1086 "tags_descriptions": {},1087 "like_count": 0,1088 "views": 111,1089 "category_id": 41,1090 "featured_link": null,1091 "has_accepted_answer": false,1092 "posters": [1093 {1094 "extras": "latest single",1095 "description": "Original Poster, Most Recent Poster",1096 "user": {1097 "id": 83964,1098 "username": "JasonW250",1099 "name": "Jason",1100 "avatar_template": "/user_avatar/discuss.pytorch.org/jasonw250/{size}/74572_2.png",1101 "trust_level": 01102 }1103 }1104 ]1105 },1106 {1107 "fancy_title": "Reducing compiled call overhead",1108 "id": 222740,1109 "title": "Reducing compiled call overhead",1110 "slug": "reducing-compiled-call-overhead",1111 "posts_count": 1,1112 "reply_count": 0,1113 "highest_post_number": 1,1114 "image_url": "https://discuss.pytorch.org/uploads/default/optimized/3X/6/8/685ee2f0ecdaaaad8c5d3ce7669a897be7b454d8_2_1024x724.png",1115 "created_at": "2025-08-29T10:52:44.322Z",1116 "last_posted_at": "2025-08-29T10:52:44.374Z",1117 "bumped": true,1118 "bumped_at": "2025-08-29T10:52:44.374Z",1119 "archetype": "regular",1120 "unseen": false,1121 "pinned": false,1122 "unpinned": null,1123 "visible": true,1124 "closed": false,1125 "archived": false,1126 "bookmarked": null,1127 "liked": null,1128 "tags_descriptions": {},1129 "like_count": 0,1130 "views": 36,1131 "category_id": 41,1132 "featured_link": null,1133 "has_accepted_answer": false,1134 "posters": [1135 {1136 "extras": "latest single",1137 "description": "Original Poster, Most Recent Poster",1138 "user": {1139 "id": 70730,1140 "username": "crizz",1141 "name": "",1142 "avatar_template": "/letter_avatar_proxy/v4/letter/c/eb9ed0/{size}.png",1143 "trust_level": 11144 }1145 }1146 ]1147 }1148 ],1149 "tags_descriptions": {},1150 "fancy_title": "Self-compiled versions get numbered the way they don’t fit requirements of standard wheels",1151 "id": 186920,1152 "title": "Self-compiled versions get numbered the way they don't fit requirements of standard wheels",1153 "posts_count": 7,1154 "created_at": "2023-08-23T07:49:17.660Z",1155 "views": 806,1156 "reply_count": 4,1157 "like_count": 1,1158 "last_posted_at": "2023-08-24T10:05:00.541Z",1159 "visible": true,1160 "closed": false,1161 "archived": false,1162 "has_summary": false,1163 "archetype": "regular",1164 "slug": "self-compiled-versions-get-numbered-the-way-they-dont-fit-requirements-of-standard-wheels",1165 "category_id": 41,1166 "word_count": 769,1167 "deleted_at": null,1168 "user_id": 68911,1169 "featured_link": null,1170 "pinned_globally": false,1171 "pinned_at": null,1172 "pinned_until": null,1173 "image_url": null,1174 "slow_mode_seconds": 0,1175 "draft": null,1176 "draft_key": "topic_186920",1177 "draft_sequence": null,1178 "unpinned": null,1179 "pinned": false,1180 "current_post_number": 1,1181 "highest_post_number": 7,1182 "deleted_by": null,1183 "actions_summary": [1184 {1185 "id": 4,1186 "count": 0,1187 "hidden": false,1188 "can_act": false1189 },1190 {1191 "id": 8,1192 "count": 0,1193 "hidden": false,1194 "can_act": false1195 },1196 {1197 "id": 10,1198 "count": 0,1199 "hidden": false,1200 "can_act": false