CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 20:18:46 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/pytorch/pytorch.git
etag: W/"ba2fa944e2f450a67ecb91ebfbba2c1a"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=n%2BUOjr3VRUZMaDlETFBeaBMCpL4dTbnSZbhhD%2F7Nok%2F6YXyq7NOGlB%2BV3BZcJ8jte%2BCYXzK2Aa2wrtI8s3XVWfUb%2F2AO3LBfrADHjo75Y%2FEfJqXNsvpIQ%2F8EItdQHBur6LGIEarYr%2B4WT9T1ubJydbB6MAMw9TtmVjJI8fOkxW%2Fcon%2Ft5cmRiKKaZW5iZ9u1Z3DVucPNXeBshczuwZIgmQnfQyb4kJNb%2FQa51QF0%2Fkwp67XcKW6ImZFjFmnTvxm%2FNTHtKUyfdWBZ1J7ihlL5jA%3D%3D--Hgl4%2BZGJMimUu%2B%2Ft--XBJoYtMf0Gzmg%2FRmbyJb8w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1804099999.1753129124; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 20:18:44 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 20:18:44 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D7DE:3F9DDC:15E33:1E47F:687EA0A4
Use grad_out for cudnn CTC loss (#27039) · pytorch/pytorch@f461184 · GitHub
Copy file name to clipboardExpand all lines: aten/src/ATen/cudnn/Descriptors.h
Copy file name to clipboardExpand all lines: aten/src/ATen/native/LossCTC.cpp
Copy file name to clipboardExpand all lines: aten/src/ATen/native/cudnn/LossCTC.cpp
Copy file name to clipboardExpand all lines: aten/src/ATen/native/native_functions.yaml
Copy file name to clipboardExpand all lines: tools/autograd/derivatives.yaml
Copy file name to clipboardExpand all lines: tools/autograd/templates/Functions.cpp
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Commit f461184
Use grad_out for cudnn CTC loss (#27039)
Summary:
Using grad_out for CuDNN CTC loss fixes: #26797, #25833.
We also fix a cudnn incompatible change that surfaced during the testing: As of CuDNN 7.6 the semantics of the CTC loss gradients are different.
This leads us to disable CuDNN CTC for CuDNN < 7.6. To mitigate the impact on users, we convert the parameters for the native implementation if CuDNN isn't applicable (previously this would give an error.)
Pull Request resolved: #27039
Differential Revision: D17910815
Pulled By: ngimel
fbshipit-source-id: 465b33612d3402f10c355aa7026a7e1ffaef30731 parent 7e8420b commit f461184Copy full SHA for f461184
File tree
Expand file treeCollapse file tree
8 files changed
+138
-47
lines changedFilter options
- aten/src/ATen
- cudnn
- native
- cudnn
- test
- tools/autograd
- templates
Expand file treeCollapse file tree
8 files changed
+138
-47
lines changedaten/src/ATen/cudnn/Descriptors.h
Copy file name to clipboardExpand all lines: aten/src/ATen/cudnn/Descriptors.h+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
260 | 260 |
| |
261 | 261 |
| |
262 | 262 |
| |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
263 | 272 |
| |
264 | 273 |
| |
265 | 274 |
| |
|
aten/src/ATen/native/LossCTC.cpp
Copy file name to clipboardExpand all lines: aten/src/ATen/native/LossCTC.cpp+14-24Lines changed: 14 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
339 | 339 |
| |
340 | 340 |
| |
341 | 341 |
| |
342 |
| - | |
343 |
| - | |
344 | 342 |
| |
345 |
| - | |
346 |
| - | |
347 |
| - | |
348 |
| - | |
349 |
| - | |
350 |
| - | |
351 |
| - | |
352 |
| - | |
353 |
| - | |
354 |
| - | |
355 |
| - | |
356 |
| - | |
357 |
| - | |
358 |
| - | |
359 |
| - | |
360 |
| - | |
361 |
| - | |
362 |
| - | |
363 |
| - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
364 | 346 |
| |
365 | 347 |
| |
366 | 348 |
| |
367 | 349 |
| |
368 | 350 |
| |
369 | 351 |
| |
370 | 352 |
| |
371 |
| - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
372 | 362 |
| |
373 | 363 |
| |
374 | 364 |
| |
| |||
388 | 378 |
| |
389 | 379 |
| |
390 | 380 |
| |
391 |
| - | |
392 |
| - | |
| 381 | + | |
| 382 | + | |
393 | 383 |
| |
394 | 384 |
| |
395 | 385 |
| |
|
aten/src/ATen/native/cudnn/LossCTC.cpp
Copy file name to clipboardExpand all lines: aten/src/ATen/native/cudnn/LossCTC.cpp+71-20Lines changed: 71 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 |
| - | |
| 9 | + | |
11 | 10 |
| |
12 | 11 |
| |
13 | 12 |
| |
14 | 13 |
| |
15 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
16 | 24 |
| |
17 | 25 |
| |
18 | 26 |
| |
| |||
29 | 37 |
| |
30 | 38 |
| |
31 | 39 |
| |
32 |
| - | |
33 |
| - | |
34 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
35 | 69 |
| |
36 | 70 |
| |
37 | 71 |
| |
| |||
62 | 96 |
| |
63 | 97 |
| |
64 | 98 |
| |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 | 99 |
| |
71 |
| - | |
72 | 100 |
| |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
77 | 108 |
| |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
78 | 120 |
| |
79 | 121 |
| |
80 | 122 |
| |
81 | 123 |
| |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
87 | 138 |
| |
88 | 139 |
| |
89 | 140 |
| |
|
aten/src/ATen/native/native_functions.yaml
Copy file name to clipboardExpand all lines: aten/src/ATen/native/native_functions.yaml+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
97 | 103 |
| |
98 | 104 |
| |
99 | 105 |
| |
|
+26-1Lines changed: 26 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
| |||
3732 | 3732 |
| |
3733 | 3733 |
| |
3734 | 3734 |
| |
| 3735 | + | |
| 3736 | + | |
| 3737 | + | |
| 3738 | + | |
| 3739 | + | |
| 3740 | + | |
| 3741 | + | |
| 3742 | + | |
| 3743 | + | |
| 3744 | + | |
| 3745 | + | |
| 3746 | + | |
| 3747 | + | |
| 3748 | + | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
| 3759 | + | |
3735 | 3760 |
| |
3736 | 3761 |
| |
3737 | 3762 |
| |
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8949 | 8949 |
| |
8950 | 8950 |
| |
8951 | 8951 |
| |
8952 |
| - | |
| 8952 | + | |
8953 | 8953 |
| |
8954 | 8954 |
| |
8955 | 8955 |
| |
|
tools/autograd/derivatives.yaml
Copy file name to clipboardExpand all lines: tools/autograd/derivatives.yaml+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1382 | 1382 |
| |
1383 | 1383 |
| |
1384 | 1384 |
| |
1385 |
| - | |
| 1385 | + | |
1386 | 1386 |
| |
1387 | 1387 |
| |
1388 | 1388 |
| |
|
tools/autograd/templates/Functions.cpp
Copy file name to clipboardExpand all lines: tools/autograd/templates/Functions.cpp+10Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2453 | 2453 |
| |
2454 | 2454 |
| |
2455 | 2455 |
| |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
| 2461 | + | |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
2456 | 2466 |
| |
2457 | 2467 |
| |
2458 | 2468 |
| |
|
You can’t perform that action at this time.
0 commit comments