Update rope dtype config (#13037)
This commit is contained in:
@@ -221,7 +221,7 @@ def get_rope_scaling(config):
|
|||||||
"attn_factor": attn_factor,
|
"attn_factor": attn_factor,
|
||||||
"beta_fast": beta_fast,
|
"beta_fast": beta_fast,
|
||||||
"beta_slow": beta_slow,
|
"beta_slow": beta_slow,
|
||||||
"dtype": torch.float,
|
"dtype": torch.bfloat16,
|
||||||
}
|
}
|
||||||
return rope_scaling
|
return rope_scaling
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user