mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-04 08:00:58 +08:00
Update base for Update on "[WIP] Add scalar support for eager-through-torch.compile"
cc voznesenskym penguinwu jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 aakhundov ColinPeppler amjames desertfire chauhang [ghstack-poisoned]
This commit is contained in:
@ -140,7 +140,7 @@ class Library:
|
||||
>>> my_lib = Library("aten", "IMPL")
|
||||
>>> def div_cpu(self, other):
|
||||
>>> return self * (1 / other)
|
||||
>>> my_lib._impl_with_aoti_compile("div", "Tensor", "CPU", div_cpu)
|
||||
>>> my_lib._impl_with_aoti_compile("aten::div", "Tensor", "CPU", div_cpu)
|
||||
'''
|
||||
impl_fn_name = "impl_with_aoti_compile"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user