DS4SD / docling-serve

Running Docling as an API service
MIT License
6 stars 2 forks source link

Enable concurrent running of the image generation jobs #4

Closed vishnoianil closed 1 week ago

vishnoianil commented 1 week ago

Group GPU image generate for GHCR and QUAY in one job, and similarly group CPU only image generation for GHCR and QUAY in another job. These two jobs can now run concurrently.

By grouping the jobs for the same image type, it can use the docker layer cache to run the second job faster. If we separately build these images in four diffent and concurrent jobs, they won't be able to use the cache.

If this still takes significantly long, we probably have to generate image in it's own job, so that they can run concurrently, without leveraging cache of docker layers.

Also added make file target to lint the github workflows.