安装脚本会把代码装到 ~/.transformerlab/src,需进入该目录才能运行 run.sh;Windows 不能直接运行,必须先配置 WSL2 与 CUDA;集群功能需按 Teams 安装指南另行配置 Slurm 或 SkyPilot 计算提供方。
transformerlab-app
transformerlabAGPL-3.0活跃维护面向 AI 研究者的开源实验环境,可在本地硬件到 GPU 集群之间无缝训练、评估和扩展大模型与扩散模型。
The open source research environment for AI researchers to seamlessly train, evaluate, and scale models from local hardware to GPU clusters.
curl https://lab.cloud/install.sh | bash
cd ~/.transformerlab/src
./run.shmacOS 需 Apple Silicon(M1/M2/M3/M4);Linux 需 NVIDIA 或 AMD GPU;Windows 需通过 WSL2 使用 NVIDIA GPU。README 未给出具体显存数值。
开源 AI 研究平台,用一个界面统一本地与集群上的模型训练、微调、评测和推理
面向 AI 研究者的开源实验环境,可在本地硬件到 GPU 集群之间无缝训练、评估和扩展大模型与扩散模型。
核心能力
- 统一界面在本地硬件或 Slurm、SkyPilot 集群上提交训练任务
- 支持全量微调、LoRA/QLoRA、DPO/ORPO/SIMPO 与奖励建模
- 集成 MLX、vLLM、Ollama、HuggingFace 多种推理引擎
- 内置 LM Evaluation Harness 基准与 LLM-as-a-Judge 评测
- 提供 Python 插件架构与 lab CLI 扩展和脚本集成
容易踩的坑
- v0.40.1最新正式版2026-06-19 · 2026-06-19 19:10 UTC
What's Changed
- Add --provider flag to lab task queue by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2265
- Bump esbuild and @remotion/cli in /docs/demos/remotion by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2269
- docs-deps(deps): bump joi from 17.13.3 to 17.13.4 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2268
- Bump esbuild and esbuild-loader by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2271
- blog: add DiffGemma decoding-order and Eta fused-INT8 posts by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2266
- Fix for how Azure provider installs NVIDIA Driver by @dadmobile in https://github.com/transformerlab/transformerlab-app/pull/2270
- Bump the minor-and-patch group with 7 updates by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2272
- docs-deps(deps): bump launch-editor from 2.13.2 to 2.14.1 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2275
- Delete outdated infrastructure scripts by @dadmobile in https://github.com/transformerlab/transformerlab-app/pull/2278
- docs-deps(deps): bump dompurify from 3.4.3 to 3.4.10 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2277
- docs-deps(deps): bump @babel/core from 7.28.4 to 7.29.7 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2276
- Bump launch-editor from 2.13.2 to 2.14.1 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2279
- Blog self verification codec tts by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2280
- Blog - VLM Judge 3d generation by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2281
- build(deps-dev): bump webpack-dev-server from 5.2.4 to 5.2.5 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2282
- docs-deps(deps): bump webpack-dev-server from 5.2.4 to 5.2.5 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2283
- Replace docs homepage with custom static homepage by @aliasaria in https://github.com/transformerlab/transformerlab-app/pull/2284
- Fix blank homepage on client-side navigation to / by @aliasaria in https://github.com/transformerlab/transformerlab-app/pull/2285
- feat(cli): per-process profiles — talk to multiple servers in parallel by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2267
- Fix remote working directory by storing in a file by @dadmobile in https://github.com/transformerlab/transformerlab-app/pull/2288
- Add show_gpus to every compute provider (API + CLI + GUI) by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2274
- Add blogs for iota ontlaw and gen3dft by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2286
Full Changelog: https://github.com/transformerlab/transformerlab-app/compare/v0.40.0...v0.40.1
- v0.40.02026-06-12 · 2026-06-12 13:57 UTC
查看更新说明
What's Changed
- Add Lambda Cloud as a provider by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2205
- Add
lab job chart— export the job runs chart as a PNG via the CLI by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2250 - Make azure support B200s by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2252
- docs-deps(deps): bump the react group in /transformerlab-docs with 2 updates by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2255
- Bump codecov/codecov-action from 6 to 7 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2256
- Bump the minor-and-patch group with 6 updates by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2253
- Bump the minor-and-patch group across 1 directory with 4 updates by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2258
- jsonl file preview in monaco by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2259
- Add ideogram blog by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2260
- ideogram 4.0 spelling by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2261
- docs-deps(deps): bump shell-quote from 1.8.3 to 1.8.4 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2262
- Fix blog line by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2264
- Fix command to install skill to work on windows by @dadmobile in https://github.com/transformerlab/transformerlab-app/pull/2263
Full Changelog: https://github.com/transformerlab/transformerlab-app/compare/v0.39.0...v0.40.0
- v0.39.02026-06-04 · 2026-06-04 17:31 UTC
查看更新说明
What's Changed
- Add docs for AWS, Azure and GCP providers by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2017
- Unskip ollama test and increase timeout by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2064
- Add dependabot yaml by @dadmobile in https://github.com/transformerlab/transformerlab-app/pull/2065
- Bump fast-uri from 3.1.0 to 3.1.2 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2068
- Bump postcss from 8.5.6 to 8.5.14 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2070
- Bump @babel/plugin-transform-modules-systemjs from 7.27.1 to 7.29.4 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2067
- Bump actions/checkout from 4 to 6 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2072
- Fix docs dependabot to make more manageable by @dadmobile in https://github.com/transformerlab/transformerlab-app/pull/2099
- Bump codecov/codecov-action from 5 to 6 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2073
- Bump docker/setup-buildx-action from 3 to 4 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2074
- Bump astral-sh/setup-uv from 4 to 7 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2075
- Bump dompurify from 3.2.6 to 3.4.3 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2098
- Bump actions/setup-node from 4 to 6 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2076
- Bump packaging from 24.1 to 26.2 in /api by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2088
- Bump docker/login-action from 3 to 4 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2100
- Bump actions/setup-python from 5 to 6 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2101
- Bump actions/upload-artifact from 4 to 7 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2102
- Bump cross-env from 7.0.3 to 10.1.0 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2095
- Bump google-cloud-storage from 2.18.2 to 3.10.1 in /api by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2089
- Bump azure-mgmt-compute from 34.1.0 to 38.0.0 in /api by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2087
- Bump eslint-import-resolver-typescript from 3.6.1 to 4.4.4 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2096
- Bump webpack-bundle-analyzer from 4.10.2 to 5.3.0 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2097
- Bump webpack-merge from 5.10.0 to 6.0.1 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2094
- docs-deps(deps): bump lodash from 4.17.21 to 4.18.1 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2104
- docs-deps(deps): bump follow-redirects from 1.15.11 to 1.16.0 in /transformerlab-docs by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2105
- Bump paramiko from 4.0.0 to 5.0.0 in /api by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2084
- Bump aiofiles from 24.1.0 to 25.1.0 in /api by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2085
- Update pydantic requirement from <3.0,>=2.0 to >=2.13.4,<3.0 in /api by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2086
- Bump react-router-dom from 6.30.3 to 7.15.0 by @dependabot[bot] in https://github.com/transformerlab/transformerlab-app/pull/2093
- Bump the
- v0.38.02026-05-13 · 2026-05-13 19:51 UTC
查看更新说明
What's Changed
- Update webpack-dev-server to v5 by @dadmobile in https://github.com/transformerlab/transformerlab-app/pull/1990
- Add azure as a compute provider by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/1934
- Fix caching issue when saving score during lab finish by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/1993
- Add /autoresearch workflow to transformerlab-cli skill by @aliasaria in https://github.com/transformerlab/transformerlab-app/pull/1979
- Add icon for tooltip and modal to show job description by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2001
- Drop pip install transformerlab from task templates by @aliasaria in https://github.com/transformerlab/transformerlab-app/pull/2000
- Fix azure unknown polls field in job data by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/1994
- Add a url search param so job charts open directly through urls by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2007
- Fix error when changing the provider name in task yaml by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2009
- Add a table mode for job charts modal and allow switching metrics by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/1996
- Replace Markdown Editor with MDXEditor for Experiment Notes by @aliasaria in https://github.com/transformerlab/transformerlab-app/pull/2008
- Add llms.txt support to docs site (for-teams section) by @aliasaria in https://github.com/transformerlab/transformerlab-app/pull/2005
- Add total jobs run for Job charts modal by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2006
- Fix provider list table and behaviour in task for selecting provider when name doesnt match by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/1998
- Increase notetaking for autoresearch skill by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2003
- Revamp the experiment list UI by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/1982
- Add profiling options to CLI by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2010
- More playwright fixes by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2011
- Speed up Edit Task modal load by @greninja in https://github.com/transformerlab/transformerlab-app/pull/1945
- Fix experiment notes editor parse error on fenced code blocks by @aliasaria in https://github.com/transformerlab/transformerlab-app/pull/2012
- Allow experiments to be configurable with
--experimentor-eflags by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2013 - Fix fetchWithAuth double-prefix when API_URL is a path prefix by @aliasaria in https://github.com/transformerlab/transformerlab-app/pull/2014
- Improve job list row layout by @aliasaria in https://github.com/transformerlab/transformerlab-app/pull/2018
- perf: parallelize task list metadata reads by @greninja in https://github.com/transformerlab/transformerlab-app/pull/1995
- Support for gcp compute provider by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/1944
- Fix path resolution at storage level by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2021
- Let lab login confirm or edit the server URL by @aliasaria in https://github.com/transformerlab/transformerlab-app/pull/2020
- Remove upload task accepting command field in one place by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/2025
- Remove legacy code to handle old numeric experiment IDs by @dadmobile in https://github.com/transformerlab/transformerlab-app/pull/2024
- installer: use grep instead of rg for DGX Spark detection by @greninja in https://github.com/transformerlab/transformerlab-app/pull/2028
- Fix lab task queue --no-interactive to honor is_def
- v0.37.22026-05-05 · 2026-05-05 19:40 UTC
查看更新说明
What's Changed
- Move agent-skill doc from docs/ to for-teams/ by @dadmobile in https://github.com/transformerlab/transformerlab-app/pull/1992
- fix playwright by @deep1401 in https://github.com/transformerlab/transformerlab-app/pull/1991
Full Changelog: https://github.com/transformerlab/transformerlab-app/compare/v0.37.1...v0.37.2
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
✨ What is Transformer Lab?
Transformer Lab is an open-source machine learning platform that unifies the fragmented AI tooling landscape into a single, elegant interface. It is available in two editions:
👤 For Individuals
Perfect for researchers and hobbyists working on a single machine.
- Local Privacy: No data leaves your machine.
- Full Toolkit: Train, fine-tune, chat, and evaluate models.
- Cross-Platform: Runs natively on macOS (Apple Silicon), Linux, and Windows (WSL2).
- No Cloud Costs: Use your own hardware.
🏢 For Teams
Built for research labs scaling across GPU clusters.
- Unified Orchestration: Submit jobs to Slurm clusters or SkyPilot clouds (AWS, GCP, Azure) from one UI.
- Collaborative: Centralized experiment tracking, model registry, and artifact management.
- Interactive Compute: One-click Jupyter, VSCode, and SSH sessions on remote nodes.
- Resilience: Auto-recovery from checkpoints and spot instance preemption.
🛠️ Key Capabilities
- Universal Support: Download and run Llama 3, DeepSeek, Mistral, Qwen, Phi, and more.
- Inference Engines: Support for MLX, vLLM, Ollama, and HuggingFace Transformers.
- Format Conversion: Seamlessly convert between HuggingFace, GGUF, and MLX formats.
- Chat Interface: Multi-turn chat, batched querying, and function calling support.
- Unified Interface: Train on local hardware or submit tasks to remote clusters using the same UI.
- Methods: Full fine-tuning, LoRA/QLoRA, RLHF (DPO, ORPO, SIMPO), and Reward Modeling.
- Hardware Agnostic: Optimized trainers for Apple Silicon (MLX), NVIDIA (CUDA), and AMD (ROCm).
- Hyperparameter Sweeps: Define parameter ranges in YAML and automatically schedule grid searches.
- Generation: Text-to-Image, Image-to-Image, and Inpainting using Stable Diffusion and Flux.
- Advanced Control: Full support for ControlNets and IP-Adapters.
- Training: Train custom LoRA adaptors on your own image datasets.
- Dataset Management: Auto-caption images using WD14 taggers.
- LLM-as-a-Judge: Use local or remote models to score outputs on bias, toxicity, and faithfulness.
- Benchmarks: Built-in support for EleutherAI LM Evaluation Harness (MMLU, HellaSwag, GSM8K, etc.).
- Red Teaming: Automated vulnerability testing for PII leakage, prompt injection, and safety.
- Plugin System: Extend functionality with a robust Python plugin architecture.
- Lab SDK: Integrate your existing Python training scripts (
import lab) to get automatic logging, progress bars, and artifact tracking. - CLI: Power-user command line tool for submitting tasks and monitoring jobs without a browser.
- Text-to-Speech: Generate speech using Kokoro, Bark, and other state-of-the-art models.
- Training: Fine-tune TTS models on custom voice datasets.
📥 Quick Start
1. Install
curl https://lab.cloud/install.sh | bash
2. Run
cd ~/.transformerlab/src
./run.sh
3. Access
Open your browser to http://localhost:8338.
Requirements
| Platform | Requirements |
|---|---|
| macOS | Apple Silicon (M1/M2/M3/M4) |
| Linux | NVIDIA or AMD GPU |
| Windows | NVIDIA GPU via WSL2 (setup guide) |
🏢 Enterprise & Cluster Setup
Transformer Lab for Teams runs as an overlay on your existing infrastructure. It does not replace your scheduler; it acts as a modern control plane for it.
To configure Transformer Lab to talk to Slurm or SkyPilot:
- Follow the Teams Install Guide.
- Configure your compute providers in the Team Settings.
- Use the CLI (
lab) or Web UI to queue tasks across your cluster.
👩💻 Development
# Requires Node.js v22
npm install
npm start
cd api
./install.sh # Sets up Conda env + Python deps
./run.sh # Start the API server
pip install transformerlab
🤝 Contributing
We are an open-source initiative backed by builders who care about the future of AI research. We welcome contributions! Please check our issues for open tasks.
📄 License
AGPL-3.0 · See LICENSE for details.
📚 Citation
@software{transformerlab,
author = {Asaria, Ali and Salomone, Tony},
title = {Transformer Lab: The Operating System for AI Research},
year = 2023,
url = {https://github.com/transformerlab/transformerlab-app}
}