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

Append to gpu rank log files instead of throwing error #3166

Merged
merged 3 commits into from
Apr 2, 2024

Conversation

jjanezhang
Copy link
Contributor

What does this PR do?

For runs that call composer commands twice, we would error on creating a new log file because an existing log file had already been created on the first composer command. This changes the behavior to append to the existing or write a new file if doesn't exist already.

Testing

Ran a yaml that calls composer twice, verified that logs append
image

@jjanezhang jjanezhang self-assigned this Apr 2, 2024
@jjanezhang jjanezhang marked this pull request as ready for review April 2, 2024 17:41
@jjanezhang jjanezhang requested a review from a team as a code owner April 2, 2024 17:41
Copy link
Contributor

@mvpatel2000 mvpatel2000 left a comment

Choose a reason for hiding this comment

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

Legend

@jjanezhang jjanezhang merged commit 3a0e2b2 into dev Apr 2, 2024
14 checks passed
@jjanezhang jjanezhang deleted the jane/append-log branch April 2, 2024 18:48
j316chuck pushed a commit that referenced this pull request May 16, 2024
* append instead of error

* removed warning

---------

Co-authored-by: Mihir Patel <mihir.v.patel7@gmail.com>
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