pytorch/torchgen
Sam Larsen cd449e260c Mark set_ as an inplace view op (#115769)
Summary: To be used in https://github.com/pytorch/pytorch/pull/113873. Since set_ is effectively an inplace view op, we'll need to skip caching them.

Test Plan: Built pytorch; specifically this step: `/home/slarsen/local/miniconda3/envs/pytorch-3.10/bin/python -m torchgen.gen --source-path /home/slarsen/local/pytorch/cmake/../aten/src/ATen --install_dir /home/slarsen/local/pytorch/build/aten/src/ATen --per-operator-headers --generate sources --output-dependencies /home/slarsen/local/pytorch/build/aten/src/ATen/generated_sources.cmake`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/115769
Approved by: https://github.com/bdhirsh
2023-12-19 23:08:05 +00:00
..
api [pytorch] add namespace for optTypeMetaToScalarType in codegen to avoid not declared when compile (#115623) 2023-12-13 00:59:01 +00:00
decompositions
dest Add support for torch.Generator type in TorchScript (#110413) 2023-11-21 23:07:21 +00:00
executorch [torchgen] Add logic in custom ops to return empty tensor (#114143) 2023-12-08 17:03:44 +00:00
fuse_attention_patterns Serialize Remaining Patterns (#108917) 2023-09-20 05:39:23 +00:00
operator_versions [BE]: Update Ruff to 0.0.280 (#105724) 2023-07-22 23:03:34 +00:00
selective_build [BE] f-stringify torch/ and scripts (#105538) 2023-07-21 19:35:24 +00:00
shape_functions
static_runtime [BE]: ruff apply rule PLW1510 to find silent subprocess errors (#113644) 2023-11-14 20:59:40 +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_backend_stubs.py [BE] Enable ruff's UP rules and autoformat torchgen/ (#105423) 2023-07-18 06:44:20 +00:00
gen_executorch.py Adding event_tracer evalue logging calls in codegen (#114584) 2023-11-28 18:32:05 +00:00
gen_functionalization_type.py Mark set_ as an inplace view op (#115769) 2023-12-19 23:08:05 +00:00
gen_lazy_tensor.py Fix typo under torchgen directory (#111154) 2023-10-13 16:43:46 +00:00
gen_vmap_plumbing.py
gen.py Mark set_ as an inplace view op (#115769) 2023-12-19 23:08:05 +00:00
local.py
model.py Support Predispatch functionalization (#113728) 2023-12-19 20:28:35 +00:00
native_function_generation.py Mark set_ as an inplace view op (#115769) 2023-12-19 23:08:05 +00:00
utils.py [BE] Enable Ruff's Flake8 PYI034 (#111105) 2023-10-13 21:19:53 +00:00
yaml_utils.py [Reland] Update mypy to 1.4.1 (#105227) 2023-07-15 20:30:20 +00:00