Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed May 7, 2024
1 parent f9f280a commit 4830506
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions litgpt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ def save_hyperparameters(function: callable, checkpoint_dir: Path) -> None:
("finetune", "lora"),
("finetune", "adapter"),
("finetune", "adapter_v2"),
("finetune",),
("pretrain",),
]
for known_command in known_commands:
Expand Down
1 change: 1 addition & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ def _test_function2(out_dir: Path, foo: bool = False, bar: int = 1):
"command",
[
"any.py",
"litgpt finetune",
"litgpt finetune full",
"litgpt finetune lora",
"litgpt finetune adapter",
Expand Down

0 comments on commit 4830506

Please sign in to comment.