👑 Easy-to-use and powerful NLP and LLM library with 🤗 Awesome model zoo, supporting wide-range of NLP tasks from research to industrial applications, including 🗂Text Classification, 🔍 Neural Search, ❓ Question Answering, ℹ️ Information Extraction, 📄 Document Intelligence, 💌 Sentiment Analysis etc.
在跑llama3-8b的prefix-tuning微调时,开了tp后会报错ValueError: (InvalidArgument) The 2-th dimension of input[0] and input[1] is expected to be equal.But received input[0]'s shape = [1, 128, 16, 128], input[1]'s shape = [1, 249, 4, 128].
[Hint: Expected inputs_dims[0][j] == inputs_dims[i][j], but received inputs_dims[0][j]:16 != inputs_dims[i][j]:4.] (at ../paddle/phi/kernels/funcs/concat_funcs.h:72)
软件环境
重复问题
错误描述
稳定复现步骤 & 代码