Commit Graph

109 Commits

Author SHA1 Message Date
Michele Dolfi
b00718bcc9 feat: upgrade endpoint to docling v2 (#13)
* upgrade endpoint to docling v2

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* fix Containerfile

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

---------

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-12-19 11:41:44 +01:00
Brent Salisbury
3824aa6b2f Add poetry install shell cmd to the readme (#7)
* Add poetry install shell cmd to the readme

Signed-off-by: Brent Salisbury <bsalisbu@redhat.com>

* Add GPU support instructions

- Validated on an EC2 GPU instance to work.
- Closes #8

Signed-off-by: Brent Salisbury <bsalisbu@redhat.com>

* Update README.md

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>

---------

Signed-off-by: Brent Salisbury <bsalisbu@redhat.com>
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Co-authored-by: Anil Vishnoi <vishnoianil@gmail.com>
2024-10-11 08:41:50 +02:00
Anil Vishnoi
ac3518c34c Add python, markdown and github action linter (#5)
to ensure the code maintenance. Thanks to docling
project- took some good bits around python linting
from the project.

These checks are also added in the markdown, so that
user can run these checks locally to recreate the
errors.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
2024-09-13 14:26:32 +02:00
Anil Vishnoi
fc11dc2540 Enable concurrent running of the image generation jobs (#4)
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.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
2024-09-13 10:31:06 +02:00
Anil Vishnoi
4dd517c96a Use consistent naming across ghcr.io and quay.io images (#3)
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
2024-09-13 08:28:52 +02:00
Anil Vishnoi
ae07e12b33 Fix github workflow (#2)
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
2024-09-12 22:16:00 +02:00
Anil Vishnoi
a91ee83c61 Publish docling-serve images to ghcr and quay container repositories (#1)
* Publish docling-serve images to ghcr and quay container repositories

This commit:
- Creates container file to build the image for cpu only
and default "with gpu" images
- Adds workflow jobs to publish the images to ghcr.io and quay.io
- Makefile to build these images locally for linux/amd64 platform.

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>

* make cpu-only version with poetry

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>

* Rename cpu/gpu image names and also update the supported platforms

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>

---------

Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Co-authored-by: Michele Dolfi <dol@zurich.ibm.com>
2024-09-12 22:02:42 +02:00
Michele Dolfi
77c2603a93 docling_serve
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-09-06 22:05:58 +02:00
Michele Dolfi
923e9fa22d add gitignore
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
2024-09-06 21:41:40 +02:00