pytorch/torchgen
Aaron Gokaslan 29cc293725 [BE]: FURB142 - Remove set mutations. Use set update (#124551)
Uses set mutation methods instead of manually reimplementing (update, set_difference etc).

Pull Request resolved: https://github.com/pytorch/pytorch/pull/124551
Approved by: https://github.com/ezyang
2024-04-21 14:12:33 +00:00
..
api [effects] Add inductor support for tokens (#122347) 2024-04-09 03:22:32 +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 [TorchGen] Use std::optional in generated code (#121454) 2024-03-29 14:11:09 +00:00
fuse Add mm_pattern and bmm_pattern to serialized_patterns (#121313) 2024-04-09 19:42:19 +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 [JIT SSA] Allow updating shape functions without recompilation (#83629) 2022-08-22 18:03:44 +00:00
static_runtime [BE]: Optimize min/max/sum comprehensions C419 (#123960) 2024-04-12 23:54:15 +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 [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +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 [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +00:00
gen_functionalization_type.py compile: ban mutations on non-compositional uses of as_strided (#122502) 2024-04-12 01:12:23 +00:00
gen_lazy_tensor.py [TorchGen] Use std::optional in generated code (#121454) 2024-03-29 14:11:09 +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 [BE]: FURB142 - Remove set mutations. Use set update (#124551) 2024-04-21 14:12:33 +00:00
local.py Change API type Tensor[] for structured kernels. (#73350) 2022-09-26 21:46:38 +00:00
model.py Expand is_functional_schema to work with torch._C._FunctionSchema (#123108) 2024-04-05 22:03:39 +00:00
native_function_generation.py [effects] Add inductor support for tokens (#122347) 2024-04-09 03:22:32 +00:00
utils.py [BE]: Apply RUF025 dict.fromkeys preview rule (#118637) 2024-01-30 20:46:54 +00:00
yaml_utils.py [Reland] Update mypy to 1.4.1 (#105227) 2023-07-15 20:30:20 +00:00