ai-agent

LoongForge: Accelerate Multi‑Modal Model Training on GPUs & XPUs

LoongForge lets founders train LLMs, VLMs, diffusion and embodied models faster with a single high‑performance Python framework, ideal for teams leveraging NVIDIA GPUs or Kunlun XPUs.

From the repo · “A unified, high-performance framework for training LLMs, VLMs, diffusion, and embodied models on NVIDIA GPUs and Kunlun XPUs.”

704 stars+17★ this week60 forksPythonGuide quality 9/10 · reviewed Oct 7Updated 10/21/2026100% free · open source
What it does

LoongForge is a high-performance framework for training large language models, vision models, diffusion models, and embodied models on NVIDIA GPUs and Kunlun XPUs

When to use it
  • •When you need to train large AI models on specialized hardware like NVIDIA GPUs or Kunlun XPUs
  • •When you want a unified framework for training different types of models, such as LLMs, VLMs, and diffusion models
  • •When you prioritize high-performance and efficiency in your model training pipeline
Ready-to-paste prompt
Train a large language model on an NVIDIA GPU using the command: `python train.py --model llm --gpu 0 --batch_size 32`
Heads up: Ensure you have the correct version of CUDA and cuDNN installed on your system, as LoongForge requires specific versions to function properly
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/loongforge && curl -fsSL https://workflowstacks.com/api/skills/loongforge/claude-skill -o ~/.claude/skills/loongforge/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

What's inside — free to inspect

No purchase needed

Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.

13
top-level files
16
folders
72.9M
source size
Apache-2.0
license
Key files
.pre-commit-config.yaml
README_zh.md
README.md
File tree
.claude/
.github/
.readthedocs/
ci/
configs/
cookbook/
docker/
docs/
examples/
examples_xpu/
loongforge/
ops/
skills/
tests/
third_party/
tools/
.gitignore
.gitleaks.toml
.gitmodules
.license-header.txt
.pre-commit-config.yaml
.python-version
CLAUDE.md
CONTRIBUTING.md
Quick Actions
Details
Creator
baidu-baige
Language
Python
Category
ai-agent
Published
4/23/2026

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/loongforge.svg)](https://workflowstacks.com/skills/loongforge?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.