← Back to events
ActiveAIRelease

ciflow/trunk/194843: Drop the dead force_schema_registration flag from generate_code.py

What happened

generate_code() accepted this parameter but never used it in its body since #49251 (2021) deleted the gen_unboxing_wrappers() call that was its only consumer here. caffe2/CMakeLists.txt has been passing --force_schema_registration to this script ever since with no effect. torchgen/gen.py has its own separate, still-functional force_schema_registration (used by Buck's internal build via torchgen:gen) and is untouched.

Summary assembled by rule from the sources below

Why it's spreading

Sources