beta2 is actually accessible in kOptimizerStatic8bit1StateBlockwise
This commit is contained in:
parent
19b9ef34b9
commit
abbe65adfc
|
@ -1712,8 +1712,7 @@ kOptimizerStatic8bit1StateBlockwise(T* p, T* __restrict__ const g, unsigned char
|
|||
s1_vals[j] = (s1_vals[j]*beta1) + g_val;
|
||||
break;
|
||||
case LION:
|
||||
// using eps as beta2
|
||||
s1_vals[j] = s1_vals[j]*eps + ((1.0f-eps)*g_val);
|
||||
s1_vals[j] = s1_vals[j]*beta2 + ((1.0f-beta2)*g_val);
|
||||
break;
|
||||
case RMSPROP:
|
||||
s1_vals[j] = s1_vals[j]*beta1 + ((1.0f-beta1)*(g_val*g_val));
|
||||
|
|
Loading…
Reference in New Issue
Block a user