{
  "schema_version": "1.0",
  "id": "T-adce090991d2",
  "url": "https://gpuatlas.top/articles/T-adce090991d2/",
  "title": "3090 24G 和 4090 24G，用来做微调应该怎么选？",
  "summary": "3090与4090微调先确认24G容量是否足够，再统一有效数据和完整训练循环比较时间与质量。",
  "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 4090微调，先判断任务是否卡在24G容量。两卡参考显存相同，换代可能改变执行效率，不能直接获得更大的标称空间，长期容量失败应重新核对训练方式或资源范围。\n\n比较时固定基础模型、LoRA或QLoRA配置、长度、微批量、累积和数据。每步秒数不够，要统一有效token与损失范围，避免一套只是截短回答或增加填充却被误算更快。\n\n注意力、低位和训练扩展按实际版本核对，推理支持不代替反向路径。先用代表样本完成前向、反向与更新，观察每阶段峰值，再评估、保存并新进程恢复。\n\n固定未见任务检查收益和退步，比较达到同一质量的完整时间，数据读取、通信和检查点也要纳入。量化、长度或更新范围改变时标成新方案，不能把所有差异算硬件加速。\n\n已有3090且能稳定完成实验时，可用同一批数据比较4090节省的完整训练时间，连同保存与恢复一起计入。若原任务始终在24G边界失败，先说明要改变哪项训练条件，再考虑硬件。购置还需核对整机、散热、供电与设备状态，原失败样本和有效配置则留作复查依据。",
  "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": "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": "flashattention",
      "url": "https://raw.githubusercontent.com/Dao-AILab/flash-attention/main/README.md",
      "retrieved_at": "2026-11-25T10:07:29.175278+00:00"
    }
  ],
  "revision_note": "完善阅读结构；非硬件实测。",
  "representations": {
    "html": "https://gpuatlas.top/articles/T-adce090991d2/",
    "json": "https://gpuatlas.top/data/articles/T-adce090991d2.json",
    "markdown": "https://gpuatlas.top/data/articles/T-adce090991d2.md"
  }
}
