do not raise when constraint locals are not in signature (#102198)
Summary: Fix forward for D46151668
Test Plan: none
Differential Revision: D46161799
Pull Request resolved: https://github.com/pytorch/pytorch/pull/102198
Approved by: https://github.com/angelayi