Open Tendo33 opened 1 week ago
I met the same errors and fixed it by changing torch version to 2.4.0
same issue, Liger-Kernel required torch only >= 2.1, how come it need torch version 2.4.0
I met the same errors and fixed it by changing torch version to 2.4.0
I think it's an issue with Liger-Kernel. I started getting the following error after updating torch to 2.4.0:
RuntimeError: mat1 and mat2 must have the same dtype, but got BFloat16 and Float in fused_linear_cross_entropy_forward
Then I found this:https://github.com/linkedin/Liger-Kernel/issues/235
@Tendo33 Hi!Did you fix this problem? I also met this problem!
@Tendo33 Hi!Did you fix this problem? I also met this problem!
Nop, the solution I found requires modifying the Liger-Kernel source code. I'm waiting for them to fix the bug 🤣
Reminder
System Info
Reproduction
Expected behavior
报错信息:
关掉enable_liger_kernel: true之后可以正常训练
Others
No response