Skip to content
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: "nll_loss_out_frame" not implemented for 'Half' #387

Open
Li-Jicheng opened this issue Jun 28, 2024 · 2 comments
Open

RuntimeError: "nll_loss_out_frame" not implemented for 'Half' #387

Li-Jicheng opened this issue Jun 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Li-Jicheng
Copy link

https://colab.research.google.com/github/shibing624/MedicalGPT/blob/main/run_training_dpo_pipeline.ipynb#scrollTo=J5kYehpzESyt (run_training_dpo_pipeline.ipynb)这个脚本时,pretrain阶段报错

截屏2024-06-28 17 16 41 截屏2024-06-28 17 16 58
@Li-Jicheng Li-Jicheng added the bug Something isn't working label Jun 28, 2024
@shibing624
Copy link
Owner

去掉--fp16, 设置 --torch_dtype auto

@Li-Jicheng
Copy link
Author

去掉--fp16, 设置 --torch_dtype auto

感谢回复,操作后依然报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants