File tree Expand file tree Collapse file tree 3 files changed +0
-17
lines changed
Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -365,20 +365,6 @@ you're a function that simply does not interact with any devices. In
365365that case, code generation of the device guard can be disabled by adding
366366` device_guard: False ` to your function definition.
367367
368- ### ` matches_jit_signature `
369-
370- ```
371- matches_jit_signature: False
372- ```
373-
374- This will indicate that the func syntax does not follow the JIT signature schema.
375- If you are a triggering an assert related to JIT signature compliance
376- try adding this field and setting it to False. In general, this serves as a means
377- of tracking an ongoing schema unification with the goal of aligning func syntax
378- with other components of PyTorch in order to reduce overall complexity.
379- If you find yourself having to set this field to False add @gchanan to your PR's
380- set of reviewers.
381-
382368### ` manual_kernel_registration `
383369
384370```
Original file line number Diff line number Diff line change @@ -628,7 +628,6 @@ def compute_declaration_yaml(f: NativeFunction) -> object:
628628 ('overload_name' , str (f .func .name .overload_name )),
629629 ('manual_kernel_registration' , f .manual_kernel_registration ),
630630 ('category_override' , f .category_override if f .category_override is not None else '' ),
631- ('matches_jit_signature' , True ),
632631 ('schema_string' , f'aten::{ f .func } ' ),
633632 ('arguments' , arguments ),
634633 ('schema_order_cpp_signature' , schema_order_cpp_signature ),
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ def set_declaration_defaults(declaration):
2525 # This happens for legacy TH bindings like
2626 # _thnn_conv_depthwise2d_backward
2727 declaration ['schema_string' ] = ''
28- if 'matches_jit_signature' not in declaration :
29- declaration ['matches_jit_signature' ] = False
3028 declaration .setdefault ('arguments' , [])
3129 declaration .setdefault ('return' , 'void' )
3230 if 'cname' not in declaration :
You can’t perform that action at this time.
0 commit comments