Nemotron-H support
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 5/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
调研方向
This is blocked on two things: NVIDIA has not released Nemotron-H architecture details or weights, and Mamba-2 support (#68) is a prerequisite. Before starting, check whether the architecture is public and whether #68 has landed. The issue names no files or tests, so there is no clear entry point. Done would mean an 8B Nemotron-H model loads and trains in BF16 with forward and backward passes tested.
由索引模型根据 Issue 内容生成。
描述
🎯 Goal (What & Why)
Add support for training Nemotron-H models.
Nemotron-H is a family of hybrid SSM-Transformer models (8B, 47B, 56B) trained by NVIDIA in FP8 on 20T tokens. They combine strong accuracy with up to 3x faster inference, making them attractive candidates for instruction tuning, continual pretraining, and up-cycling (e.g., via added layers). NVIDIA plans to release weights and reference implementations (HuggingFace, NeMo, Megatron-LM), but nothing is public yet.
We want to be ready to support Nemotron-H in Fast-LLM once details are available. These models require both Transformer and Mamba-2 layers. The forward and backward pass must be implemented. FP8 support is likely not required for initial work (we'll use BF16), but is tracked separately in #63. Mamba-2 support is tracked in #68 and is a prerequisite for this ticket.
Partially enabled by #242.
🚀 Execution Plan
Step 1: What is the smallest working version?
- Wait for NVIDIA to release architectural details.
- Implement Nemotron-H block structure (interleaved Mamba-2, MLP, and Transformer layers).
- Use BF16 as default precision for now.
- Validate by running short training in Fast-LLM with Nemotron-H-8B or 47B weights (if available).
Step 2: What additional optimizations are possible (but optional)?
- Add support for FP8 training (#63) once the NVIDIA recipe is available and stable.
- Extend support for VLM variants if we decide to do multimodal training.
- Optimize long-context support (128k tokens) once basic functionality is in place.
📌 Acceptance Criteria
- Nemotron-H models (at least 8B) can be loaded and trained in Fast-LLM.
- Both forward and backward passes are implemented and tested.
- Training is functional in BF16.
- Code is documented clearly and includes a usage example.
- Performance/impact summary is provided in the PR.
- FP8 support is not part of this ticket but should not block anything here.
🛠️ Project Management
- Assign the project to the Fast-LLM project.
- Set the
Estimatefield (in days) in the GitHub project. - Use the
Sizefield to categorize the PR size (Small/Medium/Large). - Assign an owner when opening the issue.
- 主要语言
- Python
- 星标
- 337
- 派生
- 52
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ServiceNow/Fast-LLM 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 25/100
ServiceNow/Fast-LLM#556 ·
-
难度 4/5 3-5 天 新手友好度 30/100
ServiceNow/Fast-LLM#538 ·
-
enhancement
难度 5/5 一周以上 新手友好度 12/100
ServiceNow/Fast-LLM#533 ·
-
难度 5/5 一周以上 新手友好度 15/100
ServiceNow/Fast-LLM#510 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 12/100
ServiceNow/Fast-LLM#507 ·
查看 ServiceNow/Fast-LLM 的全部 Issue
相似的 Issue
-
Status: Triage Type: Quest
难度 2/5 1-3 小时 新手友好度 66/100
GTNewHorizons/GT-New-Horizons-Modpack#27490 ·
维护者通常 1 天内回复
-
Bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
retentioneering/retentioneering-tools#231 ·
维护者通常 1 天内回复
-
backend bug documentation
难度 2/5 1-3 小时 新手友好度 78/100
geolens-io/geolens#3568 ·
维护者通常 1 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 88/100
mprov-ng/mprov_control_center#450 ·
维护者通常 1 天内回复