Bin Bao
1cb2ebd740
[AOTI] Fix #140546 and support AOTI package load for Intel GPU. ( #140664 )
...
Stack from [ghstack](https://github.com/ezyang/ghstack ) (oldest at bottom):
* #140686
* __->__ #140664
* #140269
* #140268
* #135320
* #135318
* #139026
Fix #140546
Pull Request resolved: https://github.com/pytorch/pytorch/pull/140664
Approved by: https://github.com/desertfire , https://github.com/EikanWang
ghstack dependencies: #140268 , #140269
Co-authored-by: Bin Bao <binbao@meta.com>
2024-12-10 05:05:08 +00:00
PyTorch MergeBot
6fcb294e18
Revert "[AOTI] Fix #140546 and support AOTI package load for Intel GPU. ( #140664 )"
...
This reverts commit 91d30546a4 .
Reverted https://github.com/pytorch/pytorch/pull/140664 on behalf of https://github.com/clee2000 due to breaks forward compatibility? D66937097 ([comment](https://github.com/pytorch/pytorch/pull/140269#issuecomment-2528828555 ))
2024-12-09 17:33:28 +00:00
xinan.lin
91d30546a4
[AOTI] Fix #140546 and support AOTI package load for Intel GPU. ( #140664 )
...
Stack from [ghstack](https://github.com/ezyang/ghstack ) (oldest at bottom):
* #140686
* __->__ #140664
* #140269
* #140268
* #135320
* #135318
* #139026
Fix #140546
Pull Request resolved: https://github.com/pytorch/pytorch/pull/140664
Approved by: https://github.com/desertfire , https://github.com/EikanWang
ghstack dependencies: #140268 , #140269
2024-12-07 19:22:04 +00:00
Bin Bao
310eb6d8c6
[AOTI] Fix test_aoti_inference CPU build issue ( #134675 )
...
Summary: Fixes https://github.com/pytorch/pytorch/issues/130311 . We need to guard CUDA-only code in test_aoti_inference with macros so that it won't fail for CPU-only platform.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/134675
Approved by: https://github.com/atalman , https://github.com/chunyuan-w
2024-08-28 17:42:19 +00:00
Prachi Gupta
c326533999
[ROCm][Inductor] Enable AOT Inductor CPP UTs for ROCm ( #131521 )
...
Fixes #ISSUE_NUMBER
Pull Request resolved: https://github.com/pytorch/pytorch/pull/131521
Approved by: https://github.com/jataylo , https://github.com/pruthvistony , https://github.com/malfet
2024-08-08 19:49:56 +00:00
Bin Bao
4946638f06
[AOTI] Add ABI-compatiblity tests ( #123848 )
...
Summary: In AOTInductor generated CPU model code, there can be direct references to some aten/c10 utility functions and data structures, e.g. at::vec and c10::Half. These are performance critical and thus it doesn't make sense to create C shim for them. Instead, we make sure they are implemented in a header-only way, and use this set of tests to guard future changes.
There are more header files to be updated, but we will do it in other followup PRs.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/123848
Approved by: https://github.com/jansel
ghstack dependencies: #123847
2024-04-19 00:51:24 +00:00