Skip to content

Commit

Permalink
Remove generate/lora (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Mar 15, 2024
1 parent cede554 commit f13102d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 206 deletions.
2 changes: 0 additions & 2 deletions litgpt/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from litgpt.generate.adapter_v2 import main as generate_adapter_v2_fn
from litgpt.generate.base import main as generate_base_fn
from litgpt.generate.full import main as generate_full_fn
from litgpt.generate.lora import main as generate_lora_fn
from litgpt.generate.sequentially import main as generate_sequentially_fn
from litgpt.generate.tp import main as generate_tp_fn
from litgpt.pretrain import setup as pretrain_fn
Expand Down Expand Up @@ -55,7 +54,6 @@ def main() -> None:
"help": "Generate text samples based on a model and tokenizer.",
"base": {"fn": generate_base_fn, "help": "Default generation option."},
"full": {"fn": generate_full_fn, "help": "For models finetuned with `litgpt finetune full`."},
"lora": {"fn": generate_lora_fn, "help": "For models finetuned with `litgpt finetune lora`."},
"adapter": {"fn": generate_adapter_fn, "help": "For models finetuned with `litgpt finetune adapter`."},
"adapter_v2": {
"fn": generate_adapter_v2_fn,
Expand Down
136 changes: 0 additions & 136 deletions litgpt/generate/lora.py

This file was deleted.

68 changes: 0 additions & 68 deletions tests/test_generate_lora.py

This file was deleted.

0 comments on commit f13102d

Please sign in to comment.