convert-hf : flake8 linter doesn't like semicolons
This commit is contained in:
parent
cde9ea65e8
commit
56f60f5d69
1 changed files with 1 additions and 2 deletions
|
@ -1080,7 +1080,6 @@ class StableLMModel(Model):
|
|||
n_head = self.hparams["num_attention_heads"]
|
||||
n_kv_head = self.hparams["num_key_value_heads"]
|
||||
|
||||
|
||||
if name.find("q_layernorm.norms") != -1:
|
||||
assert bid is not None
|
||||
|
||||
|
@ -1366,7 +1365,7 @@ class DbrxModel(Model):
|
|||
def extra_f16_tensors(self, name: str, new_name: str, bid: int | None, n_dims: int) -> bool:
|
||||
del name, new_name, bid # unused
|
||||
|
||||
return n_dims > 1;
|
||||
return n_dims > 1
|
||||
|
||||
|
||||
@Model.register("MiniCPMForCausalLM")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue