kubeflow/training-operator
Fork: 705 Star: 1637 (更新于 2024-12-17 09:20:21)
license: Apache-2.0
Language: Go .
Distributed ML Training and Fine-Tuning on Kubernetes
最后发布版本: v1.8.1 ( 2024-09-10 23:14:59)
Kubeflow Training Operator
Overview
Kubeflow Training Operator is a Kubernetes-native project for fine-tuning and scalable distributed training of machine learning (ML) models created with various ML frameworks such as PyTorch, TensorFlow, HuggingFace, JAX, DeepSpeed, XGBoost, PaddlePaddle and others.
You can run high-performance computing (HPC) tasks with the Training Operator and MPIJob
since it
supports running Message Passing Interface (MPI) on Kubernetes which is heavily used for HPC.
The Training Operator implements the V1 API version of MPI Operator. For the MPI Operator V2 version,
please follow this guide to
install MPI Operator V2.
The Training Operator allows you to use Kubernetes workloads to effectively train your large models via Kubernetes Custom Resources APIs or using the Training Operator Python SDK.
Prerequisites
Please check the official Kubeflow documentation for prerequisites to install the Training Operator.
Installation
Please follow the Kubeflow Training Operator guide for the detailed instructions on how to install Training Operator.
Installing the Control Plane
Run the following command to install the latest stable release of the Training Operator control plane: v1.8.0
.
kubectl apply --server-side -k "github.com/kubeflow/training-operator.git/manifests/overlays/standalone?ref=v1.8.0"
Run the following command to install the latest changes of the Training Operator control plane:
kubectl apply --server-side -k "github.com/kubeflow/training-operator/manifests/overlays/standalone"
Installing the Python SDK
The Training Operator implements a Python SDK to simplify creation of distributed training and fine-tuning jobs for Data Scientists.
Run the following command to install the latest stable release of the Training SDK:
pip install -U kubeflow-training
Getting Started
Please refer to the getting started guide to quickly create your first distributed training job using the Python SDK.
If you want to work directly with Kubernetes Custom Resources provided by Training Operator, follow the PyTorchJob MNIST guide.
Community
The following links provide information on how to get involved in the community:
- Attend the bi-weekly AutoML and Training Working Group community meeting.
- Join our
#kubeflow-training
Slack channel. - Check out who is using the Training Operator.
This is a part of Kubeflow, so please see readme in kubeflow/kubeflow to get in touch with the community.
Contributing
Please refer to the CONTRIBUTING guide.
Change Log
Please refer to the CHANGELOG.
Version Matrix
The following table lists the most recent few versions of the operator.
Operator Version | API Version | Kubernetes Version |
---|---|---|
v1.4.x |
v1 |
1.23+ |
v1.5.x |
v1 |
1.23+ |
v1.6.x |
v1 |
1.23+ |
v1.7.x |
v1 |
1.25+ |
v1.8.x |
v1 |
1.27+ |
latest (master HEAD) |
v1 |
1.27+ |
Reference
For a complete reference of the custom resource definitions, please refer to the API Definition.
- TensorFlow API Definition
- PyTorch API Definition
- XGBoost API Definition
- MPI API Definition
- PaddlePaddle API Definition
- JAX API Definition
For details on the Training Operator custom resources APIs, refer to the following API documentation
Acknowledgement
This project was originally started as a distributed training operator for TensorFlow and later we merged efforts from other Kubeflow Training Operators to provide a unified and simplified experience for both users and developers. We are very grateful to all who filed issues or helped resolve them, asked and answered questions, and were part of inspiring discussions. We'd also like to thank everyone who's contributed to and maintained the original operators.
- PyTorch Operator: list of contributors and maintainers.
- MPI Operator: list of contributors and maintainers.
- XGBoost Operator: list of contributors and maintainers.
- Common library: list of contributors and maintainers.
最近版本更新:(数据更新于 2024-10-30 18:15:37)
2024-09-10 23:14:59 v1.8.1
2024-07-24 02:10:56 v1.8.0
2024-04-29 02:37:09 v1.8.0-rc.0
2023-11-01 15:49:11 v1.7.0
2023-08-07 21:00:58 v1.7.0-rc.0
2023-03-22 03:37:45 v1.6.0
2023-02-14 17:05:54 v1.6.0-rc.1
2023-01-26 21:32:34 v1.6.0-rc.0
2022-08-19 21:56:13 v1.5.0
2022-06-29 02:31:38 v1.5.0-rc.0
主题(topics):
ai, distributed, fine-tuning, gpu, huggingface, jax, kubeflow, kubernetes, llm, machine-learning, mlops, python, pytorch, tensorflow, xgboost
kubeflow/training-operator同语言 Go最近更新仓库
2024-12-22 07:52:58 navidrome/navidrome
2024-12-21 20:15:12 SagerNet/sing-box
2024-12-21 03:25:54 SpecterOps/BloodHound
2024-12-19 23:11:24 shadow1ng/fscan
2024-12-19 21:50:56 minio/minio
2024-12-19 10:04:39 istio/istio