Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit d7a4a55

Browse files
committed
Ok can't remove import lm_eval. Move it inside eval condition
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent 4778332 commit d7a4a55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchchat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282

8383
generate_main(args)
8484
elif args.command == "eval":
85+
import lm_eval # noqa
8586
from torchchat.usages.eval import main as eval_main
8687

8788
eval_main(args)

0 commit comments

Comments
 (0)