Skip to content

Commit b7c302d

Browse files
bwastifacebook-github-bot
authored andcommitted
Make gen_jit_dispatch runnable (pytorch#12018)
Summary: Pull Request resolved: pytorch#12018 Tried to use the file and ran into a small bug, this fixes it Differential Revision: D10013231 fbshipit-source-id: 4cf8c29cf9e2cedd7a28fa0cc0196e5144a54bf2
1 parent 70e4b3e commit b7c302d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/jit/gen_jit_dispatch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def main():
351351
help='path to Declarations.yaml')
352352
parser.add_argument('out', metavar='OUT',
353353
help='path to output directory')
354-
parser.add_argument('template-path', metavar='TEMPLATE_PATH',
354+
parser.add_argument('template_path', metavar='TEMPLATE_PATH',
355355
help='path to templates directory')
356356
args = parser.parse_args()
357357
gen_jit_dispatch(args.declarations, args.out, args.template_path)

0 commit comments

Comments
 (0)