Skip to content

Commit 588a32b

Browse files
authored
rebrand from QPod to LabNow (#125)
* rebrand * ci fix for actions * Update README.md * update for sync namespace
1 parent 9341d29 commit 588a32b

File tree

14 files changed

+102
-105
lines changed

14 files changed

+102
-105
lines changed

.github/workflows/build-docker-gpu.yml

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,23 @@ concurrency:
1717

1818
env:
1919
BUILDKIT_PROGRESS: "plain" # Full logs for CI build.
20-
REGISTRY_SRC: ${{ vars.REGISTRY_SRC || 'docker.io' }} # For BASE_NAMESPACE of images: where to pull base images from, docker.io or other source registry URL.
20+
REGISTRY_SRC: ${{ vars.REGISTRY_SRC || 'quay.io' }} # For BASE_NAMESPACE of images: where to pull base images from, docker.io or other source registry URL.
2121
REGISTRY_DST: ${{ vars.REGISTRY_DST || 'quay.io' }} # For tags of built images: where to push images to, docker.io or other destination registry URL.
2222
# DOCKER_REGISTRY_USERNAME and DOCKER_REGISTRY_PASSWORD is required for docker image push, they should be set in CI secrets.
2323
DOCKER_REGISTRY_USERNAME: ${{ vars.DOCKER_REGISTRY_USERNAME }}
2424
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
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+
CI_PROJECT_NAME: ${{ vars.CI_PROJECT_NAME || 'LabNow/lab-foundation' }}
2829

2930
jobs:
3031
# cuda docker image tags: https://hub.docker.com/r/nvidia/cuda/tags
3132
# latest cuda supported by torch: https://pytorch.org/get-started/locally/
3233
# latest cuda supported by tensorflow: https://tensorflow.google.cn/install/source?hl=en#gpu
3334
# latest cuda supported by paddlepadle: https://www.paddlepaddle.org.cn/
3435
# latest cuda supported by vllm: https://docs.vllm.ai/en/latest/getting_started/installation/gpu.html?device=cuda
35-
qpod_cuda_126:
36+
job-cuda_126:
3637
name: 'cuda_12.6,cuda,nvidia-cuda'
3738
runs-on: ubuntu-latest
3839
steps:
@@ -47,7 +48,7 @@ jobs:
4748
push_image cuda
4849
4950
# reserved for vllm: https://github.com/vllm-project/vllm/blob/main/docker/Dockerfile
50-
qpod_cuda_128:
51+
job-cuda_128:
5152
name: 'cuda_12.8'
5253
runs-on: ubuntu-latest
5354
steps:
@@ -61,7 +62,7 @@ jobs:
6162
push_image cuda
6263
6364
# reserved for paddlepaddl 2.6: https://www.paddlepaddle.org.cn
64-
qpod_cuda_120:
65+
job-cuda_120:
6566
name: 'cuda_12.0'
6667
runs-on: ubuntu-latest
6768
steps:
@@ -75,7 +76,7 @@ jobs:
7576
push_image cuda
7677
7778
# reserved for paddlepaddl 2.6, torch, and vllm
78-
qpod_cuda_118:
79+
job-cuda_118:
7980
name: 'cuda_11.8'
8081
runs-on: ubuntu-latest
8182
steps:
@@ -90,7 +91,7 @@ jobs:
9091
9192
9293
# reserved for tensorflow 1.x
93-
qpod_cuda_112:
94+
job-cuda_112:
9495
name: 'cuda_11.2'
9596
runs-on: ubuntu-latest
9697
steps:
@@ -104,9 +105,9 @@ jobs:
104105
push_image cuda
105106
106107
107-
qpod_tf2:
108+
job-tf2:
108109
name: 'tf2,tf2-cuda126'
109-
needs: qpod_cuda_126
110+
needs: job-cuda_126
110111
runs-on: ubuntu-latest
111112
steps:
112113
- uses: actions/checkout@v4
@@ -116,9 +117,9 @@ jobs:
116117
alias_image tf2-cuda126 latest tf2 latest
117118
push_image
118119
119-
qpod_torch_cuda126:
120+
job-torch_cuda126:
120121
name: 'torch,torch-cuda126'
121-
needs: qpod_cuda_126
122+
needs: job-cuda_126
122123
runs-on: ubuntu-latest
123124
steps:
124125
- uses: actions/checkout@v4
@@ -128,9 +129,9 @@ jobs:
128129
alias_image torch-cuda126 latest torch latest
129130
push_image
130131
131-
qpod_paddle_cuda120:
132+
job-paddle_cuda120:
132133
name: 'paddle-cuda120,paddle-2.6'
133-
needs: qpod_cuda_120
134+
needs: job-cuda_120
134135
runs-on: ubuntu-latest
135136
steps:
136137
- uses: actions/checkout@v4
@@ -140,9 +141,9 @@ jobs:
140141
alias_image paddle-cuda120 latest paddle-2.6 latest
141142
push_image
142143
143-
qpod_paddle_cuda126:
144+
job-paddle_cuda126:
144145
name: 'paddle-cuda126,paddle-3.0'
145-
needs: qpod_cuda_126
146+
needs: job-cuda_126
146147
runs-on: ubuntu-latest
147148
steps:
148149
- uses: actions/checkout@v4
@@ -153,9 +154,9 @@ jobs:
153154
push_image
154155
155156
156-
qpod_py-nlp:
157+
job-py-nlp:
157158
name: 'py-nlp,py-nlp-cuda126'
158-
needs: qpod_cuda_126
159+
needs: job-cuda_126
159160
runs-on: ubuntu-latest
160161
steps:
161162
- uses: actions/checkout@v4
@@ -165,9 +166,9 @@ jobs:
165166
alias_image py-nlp-cuda126 latest py-nlp latest
166167
push_image
167168
168-
qpod_py-nlp-cuda128:
169+
job-py-nlp-cuda128:
169170
name: 'py-nlp-cuda128'
170-
needs: qpod_cuda_128
171+
needs: job-cuda_128
171172
runs-on: ubuntu-latest
172173
steps:
173174
- uses: actions/checkout@v4
@@ -177,9 +178,9 @@ jobs:
177178
push_image
178179
179180
180-
qpod_py-cv:
181+
job-py-cv:
181182
name: 'py-cv'
182-
needs: qpod_cuda_126
183+
needs: job-cuda_126
183184
runs-on: ubuntu-latest
184185
steps:
185186
- uses: actions/checkout@v4
@@ -189,9 +190,9 @@ jobs:
189190
push_image
190191
191192
192-
qpod_core-cuda:
193+
job-core-cuda:
193194
name: 'core-cuda,full-cuda-12.6'
194-
needs: qpod_cuda_126
195+
needs: job-cuda_126
195196
runs-on: ubuntu-latest
196197
steps:
197198
- uses: actions/checkout@v4
@@ -206,7 +207,7 @@ jobs:
206207
--build-arg "ARG_PROFILE_LATEX=base,cjk"
207208
alias_image full-cuda-12.6 latest core-cuda latest && push_image cuda
208209
209-
qpod_nvidia-ctk:
210+
job-nvidia-ctk:
210211
name: 'nvidia-ctk'
211212
runs-on: ubuntu-latest
212213
steps:
@@ -218,7 +219,7 @@ jobs:
218219
219220
## Sync all images in this build (listed by "names") to mirror registry.
220221
sync_images:
221-
needs: ["qpod_core-cuda", "qpod_py-cv", "qpod_py-nlp", "qpod_torch_cuda126", "qpod_nvidia-ctk"]
222+
needs: ["job-core-cuda", "job-py-cv", "job-py-nlp", "job-torch_cuda126", "job-nvidia-ctk"]
222223
runs-on: ubuntu-latest
223224
steps:
224225
- uses: actions/checkout@v4
@@ -229,6 +230,6 @@ jobs:
229230
source ./tool.sh
230231
printf '%s' "$AUTH_FILE_CONTENT" > .github/workflows/auth.json && ls -alh ./.github/workflows
231232
printenv | grep -v 'PATH' > /tmp/docker.env && echo "REGISTRY_URL=${REGISTRY_DST}" >> /tmp/docker.env
232-
docker run --rm --env-file /tmp/docker.env -v $(pwd):/tmp -w /tmp ${IMG_PREFIX_DST:-qpod}/docker-kit \
233+
docker run --rm --env-file /tmp/docker.env -v $(pwd):/tmp -w /tmp ${IMG_PREFIX_DST:-labnow}/docker-kit \
233234
python /opt/utils/image-syncer/run_jobs.py --auth-file=/tmp/.github/workflows/auth.json \
234235
--workflow-file=".github/workflows/build-docker-gpu.yml"

0 commit comments

Comments
 (0)