We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3.8,环境同requirements.txt 当使用多个gpu训练时候,会报错 RuntimeError: Input tensor at index 2 has invalid shape [2, 10, 12, 1024, 64], but expected [2, 11, 12, 1024, 64]
出错行显示在模型推理那行 outputs = model.forward(input_ids=batch_inputs, labels=batch_inputs)
这就很奇怪了,明明input_ids和labels完全是一个东西,却会报shape invalid
尝试性用了单gpu,发现代码能跑了
试了一些常规方法,没发现问题原因
The text was updated successfully, but these errors were encountered:
No branches or pull requests
python3.8,环境同requirements.txt
当使用多个gpu训练时候,会报错
RuntimeError: Input tensor at index 2 has invalid shape [2, 10, 12, 1024, 64], but expected [2, 11, 12, 1024, 64]
出错行显示在模型推理那行
outputs = model.forward(input_ids=batch_inputs, labels=batch_inputs)
这就很奇怪了,明明input_ids和labels完全是一个东西,却会报shape invalid
尝试性用了单gpu,发现代码能跑了
试了一些常规方法,没发现问题原因
The text was updated successfully, but these errors were encountered: