Skip to content

[BUG] <title>在llamafactory上微调 minicpm o 4.5 报错 'MiniCPMO' object has no attribute 'all_tied_weights_keys' #1087

@pujiayue

Description

@pujiayue

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

Image 请问在llamafactory上微调 minicpm o 4.5, template 用的是 minicpm_v 报错AttributeError: 'MiniCPMO' object has no attribute 'all_tied_weights_keys'. Did you mean: '_tied_weights_keys'?是什么原因呀?llamafactory用的是0.9.5.dev0

期望行为 | Expected Behavior

No response

复现方法 | Steps To Reproduce

No response

运行环境 | Environment

- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions