Skip to content
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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Alcray/autoform refactor #317

wants to merge 11 commits into from

Conversation

Alcray
Copy link
Collaborator

@Alcray Alcray commented Jan 17, 2025

No description provided.

Copy link
Collaborator

@Kipok Kipok left a 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
Copy link
Collaborator

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. "),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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(
Copy link
Collaborator

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?

Copy link
Collaborator

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.
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants