Skip to content

Commit

Permalink
Correct flags
Browse files Browse the repository at this point in the history
  • Loading branch information
cg123 committed Jan 3, 2024
1 parent 18ecdf2 commit 1ef73cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions mergekit/scripts/bakllama.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class BakllamaConfig(BaseModel):
@click.option(
"--clone-tensors/--no-clone-tensors",
type=bool,
is_flag=True,
help="Clone tensors before saving, to allow multiple occurrences of the same layer",
default=False,
)
Expand Down
8 changes: 5 additions & 3 deletions mergekit/scripts/run_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@


@click.command("mergekit-yaml")
@click.argument("config_file") # , help="YAML configuration file")
@click.argument("out_path") # , help="Path to write result model")
@click.option("--verbose", "-v", type=bool, default=False, help="Verbose logging")
@click.argument("config_file")
@click.argument("out_path")
@click.option(
"--verbose", "-v", type=bool, default=False, is_flag=True, help="Verbose logging"
)
@add_merge_options
def main(
merge_options: MergeOptions,
Expand Down

0 comments on commit 1ef73cb

Please sign in to comment.