-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alcray/autoform refactor #317
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Alexan <[email protected]>
Signed-off-by: Alexan <[email protected]>
Signed-off-by: Alexan <[email protected]>
Signed-off-by: Alexan <[email protected]>
Signed-off-by: Alexan <[email protected]>
Signed-off-by: Alexan <[email protected]>
Signed-off-by: Alexan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small things to fix. Is this good to be merged otherwise or are you planning more changes?
else: | ||
output_file = f"{output_dir}/generation/output.jsonl" | ||
# Fallback to original naming scheme if output_base is not provided |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's just use "output" as default value and then we don't need else part?
@@ -197,7 +211,11 @@ def generate( | |||
"Can provide an experiment name or an experiment object if running from code.", | |||
), | |||
config_dir: str = typer.Option(None, help="Can customize where we search for cluster configs"), | |||
log_dir: str = typer.Option(None, help="Can specify a custom location for slurm logs."), | |||
log_dir: str = typer.Option(None, help="Can specify a custom location for slurm logs. "), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log_dir: str = typer.Option(None, help="Can specify a custom location for slurm logs. "), | |
log_dir: str = typer.Option(None, help="Can specify a custom location for slurm logs."), |
@@ -197,7 +211,11 @@ def generate( | |||
"Can provide an experiment name or an experiment object if running from code.", | |||
), | |||
config_dir: str = typer.Option(None, help="Can customize where we search for cluster configs"), | |||
log_dir: str = typer.Option(None, help="Can specify a custom location for slurm logs."), | |||
log_dir: str = typer.Option(None, help="Can specify a custom location for slurm logs. "), | |||
output_base: str = typer.Option( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe output_prefix? or output_base_name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add it for other generation types as well, so that it's supported in all cases
@@ -0,0 +1,28 @@ | |||
# Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference between this and the previous one?
No description provided.