Skip to content

Commit

Permalink
fix help description
Browse files Browse the repository at this point in the history
  • Loading branch information
dsikka committed Sep 13, 2023
1 parent 7ebe6c0 commit 4530421
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/sparsify/auto/tasks/transformers/llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
from sparsify.auto.tasks.transformers import TransformersExportArgs


_LOGGER = logging.getLogger(__name__)
_LOGGER = logging.getLogger()
_LOGGER.setLevel(logging.INFO)


@click.command()
Expand All @@ -32,15 +33,15 @@
)
@click.option(
"--sequence_length",
default=384,
default=2048,
type=int,
help="Path to directory to store checkpoints",
help="Sequence length to use. Defaults to 2048.",
)
@click.option(
"--onnx_file_name",
default="model.onnx",
type=str,
help="Name of the exported model",
help="Name of the exported model. Defaults to model.onnx",
)
def llama_export(model_path: str, sequence_length: int, onnx_file_name: str):
export_args = TransformersExportArgs(
Expand Down

0 comments on commit 4530421

Please sign in to comment.