moved labels to the same device as logits for OTP, CODEGEN ,gptj and pixel2struct model (#22872)
* moved labels to the same device as logits for OTP model * moved labels to the same device as logits for CODEGEN model * Update modeling_codegen.py * moved labels to the same device as logits for gptj and pix2struct model * Update modeling_pix2struct.py
Showing
Please register or sign in to comment