mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
remove unused nn_path from generate_code (#74563)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/74563 This is used inconsistently in all the generate_code program invocations. Nevertheless, nothing consumes this flag, so we can safely remove it. This was removed in #25353. ghstack-source-id: 152249818 Test Plan: Should be a no-op, rely on CI. Reviewed By: malfet Differential Revision: D35053096 fbshipit-source-id: 3ad19e83ca14649b514dc163c3caff6cbd118e14 (cherry picked from commit a43f05bb43553249caac3c3479986cbc45d286ae)
This commit is contained in:
committed by
PyTorch MergeBot
parent
1a1f0d4bcb
commit
60729d02f1
@ -27,7 +27,6 @@ def all_generator_source() -> List[str]:
|
||||
|
||||
|
||||
def generate_code(ninja_global: Optional[str] = None,
|
||||
nn_path: Optional[str] = None,
|
||||
native_functions_path: Optional[str] = None,
|
||||
install_dir: Optional[str] = None,
|
||||
subset: Optional[str] = None,
|
||||
@ -135,7 +134,6 @@ def get_selector(
|
||||
def main() -> None:
|
||||
parser = argparse.ArgumentParser(description='Autogenerate code')
|
||||
parser.add_argument('--native-functions-path')
|
||||
parser.add_argument('--nn-path')
|
||||
parser.add_argument('--ninja-global')
|
||||
parser.add_argument('--install_dir')
|
||||
parser.add_argument(
|
||||
@ -176,7 +174,6 @@ def main() -> None:
|
||||
|
||||
generate_code(
|
||||
options.ninja_global,
|
||||
options.nn_path,
|
||||
options.native_functions_path,
|
||||
options.install_dir,
|
||||
options.subset,
|
||||
|
Reference in New Issue
Block a user