pytorch/torchgen
Colin Peppler 3a185778ed [aotinductor] Add torch.polar fallback op for shim v2 (#128722)
Compilation error:
```
$ TORCHINDUCTOR_C_SHIM_VERSION=2 TORCHINDUCTOR_ABI_COMPATIBLE=1 TORCH_LOGS_FORMAT="%(pathname)s:%(lineno)s: %(message)s" TORCH_LOGS="+output_code" python test/inductor/test_cpu_cpp_wrapper.py -k test_polar

/tmp/tmp2sp128xj/dy/cdypvu3hvgg3mwxydwbiuddsnmuoi37it3mrpjktcnu6vt4hr3ki.cpp:59:33: error: ‘aoti_torch_cpu_polar’ was not declared in this scope; did you mean ‘aoti_torch_cpu_topk’?
```

Steps:
1. Add aten.polar
2. run `python torchgen/gen.py --update-aoti-c-shim`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/128722
Approved by: https://github.com/chenyang78, https://github.com/desertfire
2024-06-19 05:06:58 +00:00
..
aoti [aotinductor] Add torch.polar fallback op for shim v2 (#128722) 2024-06-19 05:06:58 +00:00
api Fix generated vararg types (#128648) 2024-06-14 16:04:37 +00:00
decompositions
dest [8/N] Remove unused functions (#128499) 2024-06-13 01:15:11 +00:00
executorch
fuse
operator_versions
selective_build
shape_functions
static_runtime [Static Runtime] Fix & run gen_static_runtime_ops (#128299) 2024-06-11 16:27:39 +00:00
__init__.py
BUCK.oss
BUILD.bazel
build.bzl
code_template.py
context.py
gen.py Fix multiple errors while parsing NativeFunctions from YAML (#127413) 2024-05-30 16:25:04 +00:00
gen_aoti_c_shim.py [AOTI] Add more fallback ops (#126720) 2024-05-24 19:10:33 +00:00
gen_backend_stubs.py
gen_executorch.py
gen_functionalization_type.py Keep track of ViewMeta with symbolic inputs. (#125876) 2024-05-12 01:41:06 +00:00
gen_lazy_tensor.py
gen_vmap_plumbing.py
local.py
model.py Fix multiple errors while parsing NativeFunctions from YAML (#127413) 2024-05-30 16:25:04 +00:00
native_function_generation.py
utils.py [1/N][Easy] fix typo for usort config in pyproject.toml (kown -> known): sort stdlib (#127122) 2024-05-25 08:25:50 +00:00
yaml_utils.py