api for user-defined constraints (#81445)
- Add API for user-defined constraints to solve during trace-time
- For the HF tracer, we add a field for the user-defined constraints. PR here:
https://github.com/migeed-z/transformers/pull/3/files
Pull Request resolved: https://github.com/pytorch/pytorch/pull/81445
Approved by: https://github.com/jamesr66a, https://github.com/anijain2305