Dockerizing SRBench #176
lacava
announced in
Announcements
Replies: 1 comment 4 replies
-
Can you provide an example of how to run the evaluation of a single algorithm? I am running |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To update you all, I have been working on refactoring the build process so that each algorithm has its own docker environment. This makes install much more configurable for each algorithm. By default algorithms use a shared dockerfile running micromamba, but contributors can choose to upload their own Dockerfile with their algorithms if they want.
I’ve been able to reduce the average build time to ~ 3 minutes, and also push the images to dockerhub so that you don’t have to build the images if you don’t want to. (After some work I got build sizes down to 1-2 GB for most algorithms, but there’s probably room for improvement there).
This is happening on the docker compose branch and the build is pretty much working except for 1 algorithm (https://github.com/cavalab/srbench/actions/runs/9984875946).
The basic build procedure is now to generate the docker compose file
which generates a
docker-compose.yml
file with a service for each algorithm, and then run:docker compose pull
to pull the images ordocker compose build
to build the images ordocker compose run [algorithm] bash test.sh
to run the tests for [algorithm].you can send commands to be run in the same way, e.g.
Beta Was this translation helpful? Give feedback.
All reactions