pytorch/torchgen
Daniil Kutz b506d37331 Fix multiple errors while parsing NativeFunctions from YAML (#127413)
Fixing multiple errors in parse_native_yaml when loading NativeFunctions from Yaml file.

Add assertions that validates parsed data.

Fixes #127404, #127405, #127406, #127407, #127408, #127409, #127410, #127411

Pull Request resolved: https://github.com/pytorch/pytorch/pull/127413
Approved by: https://github.com/ezyang
2024-05-30 16:25:04 +00:00
..
aoti [AOTI] Add more fallback ops (#126720) 2024-05-24 19:10:33 +00:00
api Add _foreach_max (#127187) 2024-05-29 19:08:58 +00:00
decompositions Use strict to toggle strict options in MYPYSTRICT (#118479) 2024-01-28 19:22:22 +00:00
dest [BE] enable ruff rule RSE and remove useless parentheses in raise statements (#124261) 2024-04-17 19:29:34 +00:00
executorch [BE]: TRY002 - Ban raising vanilla exceptions (#124570) 2024-04-21 22:26:40 +00:00
fuse Add mm_pattern and bmm_pattern to serialized_patterns (#121313) 2024-04-09 19:42:19 +00:00
operator_versions [BE]: Apply ruff FURB 118. (#124743) 2024-04-26 14:34:52 +00:00
selective_build [BE]: TRY002 - Ban raising vanilla exceptions (#124570) 2024-04-21 22:26:40 +00:00
shape_functions [BE]: TRY002 - Ban raising vanilla exceptions (#124570) 2024-04-21 22:26:40 +00:00
static_runtime [BE]: Update ruff to v0.4.4 (#125031) 2024-05-12 20:02:37 +00:00
__init__.py
BUCK.oss
BUILD.bazel
build.bzl update rules_python and let bazel install its own pip dependencies (#101405) 2023-05-23 06:20:33 +00:00
code_template.py [BE] Enable ruff's UP rules and autoformat torchgen/ (#105423) 2023-07-18 06:44:20 +00:00
context.py [Specialized Kernel] Propagate Specialized Kernel Support through ComputeCodegenUnboxedKernels (#103113) 2023-06-14 10:18:16 +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 [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +00:00
gen_executorch.py [BE]: TRY002 - Ban raising vanilla exceptions (#124570) 2024-04-21 22:26:40 +00:00
gen_functionalization_type.py Keep track of ViewMeta with symbolic inputs. (#125876) 2024-05-12 01:41:06 +00:00
gen_lazy_tensor.py [BE]: TRY002 - Ban raising vanilla exceptions (#124570) 2024-04-21 22:26:40 +00:00
gen_vmap_plumbing.py [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +00:00
gen.py Fix multiple errors while parsing NativeFunctions from YAML (#127413) 2024-05-30 16:25:04 +00:00
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 [effects] Add inductor support for tokens (#122347) 2024-04-09 03:22:32 +00:00
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 [Reland] Update mypy to 1.4.1 (#105227) 2023-07-15 20:30:20 +00:00