I’m using the score_model from Graders API to run individual evalutions on my dataset, however, I’m unable to get the score of the model due to the following error in the sub_rewards response:
{'model_grader_server_error_details': {'error': "Error code: 451 - {'error': {'message': 'missing_compute_residency_info', 'type': 'invalid_request_error', 'param': None, 'code': 'missing_compute_residency_info'}}", 'error_type': 'APIStatusError', 'request_id': 'placeholder'},}
My grader schema is the following:
{
"type": "score_model",
"name": "grader_v1",
"input": [
{"role": "system", "content": ""},
{
"role": "user",
"content": "",
},
],
"pass_threshold": 0.5,
"model": "o4-mini-2025-04-16",
"range": [0, 1],
"sampling_params": {"top_p": 1, "reasoning_effort": "medium"},
},
The API endpoint I’m using is /v1/fine_tuning/alpha/graders/run. Even running the example available at the Model Graders Documentation is returning this error. What is the error?