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

Added should_dump_supplementary_log_files option #291

Merged

Conversation

mski-iksm
Copy link
Contributor

@mski-iksm mski-iksm commented Jul 2, 2022

[What]
TaskOnKart.should_dump_supplementary_log_files is an option to control whether to dump supplementary files (task_log, random_seed, task_params, processing_time, module_versions) or not. Default is True, which means to dump as before.

[Why]
When each task runs, they will make 1 or more output files as defined in task.run(). Besides, 5 supplementary files (task_log, random_seed, task_params, processing_time, module_versions) will also be dumped.
When using cloud data storage and running a large number of tasks, number of files will affect the price for data processing. This option will skip the dumping process of supplementary files to keep the price low.

Please review.

@hirosassa hirosassa enabled auto-merge (squash) July 2, 2022 10:21
@hirosassa hirosassa disabled auto-merge July 2, 2022 10:21
Copy link
Collaborator

@hirosassa hirosassa left a comment

Choose a reason for hiding this comment

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

@mski-iksm
Copy link
Contributor Author

@hirosassa Thanks for the comment. I've added a document!

@mski-iksm mski-iksm requested a review from hirosassa July 4, 2022 11:23
Copy link
Collaborator

@hirosassa hirosassa left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@kitagry kitagry left a comment

Choose a reason for hiding this comment

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

LGTM

@hirosassa hirosassa merged commit c5376e6 into m3dev:master Jul 5, 2022
@hirosassa
Copy link
Collaborator

@mski-iksm Thanks again for your contribution!

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.

3 participants