173 Commits
Author SHA1 Message Date
zeekay 5707910af9 Merge upstream/master into master (sync fork with upstream)
# Conflicts:
#	README.md
2026-07-05 21:03:15 -07:00
Tariq HasanandGitHub 1f57df4484 ci(boilerplate): enhance copyright boilerplate enforcement (#3665)
* ci(boilerplate): enforce copyright headers on YAML files

Signed-off-by: tariq-hasan <[email protected]>

* ci(boilerplate): enforce year-less header for new files

Signed-off-by: tariq-hasan <[email protected]>

---------

Signed-off-by: tariq-hasan <[email protected]>
2026-07-03 13:39:54 +00:00
Andrey VelichkevichandGitHub 663ae38567 feat(runtimes): Add label to disable webhook validation for Runtimes (#3683)
* feat(runtimes): Add label to disable webhook validation for Runtimes

Signed-off-by: Andrey Velichkevich <[email protected]>

* Use commonLabels to set labels

Signed-off-by: Andrey Velichkevich <[email protected]>

* Set resources to base runtimes in E2Es

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix Helm runtime images in e2e

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
2026-07-03 13:37:21 +00:00
Amir IbrahimandGitHub 49f4eaadd2 feat: add Flux integration and e2e tests (#3561)
* test: add Flux framework integration and e2e tests

Signed-off-by: Amir380-A <[email protected]>

* fix: fix integration and e2e

Signed-off-by: Amir380-A <[email protected]>

* fix: EOF linting issue

Signed-off-by: Amir380-A <[email protected]>

* chore: add logs for E2E ClusterTrainingRuntimes in Github Actions

Signed-off-by: Amir380-A <[email protected]>

* feat: add Flux runtime to Helm chart

Signed-off-by: Amir380-A <[email protected]>

* fix: fix EOF linting issue

Signed-off-by: Amir380-A <[email protected]>

* fix: install Flux runtime only for E2E tests

Signed-off-by: Amir380-A <[email protected]>

* chore: regenerate Helm chart docs and generated assets

Signed-off-by: Amir380-A <[email protected]>

* fix: retry failed deepspeed CI dependency

Signed-off-by: Amir380-A <[email protected]>

* revert back to the previous commit

Signed-off-by: Amir380-A <[email protected]>

* fix(e2e): install Flux runtime only during E2E setup

Signed-off-by: Amir380-A <[email protected]>

* fix: fix linting issue

Signed-off-by: Amir380-A <[email protected]>

* fix: fix runtimeRef for CI

Signed-off-by: Amir380-A <[email protected]>

* fix: fix flux examples runtimeref

Signed-off-by: Amir380-A <[email protected]>

---------

Signed-off-by: Amir380-A <[email protected]>
Signed-off-by: Amir Ibrahim <[email protected]>
2026-07-02 15:21:31 +00:00
0b97a47048 feat(runtimes): hanzo-ft-{lora,qlora,full} — env-driven HF fine-tuning runtimes (#2)
Adds one transformers + PEFT + TRL ClusterTrainingRuntime per method that
fine-tunes ANY HuggingFace causal LM. The base model + dataset come from the
TrainJob's model/dataset initializers (hf:// or s3://, secretRef for private/gated
repos); every hyperparameter is read from the trainer container env that the Hanzo
Cloud broker sets. Adapters are merged into the base on completion, so one serving
path (KServe HuggingFace runtime) works for lora/qlora/full alike; output is
written to OUTPUT_DIR (the org's S3 Space when s3://).

- manifests/base/runtimes/hanzo_finetune.yaml  3 ClusterTrainingRuntimes (+kustomization)
- cmd/trainers/hanzo/finetune.py               env-driven entrypoint (LoRA/QLoRA/full)
- cmd/trainers/hanzo/finetune_test.py          pytest for the pure config/format helpers
- cmd/trainers/hanzo/{Dockerfile,requirements.txt,README.md}
- examples/yaml/hanzo-finetune-qlora.yaml      example TrainJob (the broker's output)

kustomize build clean · ruff clean · 14 pytest pass. Image built in CI
(ghcr.io/hanzoai/finetune-runtime), not locally.

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-29 23:53:55 -07:00
Richa BankerandGitHub eb600c46fa feat(examples): add interactive JAX distributed TPU smoke test notebook (#3531)
Signed-off-by: Richa Banker <[email protected]>
2026-06-26 16:26:06 +00:00
Yash AgarwalandGitHub 0f4c4be96d fix(examples): use namespaced SQuAD dataset (#3560)
* fix(examples): use namespaced SQuAD dataset

Signed-off-by: XploY04 <[email protected]>

* fix(runtimes): cap kagglehub below 1.0

Signed-off-by: XploY04 <[email protected]>

---------

Signed-off-by: XploY04 <[email protected]>
2026-05-28 23:21:00 +00:00
Sabari NarayanaandGitHub ba2bc4a07a feat(examples): Add kubectl-friendly YAML examples for TrainJob and TrainingRuntime (#2925)
* added yaml examples for trainer

Signed-off-by: narayanasabari <[email protected]>

* Examples fixed

Signed-off-by: narayanasabari <[email protected]>

* fix(examples): address maintainer feedback on YAML examples

- Remove hello-world, with-runtime, pytorch-simple examples
- Fix multi-node: remove custom image, use PET_* env var prefix
- Fix volcano: move podGroupPolicy to ClusterTrainingRuntime
- Fix podspec-overrides: move podTemplateOverrides to top-level,
  use trainer.resourcesPerNode and trainer.env instead of invalid
  ContainerOverride fields
- Trim all READMEs to avoid duplicating kubeflow.org docs

Signed-off-by: Sabari Narayana <[email protected]>

* feat(examples): migrate YAML examples to RuntimePatches API

Address review feedback from @andreyvelich on PR #2925:

- Rename 01-podspec-overrides.yaml -> 01-runtime-patches.yaml and rewrite
  using the new spec.runtimePatches API (PodTemplateOverrides was removed
  in favor of the manager-keyed RuntimePatches mechanism).
- Inline a TrainingRuntime in 04-multi-step.yaml so the dataset-initializer
  step is actually defined; the default torch-distributed runtime has no
  initializer replicatedJob and the example would fail validation otherwise.
- Replace nonexistent trainer.kubeflow.org/job-name selectors throughout
  with jobset.sigs.k8s.io/jobset-name (for pods/podgroups/workloads) and
  trainer.kubeflow.org/trainjob-ancestor-step (to target a specific step).
- Bump default PyTorch image to 2.10.0 to match upstream torch-distributed
  ClusterTrainingRuntime.
- Add ManagedBy hint for MultiKueue in the Kueue example.
- Trim READMEs to avoid duplicating kubeflow.org documentation.

Signed-off-by: Sabari Narayana <[email protected]>

* docs(examples): address review feedback on YAML examples

Address review feedback from @andreyvelich on PR #2925:

- Flatten examples/yaml/: drop the basic/ and advanced/ subfolders since
  there is only one "basic" example. All YAMLs now live directly under
  examples/yaml/ and are renumbered 01-05.
- Remove namespace: default from all manifests (it is the implicit default
  and adds noise).
- Use torchrun as the entrypoint in 01-multi-node.yaml and 02-runtime-patches.yaml,
  with torch.distributed API in the script (matches the pattern in the
  PyTorch user guide).
- Restructure examples/README.md: SDK section first, YAML section last;
  list all framework subfolders (megatron, flux, xgboost, jax, local);
  refresh SDK snippet from kubeflow/sdk README; link sdk.kubeflow.org.

Signed-off-by: Sabari Narayana <[email protected]>

---------

Signed-off-by: narayanasabari <[email protected]>
Signed-off-by: Sabari Narayana <[email protected]>
2026-05-01 16:41:03 +00:00
Yash AgarwalandGitHub 8448a6c546 fix(examples): unblock Megatron TP notebook on GPU E2E (#3434)
* fix(e2e): bump Megatron notebook Complete-wait timeout to 10m

The Megatron TP notebook waits for the TrainJob to reach Complete with
timeout=120. On the oracle-vm-gpu-a10-1 CI runner the happy-path time
from TrainJob creation to Complete is ~96s (measured on the last passing
GPU E2E run, 2026-04-15). Any runner slowdown, image-pull delay, or
GPU-advertisement latency on top of that pushes the test past the 120s
budget and papermill raises TimeoutError, even though the TrainJob is
still on track to finish.

Every GPU E2E run has been failing here since 2026-04-16 ~16:00 UTC on
every branch, with no functional repo change between the last pass and
first fail. Bumping to 600s gives enough headroom for cold image pulls
and scheduling variance without masking real failures (papermill's
outer --execution-timeout is 1800s).

Signed-off-by: XploY04 <[email protected]>

* fix(examples): update Megatron tokenizer library to null-text for 0.17.0

megatron-core 0.17.0 (published 2026-04-16 20:22 UTC) tightened the set
of accepted tokenizer library names in MegatronTokenizer.from_pretrained.
The bare "null" value is no longer accepted; the null-tokenizer keys are
now "null-text" and "null-multimodal":

  0.16.1: if library not in ['byte-level', 'null']: assert tokenizer_path
  0.17.0: if library not in ['byte-level', 'null-text', 'null-multimodal']:
              assert tokenizer_path

The notebook's call with metadata_path={"library": "null"} therefore
triggers `AssertionError: Tokenizer path must be specified.` on the GPU
E2E runner, which now installs 0.17.0 by default. Renaming to
"null-text" routes through the same NullTokenizer(vocab_size) library
class the old "null" key used, so behavior is unchanged on 0.17.0.

This explains why GPU E2E ran green on 2026-04-15 (installed 0.16.1)
and started failing with the tokenizer assertion once 0.17.0 landed on
PyPI. The previous commit's 120s -> 600s wait timeout bump is what made
this assertion visible; with the old 120s budget the notebook timed out
before the TrainJob reached Failed and the real error was hidden.

Signed-off-by: XploY04 <[email protected]>

---------

Signed-off-by: XploY04 <[email protected]>
2026-04-17 13:01:48 +00:00
Suyash NalawadeandGitHub 55d987db99 chore(examples): Use QuantileDMatrix for histogram tree method in XGBoost example (#3376)
Replace DMatrix with QuantileDMatrix in distributed XGBoost training
example when using histogram tree method. This reduces memory usage
and aligns with XGBoost best practices for distributed workloads.

Fixes #3300

Signed-off-by: Suyash Nalawade <[email protected]>
2026-04-15 02:33:49 +00:00
Yash AgarwalandGitHub 36f5569c16 feat: add Megatron-Core GPT Tensor Parallelism example notebook (#3201)
* feat: add Megatron-Core GPT Tensor Parallelism example notebook

Signed-off-by: XploY04 <[email protected]>

* added megatron notebook to the e2e gpu test

Signed-off-by: XploY04 <[email protected]>

* feat: Parameterize Megatron core GPT notebook's tensor parallelism and GPU count, and update the e2e test workflow to pass these parameters.

Signed-off-by: XploY04 <[email protected]>

* change the number of gpus to 2

Signed-off-by: XploY04 <[email protected]>

* docs: update Megatron GPT tensor parallelism example notebook.

Signed-off-by: XploY04 <[email protected]>

* fix: correct minor typos and improve code readability in Megatron-Core GPT notebook

Signed-off-by: XploY04 <[email protected]>

* fix: update tensor model parallel size retrieval and improve code clarity in Megatron-Core GPT notebook

Signed-off-by: XploY04 <[email protected]>

* fix: correct wording in training function description for clarity in Megatron-Core GPT notebook

Signed-off-by: XploY04 <[email protected]>

* feat: add verification step for TrainJob completion in Megatron-Core GPT notebook

Signed-off-by: XploY04 <[email protected]>

* fix: use multi-node setup for Megatron TP to work with GPU time-slicing

GPU time-slicing (replicas=2) advertises 2 GPUs to Kubernetes but
exposes only 1 CUDA device inside the container. This caused torchrun
to launch 1 worker (WORLD_SIZE=1), failing Megatron's TP requirement
of world_size >= 2.

Switch from 1 node with 2 GPUs to 2 nodes with 1 GPU each. This
creates 2 pods, each getting 1 time-sliced GPU, giving WORLD_SIZE=2
for tensor parallelism across pods.

Signed-off-by: XploY04 <[email protected]>

* fix: use PyTorch devel image for Megatron compile_helpers() support

Megatron-Core's compile_helpers() requires `make` and `gcc` to build
C dataset helpers. The default runtime image doesn't include build
tools. Switch to the devel image which has them pre-installed.

Signed-off-by: XploY04 <[email protected]>

* fix: install megatron-core from git for compile_helpers() support

The pip package for megatron-core doesn't include the Makefile and
C source files needed by compile_helpers(). Install from the git
repository instead, which includes all source files for compiling
the C++ dataset helpers required by MockGPTDataset.

Signed-off-by: XploY04 <[email protected]>

* fix: install megatron-core from zip archive instead of git

The devel image doesn't have git installed, so pip install from
git+https fails. Use the GitHub zip archive URL instead, which
pip can download and extract directly without needing git.

Signed-off-by: XploY04 <[email protected]>

* fix: download Megatron C++ source files for compile_helpers()

The megatron-core pip package excludes the Makefile and helpers.cpp
needed by compile_helpers(). Download these two files from GitHub
at runtime before compilation. Also add pybind11 as an explicit
dependency since it's needed by the Makefile but only included as
a build-time dependency in the pip package.

Signed-off-by: XploY04 <[email protected]>

* fix: use correct null tokenizer library name for pip megatron-core

The pip release of megatron-core uses "null" as the tokenizer library
name, while the GitHub main branch uses "null-text". Change to "null"
to match the pip version.

Signed-off-by: XploY04 <[email protected]>

* fix: increase wait_for_job_status timeout to 1800s

The megatron training job takes longer than 900s due to pip install,
C++ compilation, and multi-node training setup on time-sliced GPUs.
Increase timeout to 1800s to match PAPERMILL_TIMEOUT.

Signed-off-by: XploY04 <[email protected]>

* fix: use runtime image with apt-get for build tools instead of devel image

The devel image (3.5GB) is too slow to pull, causing PAPERMILL_TIMEOUT.
Switch back to the runtime image and install only make and g++ via
apt-get (~50MB). This provides everything compile_helpers() needs
without the overhead of pulling the full devel image.

Signed-off-by: XploY04 <[email protected]>

* fix: disable NCCL shared memory to avoid /dev/shm limit in Kubernetes

Kubernetes pods get 64MB /dev/shm by default. NCCL needs more for
its communication buffers, causing checkpoint save to fail with
"Error while creating shared memory segment". Set NCCL_SHM_DISABLE=1
to use network sockets instead.

Also reduce wait_for_job_status timeout to 60s since training
completes quickly and the main wait happens in get_job_logs.

Signed-off-by: XploY04 <[email protected]>

* debug: add NCCL_DEBUG=INFO to diagnose /dev/shm failure on node-1

Signed-off-by: XploY04 <[email protected]>

* fix: mount /dev/shm as emptyDir to fix NCCL shared memory exhaustion

NCCL proxy service allocates ~33MB per communicator in /dev/shm. The
default Kubernetes /dev/shm is 64MB (Docker default), which is
insufficient for workloads that create multiple NCCL communicators.
Patch ClusterTrainingRuntimes in GPU e2e setup to mount /dev/shm as
a Memory-backed emptyDir, and remove unnecessary NCCL workaround
env vars from the Megatron notebook.

Signed-off-by: XploY04 <[email protected]>

* fix: remove dist_checkpointing from Megatron notebook

Megatron-Core dist_checkpointing uses multiprocessing.spawn internally
to create a Manager queue for async writes. The Kubeflow SDK generates
training scripts without an if __name__ == '__main__' guard, so the
spawned child re-imports the script and re-executes the training
function, causing a RuntimeError. Remove the checkpoint step since
training (Steps 1-5) is the core TP demonstration. Also remove unused
imports and fix the GPU prerequisites text.

Signed-off-by: XploY04 <[email protected]>

---------

Signed-off-by: XploY04 <[email protected]>
2026-04-10 01:53:18 +00:00
Fiona WatersandGitHub 8ec04f825c fix: use global rank for dataset download guard in container backend notebook (#3418)
Signed-off-by: Fiona-Waters <[email protected]>
2026-04-09 23:05:18 +00:00
1510b1c0b1 feat: customize R generation to include GPUs (#3325)
* feat: customize R generation to include GPUs

Flux detection of GPUs depends on hwloc plugins, and a newer
version. To get around any edge cases where the dependencies are missing,
we can easily generate the R from the expected resource spec (cores
and gpus). We can also add a shared memory mount to ensure the job
MPI gets all available shared memory of the host. The current
default is 64M (automatic from container runtime) and it can have
implications for MPI performance.

Signed-off-by: vsoch <[email protected]>

* review: use generateRange function for gpus

Also update volume to be added to container. This still
is pending testing on AWS!

Signed-off-by: vsoch <[email protected]>

* review and add gpu trainer example

Signed-off-by: vsoch <[email protected]>

---------

Signed-off-by: vsoch <[email protected]>
Co-authored-by: vsoch <[email protected]>
2026-03-23 15:07:25 +00:00
Andrey VelichkevichandGitHub fbacd9f577 fix(examples): Verify TrainJob Completion (#3331)
* fix(examples): Verify TrainJob Completion

Signed-off-by: Andrey Velichkevich <[email protected]>

* Rename client to TrainerClient()

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
2026-03-16 14:40:31 +00:00
f0eb5ec571 chore(deps): Bump Torch to 2.10 version (#3320)
* chore(deps): Bump Torch to 2.10

Signed-off-by: Andrey Velichkevich <[email protected]>

* Update examples/pytorch/image-classification/mnist.ipynb

Signed-off-by: Andrey Velichkevich <[email protected]>

* bump torchao to 0.16

Signed-off-by: Andrey Velichkevich <[email protected]>

* Use Torch 2.9 for TorchTune Trainer

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-03-13 13:01:23 +00:00
f105c84c58 fix(examples): add parameters to Fashion MNIST training function (#3301)
* fix(examples): add parameters to Fashion MNIST training function

Signed-off-by: krishdef7 <[email protected]>

* Update examples/pytorch/image-classification/mnist.ipynb

Signed-off-by: krishdef7 <[email protected]>

---------

Signed-off-by: krishdef7 <[email protected]>
Signed-off-by: krishdef7 <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-03-10 15:50:40 +00:00
Krishna GuptaandGitHub ccaf20bc20 feat(runtimes): Add XGBoost runtime(KEP-2598) (#3200)
* Add XGBoost runtime plugin scaffold and register in framework

Signed-off-by: Krishna-kg732 <[email protected]>
Signed-off-by: krishna-kg732 <[email protected]>

* regenerated assets

Signed-off-by: Krishna-kg732 <[email protected]>
Signed-off-by: krishna-kg732 <[email protected]>

* Add XGBoost plugin unit tests and update framework test registry

Signed-off-by: Krishna-kg732 <[email protected]>
Signed-off-by: krishna-kg732 <[email protected]>

* added :Runtime image , unit tests for :(Resources are not set, Resources are set in TrainJob) ,using the ContainerTrainerPort instead of default port

Signed-off-by: krishna-kg732 <[email protected]>

* minor changes

Signed-off-by: krishna-kg732 <[email protected]>

* added plainML fallback(JAX+XGBOOST)

Signed-off-by: krishna-kg732 <[email protected]>

* test: add XGBoost runtime resource resolution unit tests

- Add test case for resources set in Runtime only
- Add test case for resources set in both Runtime and TrainJob
- Add xgboost_distributed.yaml ClusterTrainingRuntime manifest
- Update kustomization.yaml with xgboost-runtime image

Addresses feedback from PR #3200 for complete resource resolution test coverage.

Signed-off-by: krishna-kg732 <[email protected]>

* added autogenerat3ed files

Signed-off-by: krishna-kg732 <[email protected]>

* CI fixes

Signed-off-by: krishna-kg732 <[email protected]>

* chore: fix ci lint errors

Signed-off-by: krishna-kg732 <[email protected]>

* Add XGBoost integration and E2E tests, fix Validate guard clause and nil safety

Signed-off-by: krishna-kg732 <[email protected]>

* trigger ci

Signed-off-by: krishna-kg732 <[email protected]>

* fix: Add XGBoost support to test wrapper, CEL validation, and CI publish workflow

- Add XGBoostPolicy() method to MLPolicySourceWrapper for integration tests
- Add has(self.xgboost) to MLPolicy CEL mutual-exclusivity validation rule
- Regenerate CRD manifests with updated CEL rule
- Add xgboost-runtime to build-and-push-images CI workflow
- Add XGBoost image build step to E2E setup script (commented out due to Kind bug)

Signed-off-by: krishna-kg732 <[email protected]>

* docs: Add XGBoost distributed training example notebook

Add example notebook demonstrating distributed XGBoost training using
the Kubeflow Trainer SDK and the xgboost-distributed ClusterTrainingRuntime.

The notebook uses the modern XGBoost Collective API with RabitTracker
for distributed coordination and synthetic classification data.

Signed-off-by: krishna-kg732 <[email protected]>

* test: Skip XGBoost E2E test until runtime image is published

Signed-off-by: krishna-kg732 <[email protected]>

* chore : address review comments

Signed-off-by: krishna-kg732 <[email protected]>

* chore:resolve merge conflicts

Signed-off-by: krishna-kg732 <[email protected]>

---------

Signed-off-by: Krishna-kg732 <[email protected]>
Signed-off-by: krishna-kg732 <[email protected]>
2026-03-10 10:04:42 +00:00
88a92a0483 feat: support for flux framework as hpc manager (#3188)
* feat: support for flux framework as hpc manager
Flux supports the majority of MPI flavors/variants, and can be used
to bootstrap MPI as a plugin. It adds other features for scheduling
and topology that can be used for simulations and ai/ml jobs.
This changeset adds the plugin implementation, including the
plugin module, tests, and an example with a small README to
serve as documentation for the time being.

Signed-off-by: vsoch <[email protected]>

* review: slim down use of annotations

We still need to put the original command in an annotation
to retieve later, but others can be re-derived from the
environment

Signed-off-by: vsoch <[email protected]>

* review: clean up tasks and remove extra FluxPolicySource

Signed-off-by: vsoch <[email protected]>

* review: ensure to unset trainer args

Signed-off-by: vsoch <[email protected]>

* review: better support for nproc per node and nodes

Signed-off-by: vsoch <[email protected]>

* review: add constants types for flux

Signed-off-by: vsoch <[email protected]>

* review: add gpu specification from resources

Signed-off-by: vsoch <[email protected]>

* Fix TrainJob NumProcPerNode

Signed-off-by: Andrey Velichkevich <[email protected]>

* Remove elasticPolicy from kubebuilder:validation

Signed-off-by: Andrey Velichkevich <[email protected]>

* chore: use go embed for long string templates flux plugin

Signed-off-by: vsoch <[email protected]>

* cleanup: removed un-used annotation

Signed-off-by: vsoch <[email protected]>

---------

Signed-off-by: vsoch <[email protected]>
Signed-off-by: Andrey Velichkevich <[email protected]>
Co-authored-by: vsoch <[email protected]>
Co-authored-by: Andrey Velichkevich <[email protected]>
2026-03-10 03:19:05 +00:00
Akash JaiswalandGitHub 9a08b4e47f chore: migrate to a10.2 gpu for gpu e2e (#3220)
Signed-off-by: Akash Jaiswal <[email protected]>
2026-02-18 09:16:29 +00:00
Khushi AgrawalandGitHub 60db275023 feat(runtimes): add support for ClusterTrainingRuntimes in Helm chart (#3124)
* feat(runtimes): add support for ClusterTrainingRuntimes in Helm chart

Signed-off-by: khushiiagrawal <[email protected]>

* fix: remove initializerImage from user-configurable values

Signed-off-by: khushiiagrawal <[email protected]>

* chore: regenerate README with helm-docs

Signed-off-by: khushiiagrawal <[email protected]>

* fix: address Copilot review suggestions

Signed-off-by: khushiiagrawal <[email protected]>

* feat: Introduce  helper to centralize image tag resolution

Signed-off-by: khushiiagrawal <[email protected]>

* refactor: nest cache image configuration and update copyright year.

Signed-off-by: khushiiagrawal <[email protected]>

* chore: run make generate to sync

Signed-off-by: khushiiagrawal <[email protected]>

* feat: add TorchTune distributed runtime, image helper usage, and default runtimes enabled flag

Signed-off-by: khushiiagrawal <[email protected]>

* feat: enable runtime via a new default flag and add a comment

Signed-off-by: khushiiagrawal <[email protected]>

* refactor: Torchtune runtimes to use model specific configurations, add default enabled option

Signed-off-by: khushiiagrawal <[email protected]>

* fix: update README and fix trailing whitespace for CI

Signed-off-by: khushiiagrawal <[email protected]>

* refactor: relocate runtime template and update its configuration

Signed-off-by: khushiiagrawal <[email protected]>

* feat: add JAX distributed training support and update runtime configurations

Signed-off-by: khushiiagrawal <[email protected]>

* fix(docs): remove JAX runtime from default runtimes in README

Signed-off-by: khushiiagrawal <[email protected]>

* fix(docs): update default runtimes in README and values.yaml to include JAX

Signed-off-by: khushiiagrawal <[email protected]>

* fix(workflows): increase Papermill timeout for e2e tests in GPU cluster

Signed-off-by: khushiiagrawal <[email protected]>

* fix(notebooks): add missing newline at end of qwen2.5-1.5B-with-alpaca.ipynb

Signed-off-by: khushiiagrawal <[email protected]>

---------

Signed-off-by: khushiiagrawal <[email protected]>
Signed-off-by: Khushi Agrawal <[email protected]>
2026-02-15 16:15:27 +00:00
Sneha DasandGitHub 19059da816 feat: add production-ready MNIST example for PyTorch (#3063)
* feat(examples): align speech and audio examples with MNIST TrainJob flow

This commit updates the speech-recognition and audio-classification notebooks to consistently use the Kubeflow Trainer SDK for TrainJob creation, status checking, and log streaming. It also adjusts the test workflows.

Signed-off-by: Sneha Das <[email protected]>

* fix: resolve torchcodec dependency and ddp timeout

Signed-off-by: Sneha Das <[email protected]>

* fix: align installation steps with mnist example

Signed-off-by: Sneha Das <[email protected]>

* fix: align installation step in speech recognition  with mnist example

Signed-off-by: Sneha Das <[email protected]>

* fix: update SDK installation and paths in audio/speech notebooks

Signed-off-by: Sneha Das <[email protected]>

* chore: fix end of file newlines in notebooks

Signed-off-by: Sneha Das <[email protected]>

* fix: updated the installation path

Signed-off-by: Sneha Das <[email protected]>

---------

Signed-off-by: Sneha Das <[email protected]>
2026-02-10 18:01:14 +00:00
Ishtiyaque-AlamandGitHub a08c8201b0 feat(examples): add torch.compile to PyTorch local examples (#3076)
* feat(examples): added torch.compile to examples of pytorch and local

Signed-off-by: Ishtiyaque-Alam <[email protected]>

* Clearing the output of the notebook

Signed-off-by: Ishtiyaque-Alam <[email protected]>

* Reverting a change from jobset builder

Signed-off-by: Ishtiyaque-Alam <[email protected]>

---------

Signed-off-by: Ishtiyaque-Alam <[email protected]>
Signed-off-by: Ishtiyaque-Alam <[email protected]>
2026-02-10 01:42:13 +00:00
Andrey VelichkevichandGitHub 2612533a5d feat(runtimes): Use JobSet VolumeClaimPolicies APIs for LLM Runtimes (#3150)
* feat(runtimes): Use JobSet VolumeClaimPolicies APIs for LLM Runtimes

Signed-off-by: Andrey Velichkevich <[email protected]>

* Remove cell

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
2026-02-09 14:57:13 +00:00
Akash JaiswalandGitHub dc4267f64e feat: replaced vm runner with test gpu arc from cncf (#3067)
* test: gpu based ARC from cncf instead of stanalone vm

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: removed label for gpu e2e test

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: remove delete cluster action

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: rm seperate script, rm path and nvidia smi command for testing

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: using nvkind with sudo

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: move nvkind from noexec to local/bin

Signed-off-by: Akash Jaiswal <[email protected]>

* tmp: install nvkind as from arc is not wroking

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: run the commands as sudo (check https://github.com/NVIDIA/nvkind/issues/48)

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: nvkind as sudo

Signed-off-by: Akash Jaiswal <[email protected]>

* test: ignore the patch error

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: downgrade the version for nvidia ctk

Signed-off-by: Akash Jaiswal <[email protected]>

* add: service restart

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: patch version for nctk

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: command

Signed-off-by: Akash Jaiswal <[email protected]>

* refactor: split into different script

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: transfer to legacy mode

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: legacy mode for nctk

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: downgrade nctk

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: non root kubectl

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: helm dirs

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: refactored the code

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: rm seperate script, migrated to prod gpu arc, and other misc

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: rm sudo for kind

Signed-off-by: Akash Jaiswal <[email protected]>

* add: wait fo qwen to complete

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: fix qwen nb and fix gpu operator to use host driver

Signed-off-by: Akash Jaiswal <[email protected]>

* test: use default value for ntk toolkit

Signed-off-by: Akash Jaiswal <[email protected]>

* hotfix: patch CRDs to run on GPU nodes (Check #3067)

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: the patching to mdoel and initializers

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: single node for gpu e2e test

Signed-off-by: Akash Jaiswal <[email protected]>

* revert: jax eg

Signed-off-by: Akash Jaiswal <[email protected]>

---------

Signed-off-by: Akash Jaiswal <[email protected]>
2026-02-08 21:07:13 +00:00
Tomas TormoandGitHub 62812f9ce3 feat(runtimes): Add JAX training runtime (#3151)
Signed-off-by: mahdikhashan <[email protected]>
Signed-off-by: Tomas Tormo <[email protected]>
2026-02-06 18:15:22 +00:00
Andrey VelichkevichandGitHub 526becfbd6 chore(runtimes): Bump Torch to 2.9.1 version (#3093)
Signed-off-by: Andrey Velichkevich <[email protected]>
2026-01-14 07:48:37 +00:00
Antonin StefanuttiandGitHub 66176bd5e1 chore(examples): Add device to local process MNIST training example (#3006)
Signed-off-by: Antonin Stefanutti <[email protected]>
2025-11-27 12:16:29 +00:00
Antonin StefanuttiandGitHub b053228240 chore(examples): Use DDP in local container MNIST training example (#3007)
* chore(examples): Use DDP in local container MNIST training example

Signed-off-by: Antonin Stefanutti <[email protected]>

* Remove else branch

Signed-off-by: Antonin Stefanutti <[email protected]>

---------

Signed-off-by: Antonin Stefanutti <[email protected]>
2025-11-26 19:38:28 +00:00
Antonin StefanuttiandGitHub 602cb32d31 fix(examples): Fix SSL certificate error for local MNIST example (#2971)
Signed-off-by: Antonin Stefanutti <[email protected]>
2025-11-11 15:38:58 +00:00
4a49976536 feat(cache): KEP-2655: Adding default runtime with cache and example (#2923)
Signed-off-by: Akshay Chitneni <[email protected]>
Co-authored-by: Akshay Chitneni <[email protected]>
2025-11-07 00:37:32 +00:00
7f695e9fed fix(ci): Fix the Kubeflow SDK installation with Docker (#2926)
* fix(ci): Fix the Kubeflow SDK installation with Docker

Signed-off-by: Andrey Velichkevich <[email protected]>

* Uncomment delete job in local Notebooks

Signed-off-by: Andrey Velichkevich <[email protected]>

* Update .github/workflows/test-e2e.yaml

Co-authored-by: Anya Kramar <[email protected]>
Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
Co-authored-by: Anya Kramar <[email protected]>
2025-11-06 15:23:33 +00:00
1fa639c9d1 feat: Adding local execution example notebook (#2907)
* add local docker training example

Signed-off-by: Brian Gallagher <[email protected]>

* feat: Adding local execution example notebook
Co-authored-by Brian Gallagher <[email protected]>

Signed-off-by: Fiona Waters <[email protected]>

---------

Signed-off-by: Brian Gallagher <[email protected]>
Signed-off-by: Fiona Waters <[email protected]>
Co-authored-by: Brian Gallagher <[email protected]>
2025-11-06 00:29:30 +00:00
576e0896b7 feat(runtimes): add support for launcher resource allocation in MPI jobs (#2653)
* feat(runtime): add support for launcher resource allocation in MPI jobs

Signed-off-by: Andrey Velichkevich <[email protected]>

* Add unit tests

Signed-off-by: Andrey Velichkevich <[email protected]>

* Set numProcPerNode for MPI plugin

Signed-off-by: Andrey Velichkevich <[email protected]>

* Move util func to runtime package

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix torchtune plugin

Signed-off-by: Andrey Velichkevich <[email protected]>

* Inline if for GPU check

Signed-off-by: Andrey Velichkevich <[email protected]>

* Assign container resources once

Signed-off-by: Andrey Velichkevich <[email protected]>

* Add todo for test wrappers

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
Co-authored-by: Andrey Velichkevich <[email protected]>
2025-10-20 13:26:03 +00:00
Anya KramarandGitHub ea8b4b596a chore: Install released version of Kubeflow SDK (#2857)
Signed-off-by: kramaranya <[email protected]>
2025-09-29 09:23:31 +00:00
Akash JaiswalandGitHub cbb653e620 feat: qwen 2.5 1.5b runtime, example and fix gpu e2e test (#2835)
* add: qwen 3 1.7b CTR

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: pvc and ctr

Signed-off-by: Akash Jaiswal <[email protected]>

* feat: qwen 2, 1.5b model as example

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: allow pattern and config update

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: test and typo

Signed-off-by: Akash Jaiswal <[email protected]>

* update: qwen3 model

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: add qwen 2.5, fix gpu e2e test and use local images

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: whitespace

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: review suggestions

Signed-off-by: Akash Jaiswal <[email protected]>

* fix

Signed-off-by: Akash Jaiswal <[email protected]>

---------

Signed-off-by: Akash Jaiswal <[email protected]>
2025-09-20 21:02:59 +00:00
Brian GallagherandGitHub 90c2a34176 fix: update examples to reflect func_args now being unpacked (#2815)
* update examples to reflect func_args now being unpacked

Signed-off-by: Brian Gallagher <[email protected]>

* fix: lower case func arguments and add types

Signed-off-by: Brian Gallagher <[email protected]>

---------

Signed-off-by: Brian Gallagher <[email protected]>
2025-09-07 19:57:35 +00:00
Akash JaiswalandGitHub 82ad2deb74 feat: support for managing gpu enabled self runner infra (#2762)
* feat: support for creating and managing gpu cluster

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: makefile bug

Signed-off-by: Akash Jaiswal <[email protected]>

* add: ci action to ask maintainers to add label to when changes are detected

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: fixed issues and cleanup

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: run check on change in pr

Signed-off-by: Akash Jaiswal <[email protected]>

* feat: added seperate workflow for gpu runner

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: deepspeed typo

Signed-off-by: Akash Jaiswal <[email protected]>

* hotfix: add gpu label on PR without merging

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: merged into single action

Signed-off-by: Akash Jaiswal <[email protected]>

* fixL run runner as soon as label is added

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: use gpu runner when label exist

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: revert changes and fix script permission

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: create gpu supported gpu

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: nvidia issue

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: gpu cluster and torchtune model

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: notebookpath and delete cluster

Signed-off-by: Akash Jaiswal <[email protected]>

* tmp fix: notebook to use k8s client

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: use akash sdk and fix notenook size

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: notebook error

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: delete cluster before creating one and notebook

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: kube config

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: makefile add comment

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: nvidia runtime

Signed-off-by: Akash Jaiswal <[email protected]>

* hotfix: disable e2e go

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: delete cluster

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: delete cluster

Signed-off-by: Akash Jaiswal <[email protected]>

* hotfix: temporarly use my personal token

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: refactored code

Signed-off-by: Akash Jaiswal <[email protected]>

* hotfix: take hf token from env of self runner vm

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: to run notebook directly

Signed-off-by: Akash Jaiswal <[email protected]>

* refactor: torchtune job

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: ci action

Signed-off-by: Akash Jaiswal <[email protected]>

* fix: pre commit hook

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: rename ci action

Signed-off-by: Akash Jaiswal <[email protected]>

* rem: delete cluster command from makefile

Signed-off-by: Akash Jaiswal <[email protected]>

* chore: rem some steps, fixed wait timing and notebook logs according to kubeflow/sdk#83

Signed-off-by: Akash Jaiswal <[email protected]>

* update: upgrade k8s to 1.34.0

Signed-off-by: Akash Jaiswal <[email protected]>

---------

Signed-off-by: Akash Jaiswal <[email protected]>
2025-09-04 15:33:12 +00:00
Andrey VelichkevichandGitHub ba56396acb fix(examples): Update get_job_logs() API in examples (#2813)
* fix(examples): Update get_job_logs() API in examples

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix deepspeed

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
2025-09-03 14:40:03 +00:00
Andrey VelichkevichandGitHub 19624ae63e feat(runtimes): Support Distributed MLX on CUDA (#2790)
* feat(runtimes): Support Distributed MLX on CUDA

Signed-off-by: Andrey Velichkevich <[email protected]>

* Remove arm build from MLX runtime

Signed-off-by: Andrey Velichkevich <[email protected]>

* Update get_runtime_packages API

Signed-off-by: Andrey Velichkevich <[email protected]>

* Force to change vars in examples

Signed-off-by: Andrey Velichkevich <[email protected]>

* Remove LD_LIBRARY_PATH updates

Signed-off-by: Andrey Velichkevich <[email protected]>

* Add patch command to DeepSpeed example

Signed-off-by: Andrey Velichkevich <[email protected]>

* Cleanup apt packages

Signed-off-by: Andrey Velichkevich <[email protected]>

* Reduce MLX and DeepSpeed image size

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
2025-08-21 12:17:06 +00:00
Andrey VelichkevichandGitHub b043237ba3 chore(runtimes): Update packages in DeepSpeed runtime and fix T5 example (#2781)
Signed-off-by: Andrey Velichkevich <[email protected]>
2025-08-07 16:17:56 +00:00
Anya KramarandGitHub c83e6db3c6 fix: update kubeflow sdk reference (#2780)
Signed-off-by: kramaranya <[email protected]>
2025-08-07 15:13:56 +00:00
Andrey VelichkevichandGitHub dba2af939a fix(examples): Update the argument for Runtime framework (#2766)
* fix(examples): Update the runtime framework parameter

Signed-off-by: Andrey Velichkevich <[email protected]>

* Update TorchTune example

Signed-off-by: Andrey Velichkevich <[email protected]>

* Use wait_for_job_status API

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix Notebook

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix client

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix job name

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
2025-08-04 14:29:53 +00:00
Shao WangandGitHub d27e0a0498 feat(example): Add alpaca-trianjob-yaml.ipynb. (#2670)
* feat(example): Add alpaca-trianjob-yaml.ipynb.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(example): Update the overview of the torchtune llama3_2 example.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(example): Update the pvc description.

Signed-off-by: Electronic-Waste <[email protected]>

* chore(example): Add the get the fine-tuned model section.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(example): Fix some errors.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(example): fix some errors.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(manifests): Fix debug tag.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(example): Change PVC creation method to Python SDK.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(example): Remove config load.

Signed-off-by: Electronic-Waste <[email protected]>

---------

Signed-off-by: Electronic-Waste <[email protected]>
2025-07-02 17:16:18 +00:00
Andrey VelichkevichandGitHub 06f6f09a70 chore(runtime): Bump Torch to 2.7.1 and DeepSpeed to 0.17.1 (#2685)
* chore(runtime): Bump Torch to 2.7.1 and DeepSpeed to 0.17.1

Signed-off-by: Andrey Velichkevich <[email protected]>

* Update cuda to 12.8

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
2025-06-27 15:24:18 +00:00
Eoin FennessyandGitHub 7ffef77be3 Remove SDK (#2657)
* Remove SDK

Signed-off-by: Eoin Fennessy <[email protected]>

* Fix e2e test

Signed-off-by: Eoin Fennessy <[email protected]>

* Remove unnecessary `pip install ./sdk` for unit tests

Signed-off-by: Eoin Fennessy <[email protected]>

* Remove sdk from pre-commit config

Signed-off-by: Eoin Fennessy <[email protected]>

* Update docstring for `generate` target

Signed-off-by: Eoin Fennessy <[email protected]>

* Update CONTRIBUTING.md

Signed-off-by: Eoin Fennessy <[email protected]>

* Remove .gitignore for OpenAPI Generator CLI JAR

Signed-off-by: Eoin Fennessy <[email protected]>

* README.md: Add link to `kubeflow/sdk` + some minor edits

Signed-off-by: Eoin Fennessy <[email protected]>

* Add TODO to repurpose SDK release info if needed

Signed-off-by: Eoin Fennessy <[email protected]>

* Add SDK installation step to all notebooks

Signed-off-by: Eoin Fennessy <[email protected]>

* Comment out SDK installation command in all notebooks

Signed-off-by: Eoin Fennessy <[email protected]>

---------

Signed-off-by: Eoin Fennessy <[email protected]>
2025-06-09 13:41:48 +00:00
7e8eff98c4 Add question-answer example for v2 trainer (#2580)
* Add question-answer example

Signed-off-by: solanyn <[email protected]>

* chore: remove unused lines, add TODO comment

Signed-off-by: solanyn <[email protected]>

* chore: update example description

Co-authored-by: Andrey Velichkevich <[email protected]>
Signed-off-by: Andrew Chen <[email protected]>

* chore: update question-answering example

* run train job on CPU
* reduce batch size, dataset size and train epochs
* make upload to bucket optional
* add notebook to e2e-test
* set model name as trainjob argument

Signed-off-by: solanyn <[email protected]>

* chore: extend e2e-run-notebook timeout

* e2e tests fail if trainjobs launched by notebook do not finish in 3s
* extends the timeout to 5min to block and wait for longer trainjobs until timeout or trainjob completes

Signed-off-by: solanyn <[email protected]>

* chore: update example to wait for trainjob running status

* revert change to e2e-run-notebook.sh

Signed-off-by: solanyn <[email protected]>

---------

Signed-off-by: solanyn <[email protected]>
Signed-off-by: Andrew Chen <[email protected]>
Co-authored-by: Andrey Velichkevich <[email protected]>
2025-05-09 21:08:41 +00:00
Andrey VelichkevichandGitHub 6d690f9d9a feat(runtimes): Support MLX Distributed Runtime with OpenMPI (#2565)
* feat(runtimes): Support MLX Distributed Runtime with OpenMPI

Signed-off-by: Andrey Velichkevich <[email protected]>

* Remove sshd config

Signed-off-by: Andrey Velichkevich <[email protected]>

* Modify make install for OpenMPI

Signed-off-by: Andrey Velichkevich <[email protected]>

* Use Debian for MLX Runtime

Signed-off-by: Andrey Velichkevich <[email protected]>

* Install Python package for mpiuser

Signed-off-by: Andrey Velichkevich <[email protected]>

* Remove generator

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix mpiuser permission

Signed-off-by: Andrey Velichkevich <[email protected]>

* Create .cache

Signed-off-by: Andrey Velichkevich <[email protected]>

* Update MLX example

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
2025-03-27 04:54:22 +00:00
Andrey VelichkevichandGitHub 7be3eba4fc feat(runtimes): Support DeepSpeed Runtime with OpenMPI (#2559)
* feat(runtimes): Support DeepSpeed Runtime

Signed-off-by: Andrey Velichkevich <[email protected]>

* Downgrade OpenMPI to 4.0 version

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix the runtime spec

Signed-off-by: Andrey Velichkevich <[email protected]>

* Reuse sshd config from MPI operator

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
2025-03-24 19:34:56 +00:00
Andrey VelichkevichandGitHub eb1ee9d0f4 feat(sdk): Support MPI-based TrainJobs (#2545)
* feat(sdk): Support MPI-based TrainJobs

Signed-off-by: Andrey Velichkevich <[email protected]>

* Refactor list_runtimes

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix example

Signed-off-by: Andrey Velichkevich <[email protected]>

* Add Runtime Trainer object

Signed-off-by: Andrey Velichkevich <[email protected]>

* Update for new Runtime object

Signed-off-by: Andrey Velichkevich <[email protected]>

* Implement get_runtime API

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix Torch example

Signed-off-by: Andrey Velichkevich <[email protected]>

* Remove un-unsed consts

Signed-off-by: Andrey Velichkevich <[email protected]>

* Update func args

Signed-off-by: Andrey Velichkevich <[email protected]>

* Update SDK constants

Signed-off-by: Andrey Velichkevich <[email protected]>

* Change to 16Gi

Signed-off-by: Andrey Velichkevich <[email protected]>

* Fix container name for MPI

Signed-off-by: Andrey Velichkevich <[email protected]>

* Keep launcher container for MPI

Signed-off-by: Andrey Velichkevich <[email protected]>

---------

Signed-off-by: Andrey Velichkevich <[email protected]>
2025-03-20 18:08:02 +00:00
Shao WangandGitHub 6c7b9b948c KEP-2401: Refactor current train() API (#2513)
* fix(sdk): rename Trainer to CustomTrainer.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(sdk): remove validate_trainer().

Signed-off-by: Electronic-Waste <[email protected]>

* fix(sdk): remove lora related code.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(sdk): remove get_lora_config()

Signed-off-by: Electronic-Waste <[email protected]>

* fix(sdk): fix import error in __init__.py

Signed-off-by: Electronic-Waste <[email protected]>

* chore(example): update the image-classification example.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(sdk): delete remaining lora related code.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(sdk): modify args description in CustomTrainer.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(sdk): add parameter type in CustomTrainer dataclass.

Signed-off-by: Electronic-Waste <[email protected]>

* fix(sdk): update args in CustomTrainer.

Signed-off-by: Electronic-Waste <[email protected]>

---------

Signed-off-by: Electronic-Waste <[email protected]>
2025-03-13 02:18:13 +00:00