mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix ntk alpha
This commit is contained in:
@@ -430,6 +430,7 @@ class model_backend(InferenceModel):
|
||||
self.model_config.max_seq_len = parameters["max_ctx"]
|
||||
self.model_config.compress_pos_emb = parameters["compress_emb"]
|
||||
self.model_config.alpha_value = parameters["ntk_alpha"]
|
||||
self.model_config.calculate_rotary_embedding_base()
|
||||
|
||||
# Disable half2 for HIP
|
||||
self.model_config.rmsnorm_no_half2 = bool(torch.version.hip)
|
||||
|
Reference in New Issue
Block a user