Skip to content

Commit

Permalink
Fix the environment variable for launch_arguments (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsolard authored and mfournioux committed Jun 27, 2024
1 parent da46955 commit 845d8b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# LORA_MODULES=None
# CHAT_TEMPLATE=None
# RESPONSE_ROLE="assistant"

# WITH_LAUNCH_ARGUMENTS=false

### Model settings ###

Expand Down
3 changes: 2 additions & 1 deletion src/happy_vllm/utils_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ def get_parser() -> ArgumentParser:
help="The role name to return if "
"`request.add_generation_prompt=true`.")
parser.add_argument("--with-launch-arguments",
action="store_true",
type=bool,
default=application_settings.with_launch_arguments,
help="Whether the route launch_arguments should display the launch arguments")
parser = AsyncEngineArgs.add_cli_args(parser)
return parser
Expand Down

0 comments on commit 845d8b0

Please sign in to comment.