Runtime configuration
You can configure specific details on how RIME runs a particular job.
By default, RIME attempts to infer optimal values for all of these options. Manually set these parameters only when RIME is not selecting appropriate values.
Template
Specify this configuration in the Stress Testing configuration
JSON file, under the "run_time_info"
parameter.
{
...,
"run_time_info": {
"agent_id": "my_agent_id",
"custom_image": {
"custom_image": {
"name": "my custom image name",
"pull_secret": "my custom image pull secret",
},
"managed_image_name": "my managed image name",
},
"resource_request": {
"ram_request_megabytes": 1,
"cpu_request_millicores": 1,
},
"explicit_errors": False,
"random_seed": 5
}
}
Arguments
agent_id
: rime.UUID ornull
, default = the ID of the default agent for the workspace.The ID of the agent on which to run this job.
custom_image
: CustomImageType ornull
, default =null
Specifies a custom Docker image used by the job. In the outer
custom_image
dictionary, specify exactly one ofmanaged_image_name
or the innercustom_image
dictionary.resource_request
: ResourceRequest ornull
, default =null
The compute resources, such as RAM and CPU, that the job requires.
explicit_errors
:Boolean
ornull
, default =False
When true, the job does not ignore silent errors.
random_seed
: int64 ornull
, default =1
Random seed for the job to avoid deterministic results.