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

vine: daskvine priority scheduling #3923

Conversation

JinZhou5042
Copy link
Member

Proposed Changes

Give an overall description of the changes, along with the context and motivation.
Mention relevant issues and pull requests as needed.

Merge Checklist

The following items must be completed before PRs can be merge.
Check these off to verify you have completed all steps.

  • make test Run local tests prior to pushing.
  • make format Format source code to comply with lint policies. Note that some lint errors can only be resolved manually (e.g., Python)
  • make lint Run lint on source code prior to pushing.
  • Manual Update Update the manual to reflect user-visible changes.
  • Type Labels Select a github label for the type: bugfix, enhancement, etc.
  • Product Labels Select a github label for the product: TaskVine, Makeflow, etc.
  • PR RTM Mark your PR as ready to merge.

@JinZhou5042 JinZhou5042 self-assigned this Aug 22, 2024
@JinZhou5042 JinZhou5042 marked this pull request as draft August 22, 2024 03:28
@JinZhou5042 JinZhou5042 marked this pull request as ready for review November 18, 2024 18:25
return dependencies

def set_depth(self, key):
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure about this change. Didn't the old way of computing depth worked?

Copy link
Member Author

Choose a reason for hiding this comment

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

@btovar No, the old way didn't give me the right depth.

Copy link
Member

Choose a reason for hiding this comment

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

In which way it didn't work? Do you have an example? Is it a different definition of graph depth?

Copy link
Member Author

@JinZhou5042 JinZhou5042 Nov 19, 2024

Choose a reason for hiding this comment

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

I tested it about 2 months ago, my impression is that the depth of every task in the graph was always 0 or 1 or something fixed, and then I just wrote a new function to calculate the depth.

Copy link
Member

Choose a reason for hiding this comment

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

It did work for me when I was testing checkpoints. Please check again because it may indicate that something else in the code broke. Also, it is a much easier code to follow, which may help with dealing with future bugs.

@JinZhou5042
Copy link
Member Author

I reverted find_dependencies to the original version with one line added after the invocation, though I don't know how that affects the checkpointing.

@btovar
Copy link
Member

btovar commented Nov 19, 2024

Sounds good, thanks!

@JinZhou5042 JinZhou5042 closed this by deleting the head repository Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants