You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This validator incorrectly implements _inference_local and calls _inference from it's validate method when it does not support remote inference.
Short term fix: directly call _inference_local from validate to avoid this issue altogether.
Long term fix: the base Validator class should try catch in these scenarios and call _inference_local if _inference_remote throws a NotImplemented error.
Side note: this validator also doesn't accept kwargs in its init function like it should preventing the user from easily specifying use_local=True.