Skip to content

Commit 2525e37

Browse files
committed
Update lora.py
1 parent 914c0b8 commit 2525e37

File tree

1 file changed

+3
-3
lines changed
  • autointent/modules/scoring/_lora

1 file changed

+3
-3
lines changed

autointent/modules/scoring/_lora/lora.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(
2525
batch_size: int = 8,
2626
learning_rate: float = 5e-5,
2727
seed: int = 0,
28-
report_to: REPORTERS_NAMES | None = None, # type: ignore[no-any-return]
28+
report_to: REPORTERS_NAMES | None = None, # type: ignore[valid-type]
2929
**lora_kwargs: dict[str, Any],
3030
) -> None:
3131
super().__init__(
@@ -34,9 +34,9 @@ def __init__(
3434
batch_size=batch_size,
3535
learning_rate=learning_rate,
3636
seed=seed,
37-
report_to=report_to, # type: ignore[no-any-return]
37+
report_to=report_to,
3838
)
39-
self._lora_config = LoraConfig(**lora_kwargs)
39+
self._lora_config = LoraConfig(**lora_kwargs) # type: ignore[valid-type]
4040

4141
@classmethod
4242
def from_context(

0 commit comments

Comments
 (0)