Skip to content

Commit c95013d

Browse files
committed
Whitespace formatting fixes.
1 parent 71d8bd6 commit c95013d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

convert-hf-to-gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1516,6 +1516,7 @@ def write_tensors(self):
15161516
if len(experts) > 0:
15171517
raise ValueError(f"Unprocessed experts: {experts.keys()}")
15181518

1519+
15191520
@Model.register("ArcticForCausalLM")
15201521
class ArcticModel(Model):
15211522
model_arch = gguf.MODEL_ARCH.ARCTIC
@@ -1629,7 +1630,6 @@ def write_tensors(self):
16291630
raise ValueError(f"Unprocessed experts: {experts.keys()}")
16301631

16311632

1632-
16331633
@Model.register("GrokForCausalLM")
16341634
class GrokModel(Model):
16351635
model_arch = gguf.MODEL_ARCH.GROK

gguf-py/gguf/tensor_mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ class TensorNameMap:
427427
MODEL_TENSOR.FFN_NORM_EXP: (
428428
"model.layers.{bid}.post_attention_layernorm",
429429
),
430-
},
430+
},
431431
}
432432

433433
mapping: dict[str, tuple[MODEL_TENSOR, str]]

0 commit comments

Comments
 (0)