Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


@dsl.component(
base_image='python:3.9', packages_to_install=['tensorflow==2.16.1']
base_image='python:3.9-slim', packages_to_install=['tensorflow==2.16.1']
)
def get_training_artifacts(
docker_region: str,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from kfp import dsl


@dsl.component(base_image='python:3.9')
@dsl.component(base_image='python:3.9-slim')
def maybe_set_tfrecord_args(
dataprep_previous_run_dir: str,
static_covariates: List[str],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from kfp import dsl


@dsl.component(base_image='python:3.9')
@dsl.component(base_image='python:3.9-slim')
def set_dataprep_args(
model_blocks: List[str],
ts_identifier_columns: List[str],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from kfp import dsl


@dsl.component(base_image='python:3.9')
@dsl.component(base_image='python:3.9-slim')
def set_eval_args(
big_query_source: dsl.Input[dsl.Artifact], quantiles: List[float]
) -> NamedTuple(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


@dsl.component(
base_image='python:3.9', packages_to_install=['tensorflow==2.16.1']
base_image='python:3.9-slim', packages_to_install=['tensorflow==2.16.1']
)
def set_test_set(
dataprep_dir: dsl.InputPath(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from kfp import dsl


@dsl.component(base_image='python:3.9')
@dsl.component(base_image='python:3.9-slim')
def set_tfrecord_args(
dataprep_dir: dsl.InputPath(),
static_covariates: List[str],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from kfp import dsl


@dsl.component(base_image='python:3.9')
@dsl.component(base_image='python:3.9-slim')
def set_train_args(
quantiles: List[float],
model_blocks: List[str],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


@dsl.component(
base_image='python:3.9',
base_image='python:3.9-slim',
packages_to_install=[
'google-cloud-aiplatform[tensorboard]==1.87.0',
'protobuf==3.20.*',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,6 @@ def prepare_data_for_train(

prepare_data_for_train_implementation = prepare_data_for_train

prepare_data_for_train = dsl.component(base_image='python:3.8')(
prepare_data_for_train = dsl.component(base_image='python:3.8-slim')(
prepare_data_for_train
)
2 changes: 1 addition & 1 deletion components/kubeflow/pytorch-launcher/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get_current_namespace():
return current_namespace


@dsl.component(packages_to_install=['kubernetes<31,>=8.0.0', 'kubeflow-training>=1.8.0', 'retrying>=1.3.3'], base_image="python:3.11")
@dsl.component(packages_to_install=['kubernetes<31,>=8.0.0', 'kubeflow-training>=1.8.0', 'retrying>=1.3.3'], base_image="python:3.11-slim")
def pytorch_job_launcher(
name: str,
kind: str = "PyTorchJob",
Expand Down
2 changes: 1 addition & 1 deletion components/snowflake/component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ deploymentSpec:
\ \"\"\")\n _ = result.fetchall()\n if output_gcs_path.endswith(\"\
/\"):\n return output_gcs_path + \"data_0_0_0.csv\"\n else:\n\
\ return output_gcs_path\n\n"
image: python:3.11
image: python:3.11-slim
pipelineInfo:
name: snowflake-unload-op
root:
Expand Down
2 changes: 1 addition & 1 deletion components/snowflake/snowflake_unload_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from kfp.dsl import component

@component(
base_image="python:3.11",
base_image="python:3.11-slim",
packages_to_install=["snowflake-connector-python:3.12.3"]
)
def snowflake_unload_op(
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BASE_IMAGE=alpine
FROM node:22.19 as build
FROM node:22.19-slim AS build

ARG COMMIT_HASH
ENV COMMIT_HASH=${COMMIT_HASH}
Expand Down
Loading