New issue
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
RuntimeError: cannot pin 'CUDABFloat16Type' only dense CPU tensors can be pinned #5472
Comments
@cooper12121, please share repro steps, such as scripts, full stack trace, and ds_config. |
I use transformers' Trainer to train my model, Here is the full error report:
This error occurred when I added the following code to .py file:
my deepspeed zero3 configs are as follows:
my packages version are as follows:
my OS and machine informations are as follows:
|
Describe the bug
when i use deepspeed zero3 to train model ,i meet this problem ,can someone help me?
The text was updated successfully, but these errors were encountered: