{
  "schema_version": "1.0",
  "id": "T-fd36534f6d6f",
  "url": "https://gpuatlas.top/articles/T-fd36534f6d6f/",
  "title": "A100 80G 和 H100 80G，用来做微调应该怎么选？",
  "summary": "A100与H100微调应统一更新方式、有效数据和质量目标，完整训练与恢复时间比峰值算力更适合选型。",
  "language": "zh-Hans",
  "category": {
    "id": "c-12",
    "name": "硬件对比",
    "url": "https://gpuatlas.top/categories/c-12/"
  },
  "topics": [
    {
      "id": "gpu-40bdf2ac9b",
      "name": "A100",
      "kind": "gpu",
      "description": "选择 A100 时怎样结合显存、任务和预算判断？分别查看本地聊天、微调与多人 API 场景的比较。",
      "url": "https://gpuatlas.top/topics/gpu-40bdf2ac9b/"
    },
    {
      "id": "gpu-2ccbb548f9",
      "name": "H100",
      "kind": "gpu",
      "description": "更换 H100 能为当前任务带来什么？从服务和训练的不同需求，比较硬件投入与实际瓶颈。",
      "url": "https://gpuatlas.top/topics/gpu-2ccbb548f9/"
    },
    {
      "id": "task-e33d9598da",
      "name": "微调",
      "kind": "task",
      "description": "让模型适应自己的任务，从训练方式、样本和显存预算入手，最后验证适配器是否真正起效。",
      "url": "https://gpuatlas.top/topics/task-e33d9598da/"
    }
  ],
  "body_text": "A100 80G与H100 80G做微调，先固定模型、更新方式和验证目标。容量相同不表示每一步训练相同，具体板型、平台、精度与框架执行路径都需要记录。\n\nLoRA、QLoRA和全参数更新分别核算权重、可训练状态、激活与缓冲。低位推理支持不能证明反向训练路径可用，长序列和微批量也可能先决定峰值，而非参数规模本身。\n\n用相同真实数据完成前向、反向与更新，统一有效token口径，说明填充、数据读取与检查点是否计入。先观察稳定循环，再测试保存，并用新进程恢复验证，避免只比较一段理想单步时间。\n\n改变精度时检查损失、验证表现和退步样例，速度更快不能代替质量通过。多卡另写互联、分片策略与数据并行副本，不能把另一台服务器的通信结果直接移植。\n\n最后比较达到同一验证质量的完整时间，再使用对应平台实际费用计算成本。保存数据处理、状态设置与恢复条件，明确收益来自执行还是训练方案变化，比仅根据峰值张量算力给固定倍数更便于复用。",
  "published_at": null,
  "modified_at": "2026-11-26T15:17:38.690397+00:00",
  "evidence": {
    "type": "documentation_and_conditional_estimates",
    "hardware_tested": false,
    "note": "资料解释与条件估算，非硬件实测。"
  },
  "sources": [
    {
      "id": "nvidia-a100",
      "url": "https://www.nvidia.com/en-us/data-center/a100/",
      "retrieved_at": "2026-11-25T15:09:17.817692+00:00"
    },
    {
      "id": "nvidia-h100",
      "url": "https://www.nvidia.com/en-us/data-center/h100/",
      "retrieved_at": "2026-11-25T15:08:53.875973+00:00"
    },
    {
      "id": "transformers-training-memory",
      "url": "https://raw.githubusercontent.com/huggingface/transformers/main/docs/source/en/model_memory_anatomy.md",
      "retrieved_at": "2026-11-25T10:16:15.738480+00:00"
    },
    {
      "id": "peft-quantization",
      "url": "https://raw.githubusercontent.com/huggingface/peft/main/docs/source/developer_guides/quantization.md",
      "retrieved_at": "2026-11-25T09:52:45.997121+00:00"
    },
    {
      "id": "torch-fsdp",
      "url": "https://docs.pytorch.org/docs/2.15/fsdp.html",
      "retrieved_at": "2026-11-25T10:21:36.176985+00:00"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-fd36534f6d6f/",
    "json": "https://gpuatlas.top/data/articles/T-fd36534f6d6f.json",
    "markdown": "https://gpuatlas.top/data/articles/T-fd36534f6d6f.md"
  }
}
