Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sparse jacobian/hessian threashold configurable
Summary: The threshold was previously hardcoded to 200, but can now be configured while maintaining the default value (no behavioral changes for downstream users unless explicitly modified). Additionally, enforcing dense Jacobian/Hessian for retargeter benchmark improved performance from 3.22 ms to 2.93 ms by increasing the threshold configuration to 300 (where the parameter size is 204, so enforcing to dense jacobian/hessian). Reviewed By: yutingye Differential Revision: D69091231 fbshipit-source-id: 2fe8bb29f17e8ef224a5001e3dd19140d73fbb68
- Loading branch information