FedML

FedML-AIApache-2.0长期未更新

统一可扩展的分布式机器学习库,支持大规模训练、模型服务和联邦学习,还能跨云调度任意 AI 任务到 GPU 云或本地集群。

FEDML - The unified and scalable ML library for large-scale distributed training, model serving, and federated learning. FEDML Launch, a cross-cloud scheduler, further enables running any AI jobs on any GPU cloud or on-premise cluster. Built on this library, TensorOpera AI (https://TensorOpera.ai) is your generative AI platform at scale.

v0.8.9发布于 2023-10-28 04:45 UTC4,069star771fork同步于 2026-11-10 11:39 UTC

怎么上手

由 README 提炼,执行前请确认
README 未给出安装命令
硬件要求按 README 说明

README 未说明具体显存、GPU 型号或 CPU 运行要求,仅提及可在 GPU 云、本地集群、边缘服务器和智能手机上运行

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

统一可扩展的机器学习库,支持大规模分布式训练、模型服务与联邦学习,并跨云调度 AI 任务

统一可扩展的分布式机器学习库,支持大规模训练、模型服务和联邦学习,还能跨云调度任意 AI 任务到 GPU 云或本地集群。

核心能力

  • 统一库覆盖分布式训练、模型部署与联邦学习三类任务
  • TensorOpera Launch 跨云调度,把 AI 任务匹配到最经济的 GPU 资源
  • 支持在本地集群、私有云与混合云上管理并部署任务
  • Federate 平台支持在智能手机等设备上做联邦学习训练
  • 提供预置 Job Store,可直接用自定义数据集或模型运行

容易踩的坑

README 未说明依赖版本、默认端口或额外模型下载等细节;部分能力(如 Studio、Job Store、Launch 调度)依赖 TensorOpera AI 云服务

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.8.9
  1. v0.8.9FedML 0.8.9最新正式版2023-10-28 · 2023-10-28 04:45 UTC

    FEDML Open Source: A Unified and Scalable Machine Learning Library for Running Training and Deployment Anywhere at Any Scale

    Backed by FEDML Nexus AI: Next-Gen Cloud Services for LLMs & Generative AI (https://nexus.fedml.ai)

    FedML Documentation: https://doc.fedml.ai

    FedML Homepage: https://fedml.ai/
    FedML Blog: https://blog.fedml.ai/
    FedML Medium: https://medium.com/@FedML
    FedML Research: https://fedml.ai/research-papers/

    Join the Community:
    Slack: https://join.slack.com/t/fedml/shared_invite/zt-havwx1ee-a1xfOUrATNfc9DFqU~r34w
    Discord: https://discord.gg/9xkW8ae6RV

    FEDML® stands for Foundational Ecosystem Design for Machine Learning. FEDML Nexus AI is the next-gen cloud service for LLMs & Generative AI. It helps developers to launch complex model training, deployment, and federated learning anywhere on decentralized GPUs, multi-clouds, edge servers, and smartphones, easily, economically, and securely.

    Highly integrated with FEDML open source library, FEDML Nexus AI provides holistic support of three interconnected AI infrastructure layers: user-friendly MLOps, a well-managed scheduler, and high-performance ML libraries for running any AI jobs across GPU Clouds.

    drawing

    A typical workflow is showing in figure above. When developer wants to run a pre-built job in Studio or Job Store, FEDML®Launch swiftly pairs AI jobs with the most economical GPU resources, auto-provisions, and effortlessly runs the job, eliminating complex environment setup and management. When running the job, FEDML®Launch orchestrates the compute plane in different cluster topologies and configuration so that any complex AI jobs are enabled, regardless model training, deployment, or even federated learning. FEDML®Open Source is unified and scalable machine learning library for running these AI jobs anywhere at any scale.

    In the MLOps layer of FEDML Nexus AI

    • FEDML® Studio embraces the power of Generative AI! Access popular open-source foundational models (e.g., LLMs), fine-tune them seamlessly with your specific data, and deploy them scalably and cost-effectively using the FEDML Launch on GPU marketplace.
    • FEDML® Job Store maintains a list of pre-built jobs for training, deployment, and federated learning. Developers are encouraged to run directly with customize datasets or models on cheaper GPUs.

    In the scheduler layer of FEDML Nexus AI

    • FEDML® Launch swiftly pairs AI jobs with the most economical GPU resources, auto-provisions, and effortlessly runs the job, eliminating complex environment setup and management. It supports a range of compute-intensive jobs for generative AI and LLMs, such as large-scale training, serverless deployments, and vector DB searches. FEDML Launch also facilitates on-prem cluster management and deployment on private or hybrid clouds.

    In the Compute layer of FEDML Nexus AI

    • FEDML® Deploy is a model serving platform for high scalability and low latency.
    • FEDML® Train focuses on distributed training of large and foundational models.
    • FEDML® Federate is a federated learning platform backed by the most popular federated learning open-source library and the world’s first FLOps (federated learning Ops), offering on-device training on smartphones and cross-cloud GPU servers.
    • FEDML® Open Source is unified and scalable machine learning library for running these AI jobs anywhere at any scale.

    Contributing

    FedML embraces and thrive through open-source. We welcome all kinds of contributions from the community. Kudos to all of our amazing contributors!

  2. v0.8.7FedML 0.8.72023-07-23 · 2023-07-23 09:55 UTC
    查看更新说明

    What's Changed

    New Features

    • [CoreEngine/MLOps] Supported LLM record logging.
    • [Serving] Made the inference backend for deepspeed work.
    • [CoreEngine/DevOps] Made the public cloud server scheduled into specific nodes.
    • [DevOps] Added the fedml light docker image and related documents.
    • [DevOps] Built and pushed light docker images and related pipelines.
    • [CoreEngine] Added timestamp when reporting system metrics.
    • [DevOps] Made the serving k8s cluster work with the latest images and updated related chart files.
    • [CoreEngine] Added the skip_log_model_net option for llm training.
    • [CoreEngine/CrossSilo] Supported customized hierarchical cross-silo.
    • [Serving] Created the default model config and readme file if the user did not provide any model config and readme options when creating a model card.
    • [Serving] Allow users to customize their token for end point and inference.

    Bug Fixes

    • [CoreEngine] Made compatibility when opening subprocess on windows.
    • [CoreEngine] Fixed the issue that MPI Mode does not have client rank -1.
    • [CoreEngine] Set the python interpreter based on the current running python version.
    • [CoreEngine] Fixed the issue that failed to verify the pip ssl certificate when checking OTA versions.
    • [CrossDevice] Fixed issues where the test metrics are reported twice to MLOps and loss metrics are clipped to integers on the Beehive platform.
    • [App] Fixed issues when installing flamby on the heart-disease app.
    • [CoreEngine] Added handler when utf-8 cannot decode the output and error string.
    • [App] Fixed scripts and requirements on the FedNLP app.
    • [CoreEngine] Fixed issues whereFileExistsError triggered for all os.makedirs.
    • [Serving] Changed the model url to open.fedml.ai.
    • [Serving] Fixed the issue for OnnxExporterError and added Onnx as default dependent library when installing fedml.
    • [Serving] Fixed the issue where the local package name is different from MLOps UI.

    Enhancements

    • [Serving] Establish container based on user's config and improve code readability.
  3. v0.8.4FedML 0.8.42023-06-20 · 2023-06-20 17:47 UTC
    查看更新说明

    What's Changed

    New Features in 0.8.4

    At FedML, our mission is to remove the friction and pain points of converting your ML & AI models from R&D into production-scale-distributed and federated training & serving via our no-code MLOps platform. FedML is happy to announce our update 0.8.4. This release is filled with new capabilities, bug fixes, and enhancements. A key announcement is the launch of FedLLM for simplifying & reducing the costs associated with training & serving large language models. You can read more about it on our blog post.

    New Features

    curl -XPOST http://localhost:40800/fedml/api/v2/disableAgent -d’{}' curl -XPOST http://localhost:40800/fedml/api/v2/enableAgent -d’{}' curl -XPOST http://localhost:40800/fedml/api/v2/queryAgentStatus -d’{}'

    Bug Fixes

    • [CoreEngine] Create distinct device ids when running multiple Docker containers to simulate multiple clients or silos on one machine. Now using the product id plus a random id as the device id

    • [CoreEngine] Fixed a device assignment issue in get_torch_device in the distributed training mode.

    • [Serving] Fixed the exceptions that occurred when recovering at startup after upgrading.

    • [CoreEngine] Fixed the device id issue when running in the docker on MacOS.

    • [App] Fixed the issue in the app fedprox + sage graph regression and graph clf.

    • [App] Fixed an issue with the heart disease app failing when running in MLOps.

    • [App] Fixed an issue with the heart disease app’s performance curve

    • [App/Android] Enhanced Android starting/stopping mechanism and fixed the following issues:

    Fixed status displays after stopping the run. When stopping a Run during a round that has not finished, the MNN process will remain in IDLE state (it was previously going OFFLINE). When stopping after a round is done, the training will now stop Python server TAG in the logs is not correct. Now you can easily find the server mentioned in logs

  4. v0.8.3FedML 0.8.32023-04-23 · 2023-04-23 09:28 UTC
    查看更新说明

    What's Changed

    New Features

    • [CoreEngine/MLOps] Introducing the FedML OTA (Over-the-Air) upgrade mechanism for the training platform and serving platform.
    • [Documents] Added guidance for the OTA mechanism in the user guide document.

    Bug Fixes

    • [Serving] Fixed an issue where exceptions occurred when activating the model inference.
    • [CoreEngine] Fixed an issue where aggregator exceptions occurred when running MPI scripts.
    • [Documents] Fixed broken links in the user guide document.
    • [CoreEngine] Checked if the current job is empty in the get_current_job_status api.
    • [CoreEngine] Fixed a high CPU usage issue when the reload option was enabled in the client API.

    Enhancements

    • [Serving] Improved data syncing between Redis server and Sqlite database.
    • [Serving] Implemented the use of triple elements (end point name/model name/model version) to identify each inference API request.
    • [DevOps] Updated Jenkinsfile to automate the building and deployment of the model serving Docker to the K8s cluster.
    • [Serving] Implemented the model monitor stop functionality when deactivating and deleting the model deployment.
    • [Serving] Checked the status of the end point when recovering on startup.
    • [CoreEngine] Refactored the OTA upgrade process for improved robustness.
    • [CoreEngine] Attach logs to the new Run ID when initiating a new run or deploying a model.
    • [CoreEngine] Refined upgrade status messages for enhanced clarity.
  5. v0.8.2FedML 0.8.22023-03-31 · 2023-03-31 12:26 UTC
    查看更新说明

    What's Changed

    New Features

    • [CoreEngine/MLOps] Refactor the entire serving platform to make it run more smoothly on the Kubernetes cluster.

    Bug Fixes

    • [Training] The training status is still running after training.
    • [Training] Fixed the issue that the parrot platform can not collect and analyze metrics, events and logs.
    • [CoreEngine] Make the device unique in the docker container.

    Enhancements

    • [CoreEngine/MLOps] Print log does not show on the MLOps distributed logging platform.
    • [CoreEngine/MLOps] Use the bootstrap script to upgrade the version of FedML when we don't need to publish the pip package.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    FEDML Open Source: A Unified and Scalable Machine Learning Library for Running Training and Deployment Anywhere at Any Scale

    Backed by TensorOpera AI: Your Generative AI Platform at Scale (https://TensorOpera.ai)

    TensorOpera Documentation: https://docs.TensorOpera.ai

    TensorOpera Homepage: https://TensorOpera.ai/
    TensorOpera Blog: https://blog.TensorOpera.ai/

    Join the Community: Slack: https://join.slack.com/t/fedml/shared_invite/zt-havwx1ee-a1xfOUrATNfc9DFqU~r34w
    Discord: https://discord.gg/9xkW8ae6RV

    TensorOpera® AI (https://TensorOpera.ai) is the next-gen cloud service for LLMs & Generative AI. It helps developers to launch complex model training, deployment, and federated learning anywhere on decentralized GPUs, multi-clouds, edge servers, and smartphones, easily, economically, and securely.

    Highly integrated with TensorOpera open source library, TensorOpera AI provides holistic support of three interconnected AI infrastructure layers: user-friendly MLOps, a well-managed scheduler, and high-performance ML libraries for running any AI jobs across GPU Clouds.

    A typical workflow is showing in figure above. When developer wants to run a pre-built job in Studio or Job Store, TensorOpera®Launch swiftly pairs AI jobs with the most economical GPU resources, auto-provisions, and effortlessly runs the job, eliminating complex environment setup and management. When running the job, TensorOpera®Launch orchestrates the compute plane in different cluster topologies and configuration so that any complex AI jobs are enabled, regardless model training, deployment, or even federated learning. TensorOpera®Open Source is unified and scalable machine learning library for running these AI jobs anywhere at any scale.

    In the MLOps layer of TensorOpera AI

    • TensorOpera® Studio embraces the power of Generative AI! Access popular open-source foundational models (e.g., LLMs), fine-tune them seamlessly with your specific data, and deploy them scalably and cost-effectively using the TensorOpera Launch on GPU marketplace.
    • TensorOpera® Job Store maintains a list of pre-built jobs for training, deployment, and federated learning. Developers are encouraged to run directly with customize datasets or models on cheaper GPUs.

    In the scheduler layer of TensorOpera AI

    • TensorOpera® Launch swiftly pairs AI jobs with the most economical GPU resources, auto-provisions, and effortlessly runs the job, eliminating complex environment setup and management. It supports a range of compute-intensive jobs for generative AI and LLMs, such as large-scale training, serverless deployments, and vector DB searches. TensorOpera Launch also facilitates on-prem cluster management and deployment on private or hybrid clouds.

    In the Compute layer of TensorOpera AI

    • TensorOpera® Deploy is a model serving platform for high scalability and low latency.
    • TensorOpera® Train focuses on distributed training of large and foundational models.
    • TensorOpera® Federate is a federated learning platform backed by the most popular federated learning open-source library and the world’s first FLOps (federated learning Ops), offering on-device training on smartphones and cross-cloud GPU servers.
    • TensorOpera® Open Source is unified and scalable machine learning library for running these AI jobs anywhere at any scale.

    Contributing

    FedML embraces and thrive through open-source. We welcome all kinds of contributions from the community. Kudos to all of our amazing contributors!
    FedML has adopted Contributor Covenant.