项目 / higgsfield-ai/higgsfield

higgsfield-ai/higgsfield

暂无行业标签
语言 Jupyter Notebook标签 cluster-managementdeep-learningdistributedllamallama2llmmachine-learningmlopspytorch数据更新 2026-11-25 06:49:28 · 仓库 2026-11-24

一段话介绍

调度显卡集群训练大模型的框架,支持超大规模模型。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
Fault-tolerant, highly scalable GPU orchestration, and a machine learning framework designed for training models with billions to trillions of parameters
5,366累计星
954Fork
+465峰值日增
2上榜次数

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景 — 暂未挂到行业场景库

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
higgsfield 的快速入门文档按步骤介绍初始化项目、配置环境和 git、设置节点、运行首个实验以及部署的完整流程。
特点或设计要点
higgsfield 遵循标准 PyTorch 工作流,可搭配 deepspeed、accelerate 或自定义分片,并针对环境版本混乱与超多实验参数配置两大痛点提供简化的实验定义接口,支持依赖版本记录以保证可复现。
星标走势近 18 天
本站点评(非项目 README 原文)
做技术雷达或学习路径时,把 higgsfield 当精选清单;适合调研阶段,不直接当生产依赖。
首次发现 2026-09-20 · 最近在榜 2026-09-21 · 语言 Jupyter Notebook · 贡献者 arpanetus、higgsfield、zxcjhg、apps/dependabot
eduinfrallmsdk

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 6,242 字节。

# higgsfield - multi node training without crying


Higgsfield is an open-source, fault-tolerant, highly scalable GPU orchestration, and a machine learning framework designed for training models with billions to trillions of parameters, such as Large Language Models (LLMs).

[![PyPI version](https://badge.fury.io/py/higgsfield.svg)](https://badge.fury.io/py/higgsfield)

![architecture](https://raw.githubusercontent.com/higgsfield/higgsfield/main/docs/static/architecture.png)

Higgsfield serves as a GPU workload manager and machine learning framework with five primary functions:

1. Allocating exclusive and non-exclusive access to compute resources (nodes) to users for their training tasks.
2. Supporting ZeRO-3 deepspeed API and fully sharded data parallel API of PyTorch, enabling efficient sharding for trillion-parameter models.
3. Offering a framework for initiating, executing, and monitoring the training of large neural networks on allocated nodes.
4. Managing resource contention by maintaining a queue for running experiments.
5. Facilitating continuous integration of machine learning development through seamless integration with GitHub and GitHub Actions.
   Higgsfield streamlines the process of training massive models and empowers developers with a versatile and robust toolset.
## Install

```bash
$ pip install higgsfield==0.0.3
```



## Train example

That's all you have to do in order to train LLaMa in a distributed setting:

```python
from higgsfield.llama import Llama70b
from higgsfield.loaders import LlamaLoader
from higgsfield.experiment import experiment

import torch.optim as optim
from alpaca import get_alpaca_data

@experiment("alpaca")
def train(params):
    model = Llama70b(zero_stage=3, fast_attn=False, precision="bf16")

    optimizer = optim.AdamW(model.parameters(), lr=1e-5, weight_decay=0.0)

    dataset = get_alpaca_data(split="train")
    train_loader = LlamaLoader(dataset, max_words=2048)

    for batch in train_loader:
        optimizer.zero_grad()
        loss = model(batch)
        loss.backward()
        optimizer.step()

    model.push_to_hub('alpaca-70b')
```

## How it's all done?

1. We install all the required tools in your server (Docker, your project's deploy keys, higgsfield binary).
2. Then we generate deploy & run workflows for your experiments.
3. As soon as it gets into Github, it will automatically deploy your code on your nodes.
4. Then you access your experiments' run UI through Github, which will launch experiments and save the checkpoints.

## Design

We follow the standard pytorch workflow. Thus you can incorporate anything besides what we provide, `deepspeed`, `accelerate`, or just implement your custom `pytorch` sharding from scratch.

**Enviroment hell**

No more different versions of pytorch, nvidia drivers, data processing libraries.
You can easily orchestrate experiments and their environments, document and track the specific versions and configurations of all dependencies to ensure reproducibility.

**Config hell**

No need to define [600 arguments for your experiment](https://github.com/huggingface/transformers/blob/aaccf1844eccbb90cc923378e3c37a6b143d03fb/src/transformers/training_args.py#L161). No more [yaml witchcraft](https://hydra.cc/).
You can use whatever you want, whenever you want. We just introduce a simple interface to define your experiments. We have even taken it further, now you only need to design the way to interact.

## Compatibility

**We need you to have nodes with:**

- Ubuntu
- SSH access
- Non-root user with sudo privileges (no-password is required)

**Clouds we have tested on:**

- Azure
- LambdaLabs
- FluidStack

Feel free to open an issue if you have any problems with other clouds.

## Getting started

#### [Setup](./setup.md)

Here you can find the quick start guide on how to setup your nodes and start training.

- [Initialize the project](https://github.com/higgsfield/higgsfield/blob/main/setup.md#initialize-the-project)
- [Setup the environment](https://github.com/higgsfield/higgsfield/blob/main/setup.md#setup-the-environment)
- [Setup git](https://github.com/higgsfield/higgsfield/blob/main/setup.md#setup-git)
- [Time to setup your nodes!](https://github.com/higgsfield/higgsfield/blob/main/setup.md#time-to-setup-your-nodes)
- [Run your very first experiment](https://github.com/higgsfield/higgsfield/blob/main/setup.md#run-your-very-first-experiment)
- [Fasten your seatbelt, it's time to deploy!](https://github.com/higgsfield/higgsfield/blob/main/setup.md#fasten-your-seatbelt-its-time-to-deploy)

#### [Tutorial](./tutorial.md)

API for common tasks in Large Language Models training.

- [Working with distributed model](https://github.com/higgsfield/higgsfield/blob/main/tutorial.md#working-with-distributed-model)
- [Preparing Data](https://github.com/higgsfield/higgsfield/blob/main/tutorial.md#preparing-data)
- [Optimizing the Model Parameters](https://github.com/higgsfield/higgsfield/blob/main/tutorial.md#optimizing-the-model-parameters)
- [Saving Model](https://github.com/higgsfield/higgsfield/blob/main/tutorial.md#saving-model)
- [Training stabilization techniques](https://github.com/higgsfield/higgsfield/blob/main/tutorial.md#training-stabilization-techniques)
- [Monitoring](https://github.com/higgsfield/higgsfield/blob/main/tutorial.md#monitoring)

| Platform                                                          | Purpose                                                           | Estimated Response Time | Support Level   |
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------- | --------------- |
| [Github Issues](https://github.com/higgsfield/higgsfield/issues/) | Bug reports, feature requests, install issues, usage issues, etc. | < 1 day                 | Higgsfield Team |
| [Twitter](https://twitter.com/higgsfield_ai/)                     | For staying up-to-date on new features.                           | Daily                   | Higgsfield Team |
| [Website](https://higgsfield.ai/)                                 | Discussion, news.                                                 | < 2 days                | Higgsfield Team |

↑