eval_with_jobqueue
heartbeat_thread_func(worker_id, stop_event)
Background thread that sends heartbeats every 30 seconds.
Source code in OmniGibson/omnigibson/learning/eval_with_jobqueue.py
mark_job_as_completed(job_id, worker_id)
Mark a job as completed in the job queue.
Source code in OmniGibson/omnigibson/learning/eval_with_jobqueue.py
release_resource(resource_type, resource_idx, worker_id, job_id)
Release a reserved resource.
Source code in OmniGibson/omnigibson/learning/eval_with_jobqueue.py
request_job(worker_id)
Request a job from the job queue server.
Source code in OmniGibson/omnigibson/learning/eval_with_jobqueue.py
reserve_resource(resource_type, worker_id, job_id)
Reserve a resource of the specified type for the job. Retries every 20 seconds until successful.
Source code in OmniGibson/omnigibson/learning/eval_with_jobqueue.py
send_heartbeat_all_jobs_and_resources(worker_id)
Send heartbeat for all jobs and resources assigned to this worker.