Skip to content

Conversation

@Didayolo
Copy link
Member

@Didayolo Didayolo commented Aug 30, 2023

Test

Deployed at https://codabench-test.lri.fr/

TODO

All compute workers need to be restarted using (use nvidia tag for GPU workers) the following commands.

First, check that no submission is running using docker ps. Then:

docker pull codalab/competitions-v2-compute-worker:latest
docker stop compute_worker
docker rm compute_worker
docker run \
    -v /codabench:/codabench \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -d \
    --env-file .env \
    --name compute_worker \
    --restart unless-stopped \
    --log-opt max-size=50m \
    --log-opt max-file=3 \
    codalab/competitions-v2-compute-worker:latest 
docker logs -f compute_worker

Don't forget to update the server table with the new hostname. Hostname can be found using docker ps.

Changes

@ihsaan-ullah
Copy link
Collaborator

there is a typo
docker rm copute_worker

@Didayolo
Copy link
Member Author

there is a typo docker rm copute_worker

Fixed, thanks.

@Didayolo Didayolo merged commit e18c726 into master Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants