Skip to content

Commit 663b822

Browse files
authored
Fixed typo in load_adapters that broke adapter loading after a regression in a recent commit. (#583)
load_adapeters -> load_adapters Simple fix, but important.
1 parent f369773 commit 663b822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlx_lm/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def class_predicate(p, m):
237237
return model, config
238238

239239

240-
def load_adapeters(model: nn.Module, adapter_path: str) -> nn.Module:
240+
def load_adapters(model: nn.Module, adapter_path: str) -> nn.Module:
241241
from .tuner.utils import load_adapters as _load_adapters
242242

243243
return _load_adapters(model, adapter_path)

0 commit comments

Comments
 (0)