higgsfield-ai/higgsfield

▲ 461 stars today★ 5,174⑂ 933

Fault-tolerant, highly scalable GPU orchestration, and a machine learning framework designed for training models with billions to trillions of parameters

About higgsfield-ai/higgsfield

higgsfield-ai/higgsfield is an open-source project on GitHub, mainly written in Jupyter Notebook. Fault-tolerant, highly scalable GPU orchestration, and a machine learning framework designed for training models with billions to trillions of parameters It currently holds 5,174 stars and 933 forks with 13 open issues, and was last pushed on 2026-09-14 (repository created 2018-05-26).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #9 with 461 new stars today.

GitHub Repository Details

Repository higgsfield-ai/higgsfield · default branch main · size 5073 KB · watchers 87 · source: GitHub REST API and repository README

README

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

architecture

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

$ pip install higgsfield==0.0.3

Train example

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

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. No more yaml witchcraft. 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:

Clouds we have tested on: Feel free to open an issue if you have any problems with other clouds.

Getting started

Setup

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

Tutorial

API for common tasks in Large Language Models training.

| Platform | Purpose | Estimated Response Time | Support Level | | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------- | --------------- | | Github Issues | Bug reports, feature requests, install issues, usage issues, etc. | < 1 day | Higgsfield Team | | Twitter | For staying up-to-date on new features. | Daily | Higgsfield Team | | Website | Discussion, news. |

GitHub Stars & Activity

5,174Stars
933Forks
13Open issues
Jupyter NotebookLanguage

GitHub Popularity

GitHub stars5,174
Forks933
Open issues13
Primary languageJupyter Notebook
LicenseApache-2.0
Stars gained today461
Created2018-05-26
Last pushed2026-09-14

Trending History

Daily boardrank #9 · ▲ 461 stars
Weekly boardrank #70 · ▲ 761 stars

Related GitHub Projects

1

microsoft / ML-For-Beginners

Jupyter Notebook★ 90,755⑂ 22,371▲ 77 stars
2

microsoft / AI-For-Beginners

Jupyter Notebook★ 68,754⑂ 13,288▲ 41 stars
3

patchy631 / ai-engineering-hub

Jupyter Notebook★ 37,796⑂ 6,218▲ 30 stars
4

AI4Finance-Foundation / FinRL

Jupyter Notebook★ 16,356⑂ 3,511▲ 29 stars
5

langchain-ai / agents-from-scratch

Jupyter Notebook★ 2,294⑂ 443▲ 53 stars
6

affaan-m / ECC

JavaScript★ 263,382⑂ 39,412▲ 1,012 stars
7

ossu / computer-science

HTML★ 209,209⑂ 25,882▲ 62 stars
8

tensorflow / tensorflow

C++★ 200,208⑂ 76,964▲ 28 stars

More Trending Repositories