{"id":38547519,"url":"https://github.com/codalab/competitions-v1-compute-worker","last_synced_at":"2026-01-17T07:22:44.643Z","repository":{"id":41081565,"uuid":"104941111","full_name":"codalab/competitions-v1-compute-worker","owner":"codalab","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-11T15:16:28.000Z","size":84,"stargazers_count":2,"open_issues_count":16,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-11T17:36:54.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codalab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-09-26T21:47:30.000Z","updated_at":"2025-07-11T15:16:29.000Z","dependencies_parsed_at":"2025-07-11T17:25:30.708Z","dependency_job_id":"aaef53a7-0f83-406f-9ad6-dbdfd02e68a4","html_url":"https://github.com/codalab/competitions-v1-compute-worker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codalab/competitions-v1-compute-worker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codalab%2Fcompetitions-v1-compute-worker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codalab%2Fcompetitions-v1-compute-worker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codalab%2Fcompetitions-v1-compute-worker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codalab%2Fcompetitions-v1-compute-worker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codalab","download_url":"https://codeload.github.com/codalab/competitions-v1-compute-worker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codalab%2Fcompetitions-v1-compute-worker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28503683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T07:22:44.462Z","updated_at":"2026-01-17T07:22:44.628Z","avatar_url":"https://github.com/codalab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Alternative workers\n===================\n\n### [igormusinov/competitions-v1-compute-worker](https://github.com/igormusinov/competitions-v1-compute-worker)\n\nUses cool Azure features ([ACI](https://azure.microsoft.com/en-us/services/container-instances/)) to run compute worker docker container in serverless environment:\n\n### [(LEGACY nvidia-docker) nvidia compute worker](https://github.com/codalab/competitions-v1-compute-worker/tree/162-nvidia-worker)\n\nAdds support for nvidia GPUs \n\n### [realtime detailed results](https://github.com/codalab/competitions-v1-compute-worker/tree/feature/realtime-detailed-results)\n\nAdds support for real time detailed results\n\nRunning\n=======\n\nEdit `.env_sample` and save it as `.env`:\n\n```\nBROKER_URL=\u003cYour queue's broker URL\u003e\nBROKER_USE_SSL=True in .env.\n```\n\nRun the following command:\n\n```sh\ndocker run \\\n    --env-file .env \\\n    --name compute_worker \\\n    -d \\\n    --restart unless-stopped \\\n    -v /var/run/docker.sock:/var/run/docker.sock \\\n    -v /tmp/codalab:/tmp/codalab \\\n    codalab/competitions-v1-compute-worker:1.1.5\n```\n\nFor more details: [codalab/codalab-competitions/wiki/Using-your-own-compute-workers](https://github.com/codalab/codalab-competitions/wiki/User_Using-your-own-compute-workers).\n\n### If you want to run with GPU:\n\nInstall `cuda`, `nvidia`, `docker` and `nvidia-docker` (system dependent)\n\nMake sure that you have [nvidia-container-toolkit](https://github.com/NVIDIA/nvidia-docker#quickstart)\nset up -- this also involves updating to Docker 19.03 and installing NVIDIA drivers.\n\nEdit `.env_sample` and save it as `.env`. Make sure to uncomment `USE_GPU=True`.\n\nThen make sure the temp directory you select is created and pass it in this command\n\nRun the following command:\n\n```sh\nsudo mkdir -p /tmp/codalab \u0026\u0026 nvidia-docker run \\\n    -v /var/run/docker.sock:/var/run/docker.sock \\\n    -v /var/lib/nvidia-docker/nvidia-docker.sock:/var/lib/nvidia-docker/nvidia-docker.sock \\\n    -v /tmp/codalab:/tmp/codalab \\\n    -d \\\n    --name compute_worker \\\n    --env-file .env \\\n    --restart unless-stopped \\\n    --log-opt max-size=50m \\\n    --log-opt max-file=3 \\\n    codalab/competitions-v1-nvidia-worker:v1.5-compat\n```\n\n\n\n### To get output of the worker\n\n```\n$ docker logs -f compute_worker\n```\n\n### To stop the worker\n\n```\n$ docker kill compute_worker\n```\n\n\nDevelopment\n===========\n\nTo re-build the image:\n\n```\ndocker build -t competitions-v1-compute-worker .\n```\n\nUpdating the image\n\n```\ndocker build -t codalab/competitions-v1-compute-worker:latest .\ndocker push codalab/competitions-v1-compute-worker\n```\n\n\nSpecial env flags\n=================\n\n### USE_GPU\n\n*Default False, does not pass `--gpus all` flag*\n\nNote: Also requires Docker v19.03 or greater, nvidia-container-toolkit, and NVIDIA drivers.\n\n### SUBMISSION_TEMP_DIR\n\n*Default /tmp/codalab*\n\n### SUBMISSION_CACHE_DIR\n\n*Default /tmp/cache*\n\n### CODALAB_HOSTNAME\n\n*Default socket.gethostname()*\n\n### DONT_FINALIZE_SUBMISSION\n\n*Default False*\n\nSometimes it may be useful to pause the compute worker and return instead of finishing a submission. This leaves the\nsubmission in a state where it hasn't been cleaned up yet and you can attempt to re-run it manually.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodalab%2Fcompetitions-v1-compute-worker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodalab%2Fcompetitions-v1-compute-worker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodalab%2Fcompetitions-v1-compute-worker/lists"}