Skip to content

Commit fbe0e22

Browse files
committed
Cleanup more debug stuff and flake / editorconfig errors
1 parent 29de86b commit fbe0e22

File tree

7 files changed

+60
-1085
lines changed

7 files changed

+60
-1085
lines changed

common/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ struct common_params {
398398

399399
ggml_type cache_type_k = GGML_TYPE_F16; // KV cache data type for the K
400400
ggml_type cache_type_v = GGML_TYPE_F16; // KV cache data type for the V
401-
401+
402402
bool dump_cache = false; // dump cache statistics after each token
403403

404404
common_conversation_mode conversation_mode = COMMON_CONVERSATION_MODE_AUTO;

convert_hf_to_gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3875,7 +3875,7 @@ def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iter
38753875
data_torch = data_torch.squeeze()
38763876
elif name.endswith("norm.weight") and not name.endswith("linear_attn.norm.weight"):
38773877
data_torch = data_torch + 1
3878-
3878+
38793879
yield from Qwen2MoeModel.modify_tensors(self, data_torch, name, bid)
38803880

38813881

0 commit comments

Comments
 (0)