-
Notifications
You must be signed in to change notification settings - Fork 466
pass in model_name_or_path that is only augusta and it works
#1183
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
base: main
Are you sure you want to change the base?
Changes from all commits
98e7976
ee3ffb4
622d99a
e461f72
9f136a9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1103,7 +1103,8 @@ def download_from_hf(model_name_or_path: str, revision: str) -> None: | |
| return output | ||
|
|
||
|
|
||
| def download_from_gs_bucket(src_path: str, dest_path: str) -> None: | ||
| def download_from_gs_bucket(src_paths: list[str], dest_path: str) -> None: | ||
| os.makedirs(dest_path, exist_ok=True) | ||
| cmd = [ | ||
| "gsutil", | ||
| "-o", | ||
|
|
@@ -1113,9 +1114,9 @@ def download_from_gs_bucket(src_path: str, dest_path: str) -> None: | |
| "-m", | ||
| "cp", | ||
| "-r", | ||
| src_path, | ||
| dest_path, | ||
| ] | ||
| cmd.extend(src_paths) | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add some tests here? Let's mock
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. multiple prompts but I think its good |
||
| cmd.append(dest_path) | ||
| print(f"Downloading from GS bucket with command: {cmd}") | ||
| live_subprocess_output(cmd) | ||
|
|
||
|
|
||
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.
Bug: Incorrect attribute name causes AttributeError at runtime
The code accesses
args.auto_output_dirbut the argument is defined as--auto_output_dir_path, meaning the correct attribute name isargs.auto_output_dir_path. Other parts of the codebase correctly useargs.auto_output_dir_path. This typo will cause anAttributeErrorwhen this code path executes.