Skip to content

Commit 5fb7653

Browse files
authored
rebrand from QPod to LabNow (#23)
* rebrand * debug paddleOcr * debug cuda * debug pip ver * skip paddleOCR modesl now * debug vllm install
1 parent 56105e5 commit 5fb7653

File tree

15 files changed

+90
-67
lines changed

15 files changed

+90
-67
lines changed

.github/workflows/build-docker.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,33 @@ env:
2525
# used to sync image to mirror registry
2626
DOCKER_MIRROR_REGISTRY_USERNAME: ${{ vars.DOCKER_MIRROR_REGISTRY_USERNAME }}
2727
DOCKER_MIRROR_REGISTRY_PASSWORD: ${{ secrets.DOCKER_MIRROR_REGISTRY_PASSWORD }}
28-
28+
CI_PROJECT_NAME: ${{ vars.CI_PROJECT_NAME || 'LabNow/lab-media' }}
2929

3030
jobs:
31-
qpod_PaddleOCR_cuda112:
32-
name: 'paddleocr-cuda112'
31+
job-PaddleOCR:
32+
name: 'paddleocr-cuda'
3333
runs-on: ubuntu-latest
3434
steps:
3535
- uses: actions/checkout@v4
3636
- run: |
3737
source ./tool.sh && free_diskspace
38-
build_image paddleocr-cuda112 latest docker_PaddleOCR/paddle-ocr.Dockerfile --build-arg "BASE_IMG=cuda_11.2"
39-
echo 'paddleocr-models: temp disable the build caused by the paddle run on CPU server'
40-
echo 'build_image paddleocr-models latest docker_PaddleOCR/paddle-ocr-models.Dockerfile --build-arg "BASE_IMG=paddleocr-cuda112" --build-arg "BASE_NAMESPACE_SRC=docker.io/library"'
38+
build_image paddleocr-cuda latest docker_PaddleOCR/paddle-ocr.Dockerfile --build-arg "BASE_IMG=cuda_12.6"
39+
echo 'Skipping paddleocr-models build for now'
40+
echo 'build_image paddleocr-models latest docker_PaddleOCR/paddle-ocr-models.Dockerfile --build-arg "BASE_IMG=paddleocr-cuda" --build-arg "BASE_NAMESPACE_SRC=docker.io/library"'
4141
push_image
4242
43-
qpod_PaddleOCR_cuda120:
44-
name: 'paddleocr-cuda120,doc-ai-cuda120'
43+
job-doc-ai:
44+
name: 'doc-ai-cuda126'
4545
runs-on: ubuntu-latest
4646
steps:
4747
- uses: actions/checkout@v4
4848
- run: |
4949
source ./tool.sh && free_diskspace
50-
build_image paddleocr-cuda120 latest docker_PaddleOCR/paddle-ocr.Dockerfile --build-arg "BASE_IMG=cuda_12.0"
51-
build_image doc-ai-cuda120 latest docker_PaddleOCR/paddle-ocr.Dockerfile --build-arg "BASE_IMG=py-nlp-cuda120"
50+
build_image doc-ai-cuda126 latest docker_PaddleOCR/paddle-ocr.Dockerfile --build-arg "BASE_IMG=py-nlp-cuda126"
5251
push_image
5352
5453
55-
qpod_vllm-cuda:
54+
job-vllm-cuda:
5655
name: 'vllm-cuda'
5756
runs-on: ubuntu-latest
5857
steps:
@@ -62,7 +61,7 @@ jobs:
6261
build_image vllm-cuda latest docker_vllm/vllm-cuda.Dockerfile
6362
push_image
6463
65-
qpod_aidoc-miner:
64+
job-aidoc-miner:
6665
name: 'aidoc-miner'
6766
runs-on: ubuntu-latest
6867
steps:
@@ -73,7 +72,7 @@ jobs:
7372
push_image
7473
7574
76-
qpod_OpenFace:
75+
job-OpenFace:
7776
name: 'opencv,openface-src,openface'
7877
runs-on: ubuntu-latest
7978
steps:
@@ -87,7 +86,7 @@ jobs:
8786
build_image openface latest docker_OpenFace/OpenFace.Dockerfile && push_image openface
8887
8988
# To build HF model image for a single model, simple run: `build_image_hf_model bert-base-cased`
90-
qpod_HuggingFaceModels:
89+
job-HuggingFaceModels:
9190
name: 'huggingface-model'
9291
runs-on: ubuntu-latest
9392
steps:
@@ -105,7 +104,7 @@ jobs:
105104
106105
## Sync all images in this build (listed by "names") to mirror registry.
107106
sync_images:
108-
needs: ["qpod_OpenFace", "qpod_HuggingFaceModels", "qpod_aidoc-miner", "qpod_PaddleOCR_cuda112", "qpod_PaddleOCR_cuda120", "qpod_vllm-cuda"]
107+
needs: ["job-OpenFace", "job-HuggingFaceModels", "job-aidoc-miner", "job-PaddleOCR", "job-doc-ai", "job-vllm-cuda"]
109108
runs-on: ubuntu-latest
110109
steps:
111110
- uses: actions/checkout@v4
@@ -116,5 +115,5 @@ jobs:
116115
source ./tool.sh
117116
printf '%s' "$AUTH_FILE_CONTENT" > .github/workflows/auth.json && ls -alh ./.github/workflows
118117
printenv | grep -v 'PATH' > /tmp/docker.env && echo "REGISTRY_URL=${REGISTRY_DST}" >> /tmp/docker.env
119-
docker run --rm --env-file /tmp/docker.env -v $(pwd):/tmp -w /tmp ${IMG_PREFIX_DST:-qpod}/docker-kit \
118+
docker run --rm --env-file /tmp/docker.env -v $(pwd):/tmp -w /tmp ${IMG_PREFIX_DST:-labnow}/docker-kit \
120119
python /opt/utils/image-syncer/run_jobs.py --auth-file=/tmp/.github/workflows/auth.json

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
BSD 3-Clause License
22

33
Copyright (c) 2020, QPod
4+
Copyright (c) 2024, LabNow
45
All rights reserved.
56

67
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,33 @@
1-
# QPod Media Lab - Docker Image Stack
1+
# LabNow Container Image Stack - Lab Media
22

33
[![License](https://img.shields.io/badge/License-BSD%203--Clause-green.svg)](https://opensource.org/licenses/BSD-3-Clause)
4-
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/QPod/media-lab/build-docker.yml?branch=main)](https://github.com/QPod/media-lab/actions/workflows/build-docker.yml)
5-
[![Join the Gitter Chat](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/QPod/)
6-
[![Recent Code Update](https://img.shields.io/github/last-commit/QPod/media-lab.svg)](https://github.com/QPod/media-lab/stargazers)
4+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/LabNow-ai/lab-media/build-docker.yml?branch=main)](https://github.com/LabNow-ai/lab-media/actions/workflows/build-docker.yml)
5+
[![Recent Code Update](https://img.shields.io/github/last-commit/LabNow-ai/lab-media.svg)](https://github.com/LabNow-ai/lab-media/stargazers)
6+
[![Visit Images on DockerHub](https://img.shields.io/badge/DockerHub-Images-green)](https://hub.docker.com/u/labnow)
77

8-
Please generously STAR★ our project or donate to us! [![GitHub Starts](https://img.shields.io/github/stars/QPod/media-lab.svg?label=Stars&style=social)](https://github.com/QPod/media-lab/stargazers)
8+
Please generously STAR★ our project or donate to us! [![GitHub Starts](https://img.shields.io/github/stars/LabNow-ai/lab-media.svg?label=Stars&style=social)](https://github.com/LabNow-ai/lab-media/stargazers)
99
[![Donate-PayPal](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/haobibo)
1010
[![Donate-AliPay](https://img.shields.io/badge/Donate-Alipay-blue.svg)](https://raw.githubusercontent.com/wiki/haobibo/resources/img/Donate-AliPay.png)
1111
[![Donate-WeChat](https://img.shields.io/badge/Donate-WeChat-green.svg)](https://raw.githubusercontent.com/wiki/haobibo/resources/img/Donate-WeChat.png)
1212

13-
## Building blocks for multimedia media projects
13+
Discussion and contributions are welcome:
14+
[![Join the Discord Chat](https://img.shields.io/badge/Discuss_on-Discord-green)](https://discord.gg/kHUzgQxgbJ)
15+
[![Open an Issue on GitHub](https://img.shields.io/github/issues/LabNow-ai/lab-media)](https://github.com/LabNow-ai/lab-media/issues)
1416

15-
Building blocks for the following multimedia project use cases are supported in this project:
1617

18+
## Lab Media - Building blocks for AI models and multimedia media projects
19+
20+
`LabNow lab-media` (
21+
[DockerHub](https://hub.docker.com/u/labnow)
22+
| [quay.io](https://quay.io/organization/labnow)
23+
| [GitHub](https://github.com/LabNow-ai/lab-media)
24+
) provides building blocks for the following AI and multi-modal / multi-media project use cases are supported in this project:
25+
26+
- [Transformer models based on HuggingFace transformers](https://hub.docker.com/r/labnow/huggingface-model/tags)
27+
- [OCR (based on paddlepaddle)](https://hub.docker.com/search?q=labnow%2Fpaddleocr) and [Document Intelligence](https://hub.docker.com/search?q=labnow%2Fdoc-ai)
1728
- Image/Video and Audio feature extraction
18-
- [OCR](https://hub.docker.com/search?q=qpod%2Fpaddleocr) and [Document Intelligence](https://hub.docker.com/search?q=qpod%2Fdoc-ai)
19-
- [Transformer models based on HuggingFace transformers](https://hub.docker.com/r/qpod/huggingface-model/tags)
20-
- [Face Landmark Detection](https://hub.docker.com/search?q=qpod%2Fopenface)
29+
30+
## Documentation & Tutorial
31+
[Wiki & Document](https://labnow.ai)
32+
| [中文使用指引(含中国网络镜像)](https://labnow-ai.feishu.cn/wiki/wikcn0sBhMtb1KNRSUTettxWstc)
33+
| [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/LabNow-ai/lab-media)

docker_HuggingFace-model/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM ${BASE_NAMESPACE:+$BASE_NAMESPACE/}${BASE_IMG}
55
ARG HF_MODEL_NAME="answerdotai/ModernBERT-base"
66

77
LABEL HF_MODEL_NAME="${HF_MODEL_NAME}"
8-
LABEL maintainer="[email protected]"
8+
LABEL maintainer="[email protected]"
99
LABEL usage="docker run --rm -it -v $(pwd):/tmp `docker-image-name`"
1010
CMD ["sh", "-c", "ls -alh /home && cp -rf /home/* /tmp/"]
1111

docker_HuggingFace-model/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Store and Download Huggingface Models via docker images
22

3-
[![Docker Pulls](https://img.shields.io/docker/pulls/qpod/huggingface-model.svg)](https://hub.docker.com/r/qpod/huggingface-model)
4-
[![Docker Starts](https://img.shields.io/docker/stars/qpod/huggingface-model.svg)](https://hub.docker.com/r/qpod/huggingface-model)
3+
[![Docker Pulls](https://img.shields.io/docker/pulls/labnow/huggingface-model.svg)](https://hub.docker.com/r/labnow/huggingface-model)
4+
[![Docker Starts](https://img.shields.io/docker/stars/labnow/huggingface-model.svg)](https://hub.docker.com/r/labnow/huggingface-model)
55

66
These docker images help you to store and download Huggingface Models via docker images.
77

@@ -12,7 +12,7 @@ This is especially useful when you are:
1212

1313
## Download HuggingFace Models as docker images
1414

15-
You can download the model files simply using `docker pull qpod/huggingface-model:bert-base-cased`, in which the tag name is the HuggingFace model repo name.
15+
You can download the model files simply using `docker pull labnow/huggingface-model:bert-base-cased`, in which the tag name is the HuggingFace model repo name.
1616

1717
The models files are stored at the `/home` directory in the docker images by default.
1818

@@ -25,26 +25,26 @@ For example, given a HuggingFace model `HF_MODEL_NAME='microsoft/DialoGPT-small'
2525

2626
The shell code to do this conversion is: `HF_MODEL_TAG=$(echo ${HF_MODEL_NAME} | sed 's/\//./g' | tr '[:upper:]' '[:lower:]')`.
2727

28-
We have alrady pre-built several popular models, you can find a list of models here: https://hub.docker.com/r/qpod/huggingface-model/tags
28+
We have alrady pre-built several popular models, you can find a list of models here: https://hub.docker.com/r/labnow/huggingface-model/tags
2929

3030
## Export the model files to local file system
3131

3232
You can use the following commnad to export the model files stored in the docker images to your local file system.
3333

3434
```bash
35-
# for model names, refer to dockerhub: https://hub.docker.com/r/qpod/huggingface-model/tags
35+
# for model names, refer to dockerhub: https://hub.docker.com/r/labnow/huggingface-model/tags
3636
MODEL_NAME="bert-base-chinese"
3737

3838
# choose a folder to store model files
3939
LOCAL_REPO="/tmp/models"
4040

4141
mkdir -pv ${LOCAL_REPO} && cd ${LOCAL_REPO}
42-
docker run --rm -it -v $(pwd):/tmp "qpod/huggingface-model:${MODEL_NAME}"
42+
docker run --rm -it -v $(pwd):/tmp "labnow/huggingface-model:${MODEL_NAME}"
4343
```
4444

4545
## Build your own docker image which stores a customized HF model
4646

47-
refer to: https://github.com/QPod/media-lab/tree/main/docker_HuggingFace-model
47+
refer to: https://github.com/LabNow-ai/lab-media/tree/main/docker_HuggingFace-model
4848

4949
```bash
5050
source tool.sh && source docker_HuggingFace-model/script-setup-huggingface.sh

docker_OpenFace/OpenCV.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG BASE_NAMESPACE
44
ARG BASE_IMG="base"
55
FROM ${BASE_NAMESPACE:+$BASE_NAMESPACE/}${BASE_IMG}
66

7-
LABEL maintainer="[email protected]"
7+
LABEL maintainer="[email protected]"
88

99
COPY work /opt/utils/
1010

docker_OpenFace/OpenFace-src.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG BASE_NAMESPACE
22
ARG BASE_IMG="busybox"
33
FROM ${BASE_NAMESPACE:+$BASE_NAMESPACE/}${BASE_IMG}
44

5-
LABEL maintainer="[email protected]"
5+
LABEL maintainer="[email protected]"
66
LABEL usage="docker run --rm -it -v $(pwd):/tmp `docker-image-name`"
77
CMD ["sh", "-c", "ls -alh /home && cp -r /home/* /tmp/"]
88

docker_OpenFace/OpenFace.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM ${BASE_NAMESPACE:+$BASE_NAMESPACE/}${BASE_IMG} AS runtime
66

77
FROM runtime
88

9-
LABEL maintainer="[email protected]"
9+
LABEL maintainer="[email protected]"
1010

1111
COPY --from=source /home /tmp
1212
COPY work /opt/utils/

docker_OpenFace/OpenSMILE.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Distributed under the terms of the Modified BSD License.
22

33
ARG BASE_NAMESPACE
4-
ARG BASE_IMG="qpod/opencv"
4+
ARG BASE_IMG="labnow/opencv"
55
FROM ${BASE_NAMESPACE:+$BASE_NAMESPACE/}${BASE_IMG}
66

7-
LABEL maintainer="[email protected]"
7+
LABEL maintainer="[email protected]"
88

99
RUN set -eux && source /opt/utils/script-utils.sh \
1010
## Download and build OpenSMILE

docker_PaddleOCR/README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
## PaddleOCR
44

5-
### qpod/paddleocr-cuda102
6-
[![Docker Pulls](https://img.shields.io/docker/pulls/qpod/paddleocr-cuda102.svg)](https://hub.docker.com/r/qpod/paddleocr-cuda102)
7-
[![Docker Starts](https://img.shields.io/docker/stars/qpod/paddleocr-cuda102.svg)](https://hub.docker.com/r/qpod/paddleocr-cuda102)
5+
### labnow/paddleocr-cuda102
6+
[![Docker Pulls](https://img.shields.io/docker/pulls/labnow/paddleocr-cuda102.svg)](https://hub.docker.com/r/labnow/paddleocr-cuda102)
7+
[![Docker Starts](https://img.shields.io/docker/stars/labnow/paddleocr-cuda102.svg)](https://hub.docker.com/r/labnow/paddleocr-cuda102)
88

9-
### qpod/paddleocr-cuda112
10-
[![Docker Pulls](https://img.shields.io/docker/pulls/qpod/paddleocr-cuda112.svg)](https://hub.docker.com/r/qpod/paddleocr-cuda112)
11-
[![Docker Starts](https://img.shields.io/docker/stars/qpod/paddleocr-cuda112.svg)](https://hub.docker.com/r/qpod/paddleocr-cuda112)
9+
### labnow/paddleocr-cuda112
10+
[![Docker Pulls](https://img.shields.io/docker/pulls/labnow/paddleocr-cuda112.svg)](https://hub.docker.com/r/labnow/paddleocr-cuda112)
11+
[![Docker Starts](https://img.shields.io/docker/stars/labnow/paddleocr-cuda112.svg)](https://hub.docker.com/r/labnow/paddleocr-cuda112)
1212

13-
### qpod/paddleocr-cuda116
14-
[![Docker Pulls](https://img.shields.io/docker/pulls/qpod/paddleocr-cuda116.svg)](https://hub.docker.com/r/qpod/paddleocr-cuda116)
15-
[![Docker Starts](https://img.shields.io/docker/stars/qpod/paddleocr-cuda116.svg)](https://hub.docker.com/r/qpod/paddleocr-cuda116)
13+
### labnow/paddleocr-cuda116
14+
[![Docker Pulls](https://img.shields.io/docker/pulls/labnow/paddleocr-cuda116.svg)](https://hub.docker.com/r/labnow/paddleocr-cuda116)
15+
[![Docker Starts](https://img.shields.io/docker/stars/labnow/paddleocr-cuda116.svg)](https://hub.docker.com/r/labnow/paddleocr-cuda116)
1616

1717
## PaddleOCR Models
1818

19-
[![Docker Pulls](https://img.shields.io/docker/pulls/qpod/paddleocr-models.svg)](https://hub.docker.com/r/qpod/paddleocr-models)
20-
[![Docker Starts](https://img.shields.io/docker/stars/qpod/paddleocr-models.svg)](https://hub.docker.com/r/qpod/paddleocr-models)
19+
[![Docker Pulls](https://img.shields.io/docker/pulls/labnow/paddleocr-models.svg)](https://hub.docker.com/r/labnow/paddleocr-models)
20+
[![Docker Starts](https://img.shields.io/docker/stars/labnow/paddleocr-models.svg)](https://hub.docker.com/r/labnow/paddleocr-models)
2121

2222
## Document Intelligence
2323

24-
### qpod/doc-ai-cuda112
25-
[![Docker Pulls](https://img.shields.io/docker/pulls/qpod/doc-ai-cuda112.svg)](https://hub.docker.com/r/qpod/doc-ai-cuda112)
26-
[![Docker Starts](https://img.shields.io/docker/stars/qpod/doc-ai-cuda112.svg)](https://hub.docker.com/r/qpod/doc-ai-cuda112)
24+
### labnow/doc-ai-cuda112
25+
[![Docker Pulls](https://img.shields.io/docker/pulls/labnow/doc-ai-cuda112.svg)](https://hub.docker.com/r/labnow/doc-ai-cuda112)
26+
[![Docker Starts](https://img.shields.io/docker/stars/labnow/doc-ai-cuda112.svg)](https://hub.docker.com/r/labnow/doc-ai-cuda112)

0 commit comments

Comments
 (0)