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

Fix custom dir path passed to Flower client supernode subprocess #3168

Merged

Conversation

taleinat
Copy link
Contributor

@taleinat taleinat commented Jan 23, 2025

Fixes #3169.

Description

Since the supernode is started with its current working directory set to the client app dir, if the custom directory is not an absolute path, it needs to be passed relative to the app dir.

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Quick tests passed locally by running ./runtest.sh.
  • In-line docstrings updated.
  • Documentation updated.

Since the supernode is started with its current working directory set to the
client app dir, if the custom directory is not an absolute path, it needs to
be made relative to the app dir.
Copy link
Collaborator

@yanchengnv yanchengnv 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
Collaborator

@YuanTingHsieh YuanTingHsieh left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@YuanTingHsieh
Copy link
Collaborator

/build

@ZiyueXu77
Copy link
Collaborator

/build

@ZiyueXu77 ZiyueXu77 merged commit 67cbdf8 into NVIDIA:main Jan 23, 2025
20 checks passed
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.

[BUG] Running a Flower app as a Flare job fails due to bad path to custom dir
4 participants