Skip to content

Commit

Permalink
Merge pull request #229 from MichaelClifford/revert1.3
Browse files Browse the repository at this point in the history
Revert Update of Pipeline to RHEL AI 1.3
  • Loading branch information
cooktheryan authored Dec 3, 2024
2 parents a02301a + ade3a38 commit 8c2981c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion importer-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ deploymentSpec:
env:
- name: REGISTRY_AUTH_FILE
value: /mnt/containers/.dockerconfigjson
image: quay.io/redhat-et/ilab:1.3
image: quay.io/redhat-et/ilab:1.2
pipelineInfo:
description: Helper pipeline to the InstructLab pipeline which allows users to seed/import
a new base model
Expand Down
12 changes: 6 additions & 6 deletions pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ deploymentSpec:
\ max_seq_len=train_args.max_seq_len,\n chat_tmpl_path=train_args.chat_tmpl_path,\n\
\ )\n )\n\n data_processing(train_args=skill_training_args)\n\
\ data_processing(train_args=knowledge_training_args)\n\n"
image: quay.io/redhat-et/ilab:1.3
image: quay.io/redhat-et/ilab:1.2
exec-deletepvc:
container:
image: argostub/deletepvc
Expand Down Expand Up @@ -744,7 +744,7 @@ deploymentSpec:
\ path_to_data = \"/input_data/knowledge/data.jsonl\"\n elif phase_num\
\ == 2:\n path_to_model = list_phase1_final_model()\n path_to_data\
\ = \"/input_data/skills/data.jsonl\"\n else:\n raise RuntimeError(f\"\
Unsupported value of {phase_num=}\")\n\n image = \"quay.io/redhat-et/ilab:1.3\"\
Unsupported value of {phase_num=}\")\n\n image = \"quay.io/redhat-et/ilab:1.2\"\
\n\n manifest = inspect.cleandoc(\n f\"\"\"\n apiVersion:\
\ kubeflow.org/v1\n kind: PyTorchJob\n metadata:\n \
\ name: {name}\n spec:\n nprocPerNode: \\\"{nproc_per_node}\\\
Expand Down Expand Up @@ -951,7 +951,7 @@ deploymentSpec:
\ path_to_data = \"/input_data/knowledge/data.jsonl\"\n elif phase_num\
\ == 2:\n path_to_model = list_phase1_final_model()\n path_to_data\
\ = \"/input_data/skills/data.jsonl\"\n else:\n raise RuntimeError(f\"\
Unsupported value of {phase_num=}\")\n\n image = \"quay.io/redhat-et/ilab:1.3\"\
Unsupported value of {phase_num=}\")\n\n image = \"quay.io/redhat-et/ilab:1.2\"\
\n\n manifest = inspect.cleandoc(\n f\"\"\"\n apiVersion:\
\ kubeflow.org/v1\n kind: PyTorchJob\n metadata:\n \
\ name: {name}\n spec:\n nprocPerNode: \\\"{nproc_per_node}\\\
Expand Down Expand Up @@ -1376,7 +1376,7 @@ deploymentSpec:
value: /tmp
- name: HF_HOME
value: /tmp
image: quay.io/redhat-et/ilab:1.3
image: quay.io/redhat-et/ilab:1.2
resources:
accelerator:
count: '1'
Expand Down Expand Up @@ -1512,7 +1512,7 @@ deploymentSpec:
value: /tmp
- name: HF_HOME
value: /tmp
image: quay.io/redhat-et/ilab:1.3
image: quay.io/redhat-et/ilab:1.2
resources:
accelerator:
count: '1'
Expand Down Expand Up @@ -1569,7 +1569,7 @@ deploymentSpec:
value: /tmp
- name: HF_HOME
value: /tmp
image: quay.io/redhat-et/ilab:1.3
image: quay.io/redhat-et/ilab:1.2
exec-sdg-to-artifact-op:
container:
args:
Expand Down
2 changes: 1 addition & 1 deletion training/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def list_phase1_final_model():
else:
raise RuntimeError(f"Unsupported value of {phase_num=}")

image = "quay.io/redhat-et/ilab:1.3"
image = "quay.io/redhat-et/ilab:1.2"

manifest = inspect.cleandoc(
f"""
Expand Down
2 changes: 1 addition & 1 deletion utils/consts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PYTHON_IMAGE = "quay.io/modh/odh-generic-data-science-notebook:v3-2024b-20241111"
TOOLBOX_IMAGE = "registry.access.redhat.com/ubi9/toolbox"
OC_IMAGE = "registry.redhat.io/openshift4/ose-cli"
RHELAI_IMAGE = "quay.io/redhat-et/ilab:1.3"
RHELAI_IMAGE = "quay.io/redhat-et/ilab:1.2"

0 comments on commit 8c2981c

Please sign in to comment.