Error while parsing precomputed field for NativeFunctions YAML in torchgen #127411
Labels
module: codegen
Issues related to the codegen for Aten and Autograd
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
🐛 Describe the bug
Hi,
I found a bug during testing
parse_native_yaml
function.An error occured in Argument parser, but the bug is in missed validation for 'precomputed' field.
Seed to reproduce bug:
Error:
Versions
PyTorch version: 2.3.0, current main
OS: Ubuntu 20.04.6 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Clang version: 14.0.6
CMake version: version 3.29.2
Libc version: glibc-2.31
Python version: 3.9.5 (default, Nov 23 2021, 15:27:38) [GCC 9.3.0] (64-bit runtime)
Python platform: Linux-5.4.0-174-generic-x86_64-with-glibc2.31
cc @ezyang @bhosmer @bdhirsh @kadeng
The text was updated successfully, but these errors were encountered: