# LeRobot微调lingbot_va_base报错缺失adapter_config.json

> 原文链接：https://robotics.hellobike.com/pitfalls/2026-10-26-lerobot-3975
> 频道：pitfalls | 更新日期：2026-10-26 | 标签：auto, github-issue, lerobot
> 核心摘要：LeRobot 0.6.1微调lingbot_va_base时误将基座模型识别为PEFT适配器致训练失败，维护者建议验证PR #4144修复。

# LeRobot微调lingbot_va_base报错缺失adapter_config.json

::: v-pre
> 本文由 AI 根据公开内容整理，可能有误，请以原文为准：[[Bug] LingBot-VA LoRA fine-tuning with lerobot/lingbot_va_base fails because it is treated as a PEFT adapter](https://github.com/huggingface/lerobot/issues/3975)（GitHub huggingface/lerobot #3975）

**状态**：有绕过办法

## 问题

使用 `accelerate launch` 配合 `--policy.use_peft=true` 对 `lerobot/lingbot_va_base` 进行 LoRA 微调时，框架错误地将基座模型仓库当作 PEFT adapter 处理，尝试加载不存在的 `adapter_config.json` 文件导致训练中断。

## 环境

LeRobot 0.6.1 (main分支源码安装), Python 3.12, Linux, 双卡multi_gpu模式, 数据集G1_Dex3_PickBottle_Dataset

## 解决办法

1. 确认当前 LeRobot 版本为 0.6.1 main 分支且通过源码安装。
2. 查阅并应用 GitHub PR #4144 中的代码修改以修正基座模型与 PEFT adapter 的加载逻辑判断。
3. 重新执行 `accelerate launch` 命令验证 `lerobot/lingbot_va_base` 的 LoRA 微调流程是否恢复正常。

讨论原作者：@Ren-aptx 等，版权归原作者所有。
:::

## 原始参考来源 (Sources)

- [GitHub huggingface/lerobot #3975：[Bug] LingBot-VA LoRA fine-tuning with lerobot/lingbot_va_base fails because it is treated as a PEFT adapter](https://github.com/huggingface/lerobot/issues/3975)