e93706c2c8
[Intel GPU][pre_compile] Add XPU toolkit version and hardware info in compiled model check. ( #162951 )
...
Following #162438 , this PR generalized the origin CUDA only check, and add XPU check.
Fixes #162939 , Fixes #162938 , Fixes #163032,Fixes #163045
Pull Request resolved: https://github.com/pytorch/pytorch/pull/162951
Approved by: https://github.com/EikanWang , https://github.com/jansel
2025-09-18 00:04:22 +00:00
ccb450b190
[pre_compile] Add check for cuda and hardware version ( #162438 )
...
if we detect compiled model is using cuda in meaningful way, we should store information about cuda + hardware
Example: `SystemInfo(python_version='3.12.9', torch_version='2.9.0a0+gite02b0e6', cuda_version='12.6', triton_version=(3, 4), gpu_name='NVIDIA PG509-210')`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/162438
Approved by: https://github.com/zhxchen17
2025-09-12 01:42:07 +00:00
57dafb90ef
[Hierarchical Compile] Take into account mutation deps in cycle detection ( #152506 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/152506
Approved by: https://github.com/anijain2305
ghstack dependencies: #152389 , #152505 , #152410
2025-05-13 12:17:59 +00:00
3592cb52d9
[Hierarchical Compilation] Use universal flatten APIs ( #152505 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/152505
Approved by: https://github.com/anijain2305
ghstack dependencies: #152389
2025-05-13 12:17:59 +00:00
78d752e96a
Revert "[Hierarchical Compilation] Use universal flatten APIs ( #152505 )"
...
This reverts commit f9e3a9058e80fde310e5f0919d3a21e28cd024a8.
Reverted https://github.com/pytorch/pytorch/pull/152505 on behalf of https://github.com/jeanschmidt due to [TENTATIVE] reverting to check if reverting this stack partially caused the introduction of https://github.com/pytorch/pytorch/actions/runs/14966121510/job/42049638969#step:22:875 ([comment](https://github.com/pytorch/pytorch/pull/152505#issuecomment-2872869990 ))
2025-05-12 14:48:08 +00:00
0e36887209
Revert "[Hierarchical Compile] Take into account mutation deps in cycle detection ( #152506 )"
...
This reverts commit 779e647999645d19eebf01fa686fb792176f8940.
Reverted https://github.com/pytorch/pytorch/pull/152506 on behalf of https://github.com/jeanschmidt due to Breaking internal signal citadel-fbcode-test-mode-opt-for-pt2_stack_for_internal-linux-0 please see diff [D74531503](https://www.internalfb.com/diff/D74531503 ) for more details ([comment](https://github.com/pytorch/pytorch/pull/152410#issuecomment-2871168679 ))
2025-05-12 07:15:09 +00:00
779e647999
[Hierarchical Compile] Take into account mutation deps in cycle detection ( #152506 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/152506
Approved by: https://github.com/anijain2305
ghstack dependencies: #152389 , #152505 , #152410
2025-05-10 08:27:31 +00:00
f9e3a9058e
[Hierarchical Compilation] Use universal flatten APIs ( #152505 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/152505
Approved by: https://github.com/anijain2305
ghstack dependencies: #152389
2025-05-10 08:27:07 +00:00
8740ffa760
[Hierarchical Compile] Add cycle detection to graph region expansion ( #150305 )
...
Pull Request resolved: https://github.com/pytorch/pytorch/pull/150305
Approved by: https://github.com/anijain2305
ghstack dependencies: #150303 , #150304
2025-04-01 20:54:18 +00:00
a2300aff94
[Hierarchical Compile] Add cycle detection function for debug ( #150304 )
...
Remove print
Pull Request resolved: https://github.com/pytorch/pytorch/pull/150304
Approved by: https://github.com/anijain2305
ghstack dependencies: #150303
2025-04-01 20:54:10 +00:00