Skip to content

GLM4-9B-chat模型推理报错 #4917

@shatang123

Description

@shatang123

Reminder

  • I have read the README and searched the existing issues.

System Info

llamafactory version: 0.8.4.dev0

  • Platform: Linux-3.10.0-1127.19.1.el7.x86_64-x86_64-with-glibc2.17
  • Python version: 3.10.9
  • PyTorch version: 2.3.1+cu121 (GPU)
  • Transformers version: 4.41.2
  • Datasets version: 2.20.0
  • Accelerate version: 0.32.1
  • PEFT version: 0.11.1
  • TRL version: 0.9.6
  • GPU type: NVIDIA A100-SXM4-80GB

Reproduction

代码版本:LLaMA-Factory代码和GLM4-9B-chat模型是7-21日拉取的。
报错日志:too many values to unpack (expected 2)
image

依赖版本
transformers==4.41.2
image

目前GLM4-9B-chat官方仓库中要求transformers==4.42.4,而LLaMA-Factory安装该版本后提示版本不兼容
image

目前不知道如何解决

Expected behavior

No response

Others

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    solvedThis problem has been already solved

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions