{
  "schema_version": "1.0",
  "id": "T-2931fe09ab79",
  "url": "https://gpuatlas.top/articles/T-2931fe09ab79/",
  "title": "双 3090 和单 5090，用来做微调应该怎么选？",
  "summary": "双3090与单5090微调按更新方式、分片支持和真实序列预算选择，不能直接比较48G与32G总量。",
  "language": "zh-Hans",
  "category": {
    "id": "c-12",
    "name": "硬件对比",
    "url": "https://gpuatlas.top/categories/c-12/"
  },
  "topics": [
    {
      "id": "task-e33d9598da",
      "name": "微调",
      "kind": "task",
      "description": "让模型适应自己的任务，从训练方式、样本和显存预算入手，最后验证适配器是否真正起效。",
      "url": "https://gpuatlas.top/topics/task-e33d9598da/"
    }
  ],
  "body_text": "双RTX 3090与单RTX 5090做微调，先确定LoRA、QLoRA还是全参数更新。双3090各24G，单5090为32G，普通数据并行并不自动分摊全部状态，不能用48比32直接决定可训练规模。\n\n若目标训练在32G内完整通过，可以先建立单卡基线，减少分布式配置变量；这只是复杂度判断，不是速度排名。单卡不足时，再确认FSDP、ZeRO或其他受支持切分，并观察每卡真实峰值。\n\nLoRA减少可训练参数，QLoRA还压缩基础权重，但激活仍受长度和微批量影响。用处理后的真实样本完成前向、反向和更新，再保存并新进程恢复，避免短样本一步通过掩盖后续失败。\n\n双卡核对插槽通道、互联与通信后端，不因同型号就假定所有条件可用。5090则检查驱动、训练扩展和实际反向内核，设备被识别不能代替完整执行。\n\n长样本在单5090上反向失败，首先要分清是激活还是其他状态超预算，再评估双3090的受支持分片，不能只凭总显存换方案。比较时统一模型、有效批量与数据口径，将通信、保存和恢复计入完整时间，最终看哪套达到同一验证质量，并保留分片配置。",
  "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-geforce-specs",
      "url": "https://www.nvidia.com/en-us/geforce/graphics-cards/compare/",
      "retrieved_at": "2026-11-25T10:34:57.629275+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"
    },
    {
      "id": "deepspeed-zero",
      "url": "https://deepspeed.readthedocs.io/en/latest/zero3.html",
      "retrieved_at": "2026-11-25T10:21:36.176985+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"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-2931fe09ab79/",
    "json": "https://gpuatlas.top/data/articles/T-2931fe09ab79.json",
    "markdown": "https://gpuatlas.top/data/articles/T-2931fe09ab79.md"
  }
}
