Skip to content

Commit 9a2f500

Browse files
committed
Update examples, SDK and pkg images to GHCR
Signed-off-by: sailesh duddupudi <[email protected]>
1 parent 393a0be commit 9a2f500

25 files changed

+42
-42
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Image URL to use all building/pushing image targets
2-
IMG ?= kubeflow/training-operator:latest
2+
IMG ?= ghcr.io/kubeflow/training/training-operator:latest
33
# CRD generation options
44
CRD_OPTIONS ?= "crd:generateEmbeddedObjectMeta=true,maxDescLen=400"
55

examples/jax/cpu-demo/demo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
spec:
1313
containers:
1414
- name: jax
15-
image: docker.io/kubeflow/jaxjob-simple:latest
15+
image: ghcr.io/kubeflow/training/jaxjob-simple:latest
1616
command:
1717
- "python3"
1818
- "train.py"

examples/jax/jax-dist-spmd-mnist/jaxjob_dist_spmd_mnist_gloo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ spec:
1212
spec:
1313
containers:
1414
- name: jax
15-
image: docker.io/kubeflow/jaxjob-dist-spmd-mnist:latest
15+
image: ghcr.io/kubeflow/training/jaxjob-dist-spmd-mnist:latest
1616
imagePullPolicy: Always

examples/pytorch/deepspeed-demo/pytorch_deepspeed_demo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: pytorch
14-
image: kubeflow/pytorch-deepspeed-demo:latest
14+
image: ghcr.io/kubeflow/training/pytorch-deepspeed-demo:latest
1515
command:
1616
- torchrun
1717
- /train_bert_ds.py
@@ -27,7 +27,7 @@ spec:
2727
spec:
2828
containers:
2929
- name: pytorch
30-
image: kubeflow/pytorch-deepspeed-demo:latest
30+
image: ghcr.io/kubeflow/training/pytorch-deepspeed-demo:latest
3131
command:
3232
- torchrun
3333
- /train_bert_ds.py

examples/pytorch/elastic/echo/echo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: pytorch
18-
image: kubeflow/pytorch-elastic-example-echo:latest
18+
image: ghcr.io/kubeflow/training/pytorch-elastic-example-echo:latest
1919
imagePullPolicy: IfNotPresent
2020
env:
2121
- name: LOGLEVEL

examples/pytorch/elastic/imagenet/imagenet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
spec:
2424
containers:
2525
- name: pytorch
26-
image: kubeflow/pytorch-elastic-example-imagenet:latest
26+
image: ghcr.io/kubeflow/training/pytorch-elastic-example-imagenet:latest
2727
imagePullPolicy: IfNotPresent
2828
resources:
2929
requests:

examples/pytorch/image-classification/create-pytorchjob.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"\n",
122122
"container = V1Container(\n",
123123
" name=container_name,\n",
124-
" image=\"kubeflow/pytorch-dist-mnist:latest\",\n",
124+
" image=\"ghcr.io/kubeflow/training/pytorch-dist-mnist:latest\",\n",
125125
" args=[\"--backend\", \"gloo\"],\n",
126126
")\n",
127127
"\n",

examples/pytorch/mnist/v1/pytorch_job_mnist_gloo.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: pytorch
14-
image: kubeflow/pytorch-dist-mnist:latest
14+
image: ghcr.io/kubeflow/training/pytorch-dist-mnist:latest
1515
args: ["--backend", "gloo"]
1616
# Comment out the below resources to use the CPU.
1717
resources:
@@ -24,7 +24,7 @@ spec:
2424
spec:
2525
containers:
2626
- name: pytorch
27-
image: kubeflow/pytorch-dist-mnist:latest
27+
image: ghcr.io/kubeflow/training/pytorch-dist-mnist:latest
2828
args: ["--backend", "gloo"]
2929
# Comment out the below resources to use the CPU.
3030
resources:

examples/pytorch/mnist/v1/pytorch_job_mnist_mpi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: pytorch
14-
image: kubeflow/pytorch-dist-mnist:latest
14+
image: ghcr.io/kubeflow/training/pytorch-dist-mnist:latest
1515
args: ["--backend", "mpi"]
1616
# Comment out the below resources to use the CPU.
1717
resources:
@@ -24,7 +24,7 @@ spec:
2424
spec:
2525
containers:
2626
- name: pytorch
27-
image: kubeflow/pytorch-dist-mnist:latest
27+
image: ghcr.io/kubeflow/training/pytorch-dist-mnist:latest
2828
args: ["--backend", "mpi"]
2929
# Comment out the below resources to use the CPU.
3030
resources:

examples/pytorch/mnist/v1/pytorch_job_mnist_nccl.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: pytorch
14-
image: kubeflow/pytorch-dist-mnist:latest
14+
image: ghcr.io/kubeflow/training/pytorch-dist-mnist:latest
1515
args: ["--backend", "nccl"]
1616
resources:
1717
limits:
@@ -23,7 +23,7 @@ spec:
2323
spec:
2424
containers:
2525
- name: pytorch
26-
image: kubeflow/pytorch-dist-mnist:latest
26+
image: ghcr.io/kubeflow/training/pytorch-dist-mnist:latest
2727
args: ["--backend", "nccl"]
2828
resources:
2929
limits:

examples/pytorch/smoke-dist/pytorch_job_sendrecv.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ spec:
1111
spec:
1212
containers:
1313
- name: pytorch
14-
image: kubeflow/pytorch-dist-sendrecv-test:latest
14+
image: ghcr.io/kubeflow/training/pytorch-dist-sendrecv-test:latest
1515
Worker:
1616
replicas: 3
1717
restartPolicy: OnFailure
1818
template:
1919
spec:
2020
containers:
2121
- name: pytorch
22-
image: kubeflow/pytorch-dist-sendrecv-test:latest
22+
image: ghcr.io/kubeflow/training/pytorch-dist-sendrecv-test:latest

examples/tensorflow/dist-mnist/tf_job_mnist.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: tensorflow
14-
image: kubeflow/tf-dist-mnist-test:latest
14+
image: ghcr.io/kubeflow/training/tf-dist-mnist-test:latest
1515

1616
PS:
1717
replicas: 1
@@ -20,7 +20,7 @@ spec:
2020
spec:
2121
containers:
2222
- name: tensorflow
23-
image: kubeflow/tf-dist-mnist-test:latest
23+
image: ghcr.io/kubeflow/training/tf-dist-mnist-test:latest
2424

2525
Worker:
2626
replicas: 2
@@ -29,4 +29,4 @@ spec:
2929
spec:
3030
containers:
3131
- name: tensorflow
32-
image: kubeflow/tf-dist-mnist-test:latest
32+
image: ghcr.io/kubeflow/training/tf-dist-mnist-test:latest

examples/tensorflow/distribution_strategy/multi_worker_tfjob.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
spec:
1414
containers:
1515
- name: tensorflow
16-
image: kubeflow/tf-multi-worker-strategy:latest
16+
image: ghcr.io/kubeflow/training/tf-multi-worker-strategy:latest
1717
volumeMounts:
1818
- mountPath: /train
1919
name: training

examples/tensorflow/mnist_with_summaries/tf_job_mnist.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
spec:
1515
containers:
1616
- name: tensorflow
17-
image: kubeflow/tf-mnist-with-summaries:latest
17+
image: ghcr.io/kubeflow/training/tf-mnist-with-summaries:latest
1818
command:
1919
- "python"
2020
- "/var/tf_mnist/mnist_with_summaries.py"

examples/tensorflow/simple.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ spec:
1212
spec:
1313
containers:
1414
- name: tensorflow
15-
image: kubeflow/tf-mnist-with-summaries:latest
15+
image: ghcr.io/kubeflow/training/tf-mnist-with-summaries:latest
1616
command:
1717
- "python"
1818
- "/var/tf_mnist/mnist_with_summaries.py"

examples/xgboost/lightgbm-dist/xgboostjob_v1_lightgbm_dist_training.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: xgboost
14-
image: kubeflow/lightgbm-dist-py-test:1.0
14+
image: ghcr.io/kubeflow/training/lightgbm-dist-py-test:latest
1515
ports:
1616
- containerPort: 9991
1717
name: xgboostjob-port
@@ -45,7 +45,7 @@ spec:
4545
spec:
4646
containers:
4747
- name: xgboost
48-
image: kubeflow/lightgbm-dist-py-test:1.0
48+
image: ghcr.io/kubeflow/training/lightgbm-dist-py-test:latest
4949
ports:
5050
- containerPort: 9991
5151
name: xgboostjob-port

examples/xgboost/smoke-dist/xgboostjob_v1_rabit_test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: xgboost
14-
image: docker.io/kubeflow/xgboost-dist-rabit-test:latest
14+
image: ghcr.io/kubeflow/training/xgboost-dist-rabit-test:latest
1515
ports:
1616
- containerPort: 9991
1717
name: xgboostjob-port
@@ -23,7 +23,7 @@ spec:
2323
spec:
2424
containers:
2525
- name: xgboost
26-
image: docker.io/kubeflow/xgboost-dist-rabit-test:latest
26+
image: ghcr.io/kubeflow/training/xgboost-dist-rabit-test:latest
2727
ports:
2828
- containerPort: 9991
2929
name: xgboostjob-port

examples/xgboost/smoke-dist/xgboostjob_v1alpha1_rabit_test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
spec:
1414
containers:
1515
- name: xgboost
16-
image: docker.io/kubeflow/xgboost-dist-rabit-test:latest
16+
image: ghcr.io/kubeflow/training/xgboost-dist-rabit-test:latest
1717
ports:
1818
- containerPort: 9991
1919
name: xgboostjob-port
@@ -27,7 +27,7 @@ spec:
2727
spec:
2828
containers:
2929
- name: xgboost
30-
image: docker.io/kubeflow/xgboost-dist-rabit-test:latest
30+
image: ghcr.io/kubeflow/training/xgboost-dist-rabit-test:latest
3131
ports:
3232
- containerPort: 9991
3333
name: xgboostjob-port

examples/xgboost/xgboost-dist/xgboostjob_v1_iris_predict.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: xgboost
14-
image: docker.io/kubeflow/xgboost-dist-iris:latest
14+
image: ghcr.io/kubeflow/training/xgboost-dist-iris:latest
1515
ports:
1616
- containerPort: 9991
1717
name: xgboostjob-port
@@ -28,7 +28,7 @@ spec:
2828
spec:
2929
containers:
3030
- name: xgboost
31-
image: docker.io/kubeflow/xgboost-dist-iris:latest
31+
image: ghcr.io/kubeflow/training/xgboost-dist-iris:latest
3232
ports:
3333
- containerPort: 9991
3434
name: xgboostjob-port

examples/xgboost/xgboost-dist/xgboostjob_v1_iris_predict_local.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
claimName: xgboostlocal
1616
containers:
1717
- name: xgboost
18-
image: docker.io/kubeflow/xgboost-dist-iris:latest
18+
image: ghcr.io/kubeflow/training/xgboost-dist-iris:latest
1919
volumeMounts:
2020
- name: task-pv-storage
2121
mountPath: /tmp/xgboost_model
@@ -38,7 +38,7 @@ spec:
3838
claimName: xgboostlocal
3939
containers:
4040
- name: xgboost
41-
image: docker.io/kubeflow/xgboost-dist-iris:latest
41+
image: ghcr.io/kubeflow/training/xgboost-dist-iris:latest
4242
volumeMounts:
4343
- name: task-pv-storage
4444
mountPath: /tmp/xgboost_model

examples/xgboost/xgboost-dist/xgboostjob_v1_iris_train.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: xgboost
14-
image: docker.io/kubeflow/xgboost-dist-iris:latest
14+
image: ghcr.io/kubeflow/training/xgboost-dist-iris:latest
1515
ports:
1616
- containerPort: 9991
1717
name: xgboostjob-port
@@ -30,7 +30,7 @@ spec:
3030
spec:
3131
containers:
3232
- name: xgboost
33-
image: docker.io/kubeflow/xgboost-dist-iris:latest
33+
image: ghcr.io/kubeflow/training/xgboost-dist-iris:latest
3434
ports:
3535
- containerPort: 9991
3636
name: xgboostjob-port

examples/xgboost/xgboost-dist/xgboostjob_v1_iris_train_local.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
claimName: xgboostlocal
1616
containers:
1717
- name: xgboost
18-
image: docker.io/kubeflow/xgboost-dist-iris:latest
18+
image: ghcr.io/kubeflow/training/xgboost-dist-iris:latest
1919
volumeMounts:
2020
- name: task-pv-storage
2121
mountPath: /tmp/xgboost_model
@@ -41,7 +41,7 @@ spec:
4141
claimName: xgboostlocal
4242
containers:
4343
- name: xgboost
44-
image: docker.io/kubeflow/xgboost-dist-iris:latest
44+
image: ghcr.io/kubeflow/training/xgboost-dist-iris:latest
4545
volumeMounts:
4646
- name: task-pv-storage
4747
mountPath: /tmp/xgboost_model

examples/xgboost/xgboostjob.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: xgboost
14-
image: docker.io/kubeflow/xgboost-dist-iris:latest
14+
image: ghcr.io/kubeflow/training/xgboost-dist-iris:latest
1515
ports:
1616
- containerPort: 9991
1717
name: xgboostjob-port
@@ -30,7 +30,7 @@ spec:
3030
spec:
3131
containers:
3232
- name: xgboost
33-
image: docker.io/kubeflow/xgboost-dist-iris:latest
33+
image: ghcr.io/kubeflow/training/xgboost-dist-iris:latest
3434
ports:
3535
- containerPort: 9991
3636
name: xgboostjob-port

pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ const (
3232
// PyTorchInitContainerMaxTriesDefault is the default number of tries for the pytorch init container.
3333
PyTorchInitContainerMaxTriesDefault = 100
3434
// MPIKubectlDeliveryImageDefault is the default image for launcher pod in MPIJob init container.
35-
MPIKubectlDeliveryImageDefault = "kubeflow/kubectl-delivery:latest"
35+
MPIKubectlDeliveryImageDefault = "ghcr.io/kubeflow/training/kubectl-delivery:latest"
3636
)

sdk/python/kubeflow/training/constants/constants.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484

8585
# TODO (andreyvelich): We should add image tag for Storage Initializer and Trainer.
8686
STORAGE_INITIALIZER_IMAGE = os.getenv(
87-
"STORAGE_INITIALIZER_IMAGE", "docker.io/kubeflow/storage-initializer"
87+
"STORAGE_INITIALIZER_IMAGE", "ghcr.io/kubeflow/training/storage-initializer"
8888
)
8989

9090
STORAGE_INITIALIZER_VOLUME_MOUNT = models.V1VolumeMount(
@@ -93,7 +93,7 @@
9393
)
9494

9595
TRAINER_TRANSFORMER_IMAGE = os.getenv(
96-
"TRAINER_TRANSFORMER_IMAGE", "docker.io/kubeflow/trainer-huggingface"
96+
"TRAINER_TRANSFORMER_IMAGE", "ghcr.io/kubeflow/training/trainer-huggingface"
9797
)
9898

9999
# TFJob constants.
@@ -153,7 +153,7 @@
153153
JAXJOB_PLURAL = "jaxjobs"
154154
JAXJOB_CONTAINER = "jax"
155155
JAXJOB_REPLICA_TYPES = REPLICA_TYPE_WORKER.lower()
156-
JAXJOB_BASE_IMAGE = "docker.io/kubeflow/jaxjob-dist-spmd-mnist:latest"
156+
JAXJOB_BASE_IMAGE = "ghcr.io/kubeflow/training/jaxjob-dist-spmd-mnist:latest"
157157

158158
# Dictionary to get plural, model, and container for each Job kind.
159159
JOB_PARAMETERS = {

0 commit comments

Comments
 (0)