-
Notifications
You must be signed in to change notification settings - Fork 149
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
Add dynamic DAG #317
Merged
Merged
Add dynamic DAG #317
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
|
Spycsh
requested review from
lvliang-intel,
zehao-intel,
letonghan and
chensuyue
and removed request for
zehao-intel and
lvliang-intel
July 17, 2024 05:22
for more information, see https://pre-commit.ci
lvliang-intel
approved these changes
Jul 17, 2024
chensuyue
approved these changes
Jul 17, 2024
xuechendi
pushed a commit
to xuechendi/GenAIComps
that referenced
this pull request
Jul 18, 2024
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
xuechendi
pushed a commit
that referenced
this pull request
Jul 18, 2024
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: Chendi.Xue <[email protected]>
3 tasks
dwhitena
pushed a commit
to predictionguard/GenAIComps
that referenced
this pull request
Jul 24, 2024
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: Daniel Whitenack <[email protected]>
berkecanrizai
pushed a commit
to berkecanrizai/GenAIComps
that referenced
this pull request
Jul 29, 2024
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: Berke <[email protected]>
berkecanrizai
pushed a commit
to berkecanrizai/GenAIComps
that referenced
this pull request
Jul 29, 2024
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: Berke <[email protected]>
lkk12014402
pushed a commit
that referenced
this pull request
Aug 8, 2024
* Refactor Translation Example Signed-off-by: zehao-intel <[email protected]> * support e2s test Signed-off-by: zehao-intel <[email protected]> Signed-off-by: zehao-intel <[email protected]> Signed-off-by: zehao-intel <[email protected]> Signed-off-by: zehao-intel <[email protected]> * fix test ip_address Signed-off-by: zehao-intel <[email protected]> * update test scripts Signed-off-by: chensuyue <[email protected]> * update test scripts Signed-off-by: chensuyue <[email protected]> * for test Signed-off-by: chensuyue <[email protected]> * fix readme and dockerfile Signed-off-by: zehao-intel <[email protected]> * revert test code Signed-off-by: chensuyue <[email protected]> * remove gaudi test update Signed-off-by: chensuyue <[email protected]> * bug fix Signed-off-by: chensuyue <[email protected]> * fix test xeon Signed-off-by: zehao-intel <[email protected]> * modify mega check Signed-off-by: zehao-intel <[email protected]> Signed-off-by: zehao-intel <[email protected]> Signed-off-by: zehao-intel <[email protected]> * fix ui Signed-off-by: zehao-intel <[email protected]> * fix ut network Signed-off-by: zehao-intel <[email protected]> * fix network Signed-off-by: zehao-intel <[email protected]> * Modify the corresponding format according to the backend new structure. (#317) * Add image build job in docker compose e2e gaudi test in CI (#305) Signed-off-by: Yingchun Guo <[email protected]> * Add gpu support for ChatQnA (#308) * add gpu support for chatqna Signed-off-by: Ding, Ke <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Ding, Ke <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Update ChatQnA for Xeon docker_compose.yaml to fix downloads failing (#310) * Update docker_compose * Updated docker_compose * Updated docker_compose * Add build docker image option for test scripts (#312) Signed-off-by: chensuyue <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Yingchun Guo <[email protected]> Signed-off-by: Ding, Ke <[email protected]> Signed-off-by: chensuyue <[email protected]> Signed-off-by: WenjiaoYue <[email protected]> Co-authored-by: Ying Chun Guo <[email protected]> Co-authored-by: Ke Ding <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steve Fowler <[email protected]> Co-authored-by: chen, suyue <[email protected]> --------- Signed-off-by: zehao-intel <[email protected]> Signed-off-by: chensuyue <[email protected]> Signed-off-by: Yingchun Guo <[email protected]> Signed-off-by: Ding, Ke <[email protected]> Signed-off-by: WenjiaoYue <[email protected]> Co-authored-by: chen, suyue <[email protected]> Co-authored-by: WenjiaoYue <[email protected]> Co-authored-by: Ying Chun Guo <[email protected]> Co-authored-by: Ke Ding <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steve Fowler <[email protected]> Co-authored-by: lvliang-intel <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
For more complex data flow, we can use dynamic DAG to orchestrate. For example, guardrails may detect a violence prompt and refused to answer earlier in the flow so it will directly return the prompt, rather than keep forwarding to other microservices. In this case, the pre-defined DAG graph need to be modified at runtime, that is where a dynamic DAG is needed.
By simply specifying the black nodes
downstream_black_list=['.*']
, the orchestrator will know that any nodes matched the pattern.*
will be in the black list: just do not forwarding to them. In that case. GuardRails will instead become the leave node in the runtime graph so its result will be returned as the final result.Issues
n/a
Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
None
Tests
add a test and all tests are refactored
tests/cores/mega/test_runtime_graph.py