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

[Job] Support DAG execution by replacing is_chain with is_dag check #4186

Merged
merged 4 commits into from
Oct 26, 2024

Conversation

andylizf
Copy link
Contributor

@andylizf andylizf commented Oct 26, 2024

Replace is_chain() with is_dag() check to:

  1. Enable future DAG execution support

  2. Validate DAG structure before job launch

           Also, Lets create another PR to check the inputt graph is a connected DAG?
    

Originally posted by @cblmemo in #4128 (comment)

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below)
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: conda deactivate; bash -i tests/backward_compatibility_tests.sh

@andylizf
Copy link
Contributor Author

@cblmemo PTAL, thanks!

@andylizf andylizf force-pushed the check-dag branch 2 times, most recently from 0c8f458 to 9fabb1f Compare October 26, 2024 04:57
sky/jobs/core.py Outdated Show resolved Hide resolved
sky/dag.py Outdated Show resolved Hide resolved
@cblmemo cblmemo merged commit 45a5b81 into skypilot-org:advanced-dag Oct 26, 2024
18 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.

2 participants