CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 19:51:33 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/"886e01dea918100333c290ba6308cea5"
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=n3MgfvUD8iHg2lMdl5OTL95HWD0iao1i%2B%2BcELZi1fpfGGgluUUMaNwyvjkiKyxC5Rrlw6f2H7Zk8N0wMLgUUYgGngorBH6JWUbCbCfgx8D6ABJnhpsAFGHaD7EM7E5BsC0Q9JPELkUArRje7es2muio9K178SoVHCrHxR7egiH9yF1fT7cXWl4rfsBmboiBJfzVkUZHYW2wbcdPIkF7oPfOnhKoOjSp3tyxNu%2FS2hbR08iWCI5nVW7UTOsZ5oX6e7oFh8bmMHDwDIw5dlNle6Q%3D%3D--EXj3sXkacnJUl7Oq--CCRa0z5T46Uh9Eajxt9y3g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1087603023.1752954692; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 19:51:32 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 19:51:32 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BECE:2AF797:292FDD:344EEB:687BF744
[profiler][UT] instantiate profiler UTs for devices and enable UTs fo… · pytorch/pytorch@9aaf3a0 · GitHub
Copy file name to clipboardExpand all lines: test/profiler/test_cpp_thread.py
Copy file name to clipboardExpand all lines: test/profiler/test_execution_trace.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Commit 9aaf3a0
[profiler][UT] instantiate profiler UTs for devices and enable UTs for xpu profiler (#134316)
This PR enables the profiler related UT to be device-agnostic. It instantiates the profiler UTs for different device types and enable them on XPU backend.
Pull Request resolved: #134316
Approved by: https://github.com/etaf, https://github.com/aaronenyeshi, https://github.com/gujinghui1 parent de4216b commit 9aaf3a0Copy full SHA for 9aaf3a0
File tree
Expand file treeCollapse file tree
6 files changed
+219
-28
lines changedFilter options
- test/profiler
- torch/testing/_internal
Expand file treeCollapse file tree
6 files changed
+219
-28
lines changedtest/profiler/test_cpp_thread.py
Copy file name to clipboardExpand all lines: test/profiler/test_cpp_thread.py+157-11Lines changed: 157 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
4 | 5 |
| |
5 | 6 |
| |
6 | 7 |
| |
| |||
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
| 36 | + | |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
| |||
56 | 58 |
| |
57 | 59 |
| |
58 | 60 |
| |
| 61 | + | |
59 | 62 |
| |
60 |
| - | |
61 |
| - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
62 | 67 |
| |
63 | 68 |
| |
64 | 69 |
| |
65 | 70 |
| |
66 |
| - | |
| 71 | + | |
67 | 72 |
| |
68 | 73 |
| |
69 |
| - | |
| 74 | + | |
70 | 75 |
| |
71 | 76 |
| |
72 | 77 |
| |
73 | 78 |
| |
74 | 79 |
| |
75 | 80 |
| |
76 | 81 |
| |
77 |
| - | |
78 |
| - | |
| 82 | + | |
| 83 | + | |
79 | 84 |
| |
80 | 85 |
| |
81 | 86 |
| |
| |||
85 | 90 |
| |
86 | 91 |
| |
87 | 92 |
| |
| 93 | + | |
| 94 | + | |
88 | 95 |
| |
89 | 96 |
| |
90 | 97 |
| |
| |||
103 | 110 |
| |
104 | 111 |
| |
105 | 112 |
| |
106 |
| - | |
| 113 | + | |
107 | 114 |
| |
108 | 115 |
| |
109 | 116 |
| |
| |||
114 | 121 |
| |
115 | 122 |
| |
116 | 123 |
| |
117 |
| - | |
| 124 | + | |
118 | 125 |
| |
119 | 126 |
| |
120 | 127 |
| |
| |||
160 | 167 |
| |
161 | 168 |
| |
162 | 169 |
| |
163 |
| - | |
| 170 | + | |
164 | 171 |
| |
165 | 172 |
| |
166 | 173 |
| |
| |||
174 | 181 |
| |
175 | 182 |
| |
176 | 183 |
| |
177 |
| - | |
| 184 | + | |
178 | 185 |
| |
179 | 186 |
| |
180 | 187 |
| |
| |||
188 | 195 |
| |
189 | 196 |
| |
190 | 197 |
| |
191 |
| - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
192 | 338 |
| |
193 | 339 |
| |
194 | 340 |
| |
|
test/profiler/test_execution_trace.py
Copy file name to clipboardExpand all lines: test/profiler/test_execution_trace.py+16-7Lines changed: 16 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
| 44 | + | |
44 | 45 |
| |
45 | 46 |
| |
46 | 47 |
| |
| |||
131 | 132 |
| |
132 | 133 |
| |
133 | 134 |
| |
| 135 | + | |
134 | 136 |
| |
135 | 137 |
| |
136 | 138 |
| |
| |||
202 | 204 |
| |
203 | 205 |
| |
204 | 206 |
| |
| 207 | + | |
205 | 208 |
| |
206 | 209 |
| |
207 | 210 |
| |
| |||
241 | 244 |
| |
242 | 245 |
| |
243 | 246 |
| |
244 |
| - | |
245 |
| - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
246 | 251 |
| |
247 | 252 |
| |
248 | 253 |
| |
| |||
290 | 295 |
| |
291 | 296 |
| |
292 | 297 |
| |
| 298 | + | |
293 | 299 |
| |
294 | 300 |
| |
295 | 301 |
| |
| |||
328 | 334 |
| |
329 | 335 |
| |
330 | 336 |
| |
| 337 | + | |
331 | 338 |
| |
332 | 339 |
| |
333 | 340 |
| |
| |||
361 | 368 |
| |
362 | 369 |
| |
363 | 370 |
| |
364 |
| - | |
365 |
| - | |
| 371 | + | |
366 | 372 |
| |
367 | 373 |
| |
368 | 374 |
| |
| |||
377 | 383 |
| |
378 | 384 |
| |
379 | 385 |
| |
380 |
| - | |
381 |
| - | |
| 386 | + | |
382 | 387 |
| |
383 | 388 |
| |
384 | 389 |
| |
| |||
404 | 409 |
| |
405 | 410 |
| |
406 | 411 |
| |
| 412 | + | |
| 413 | + | |
407 | 414 |
| |
408 | 415 |
| |
409 |
| - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
410 | 419 |
| |
411 | 420 |
| |
412 | 421 |
|
You can’t perform that action at this time.
0 commit comments