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

Commit 76895cc

Browse files
committed
Declare distribution_path if args.model is not given
1 parent d5bca9b commit 76895cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchchat/cli/builder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def from_args(cls, args: argparse.Namespace) -> "BuilderArgs":
116116

117117
checkpoint_path = args.checkpoint_path
118118
params_table = args.params_table
119+
distribution_path = None
119120
if args.model: # Using a named, well-known model
120121
model_config = resolve_model_config(args.model)
121122

0 commit comments

Comments
 (0)