mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "[AOTI] Add more fallback ops (#126720)"
This reverts commit 19cd4484ec8449b8c5ebf46be1f8f2fcbace8c6c. Reverted https://github.com/pytorch/pytorch/pull/126720 on behalf of https://github.com/DanilBaibak due to Break internal build ([comment](https://github.com/pytorch/pytorch/pull/126720#issuecomment-2129011751))
This commit is contained in:
@ -333,8 +333,6 @@ def get_backend_index_for_aoti(
|
||||
backend_index = backend_indices[
|
||||
DispatchKey.CompositeExplicitAutogradNonFunctional
|
||||
]
|
||||
elif backend_indices[DispatchKey.CompositeImplicitAutograd].has_kernel(func):
|
||||
backend_index = backend_indices[DispatchKey.CompositeImplicitAutograd]
|
||||
|
||||
return backend_index
|
||||
|
||||
@ -473,7 +471,6 @@ extern "C" {{
|
||||
#include <ATen/{str(dispatch_key)}Functions.h>
|
||||
#include <ATen/CompositeExplicitAutogradFunctions.h>
|
||||
#include <ATen/CompositeExplicitAutogradNonFunctionalFunctions.h>
|
||||
#include <ATen/CompositeImplicitAutogradFunctions.h>
|
||||
#else
|
||||
{includes}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user