Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
b2aa2317
Unverified
Commit
b2aa2317
authored
May 08, 2025
by
julienmancuso
Committed by
GitHub
May 08, 2025
Browse files
feat: deploy planner in operator (#921)
Co-authored-by:
mohammedabdulwahhab
<
furkhan324@berkeley.edu
>
parent
57975b27
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
0 deletions
+24
-0
examples/llm/configs/agg.yaml
examples/llm/configs/agg.yaml
+4
-0
examples/llm/configs/agg_router.yaml
examples/llm/configs/agg_router.yaml
+4
-0
examples/llm/configs/disagg.yaml
examples/llm/configs/disagg.yaml
+4
-0
examples/llm/configs/disagg_router.yaml
examples/llm/configs/disagg_router.yaml
+4
-0
examples/llm/graphs/agg.py
examples/llm/graphs/agg.py
+2
-0
examples/llm/graphs/agg_router.py
examples/llm/graphs/agg_router.py
+2
-0
examples/llm/graphs/disagg.py
examples/llm/graphs/disagg.py
+2
-0
examples/llm/graphs/disagg_router.py
examples/llm/graphs/disagg_router.py
+2
-0
No files found.
examples/llm/configs/agg.yaml
View file @
b2aa2317
...
@@ -36,3 +36,7 @@ VllmWorker:
...
@@ -36,3 +36,7 @@ VllmWorker:
resources
:
resources
:
gpu
:
1
gpu
:
1
common-configs
:
[
model
,
block-size
,
max-model-len
]
common-configs
:
[
model
,
block-size
,
max-model-len
]
Planner
:
environment
:
local
no-operation
:
true
\ No newline at end of file
examples/llm/configs/agg_router.yaml
View file @
b2aa2317
...
@@ -41,3 +41,7 @@ VllmWorker:
...
@@ -41,3 +41,7 @@ VllmWorker:
resources
:
resources
:
gpu
:
1
gpu
:
1
common-configs
:
[
model
,
block-size
,
max-model-len
,
router
,
kv-transfer-config
]
common-configs
:
[
model
,
block-size
,
max-model-len
,
router
,
kv-transfer-config
]
Planner
:
environment
:
local
no-operation
:
true
\ No newline at end of file
examples/llm/configs/disagg.yaml
View file @
b2aa2317
...
@@ -45,3 +45,7 @@ PrefillWorker:
...
@@ -45,3 +45,7 @@ PrefillWorker:
resources
:
resources
:
gpu
:
1
gpu
:
1
common-configs
:
[
model
,
block-size
,
max-model-len
,
kv-transfer-config
]
common-configs
:
[
model
,
block-size
,
max-model-len
,
kv-transfer-config
]
Planner
:
environment
:
local
no-operation
:
true
\ No newline at end of file
examples/llm/configs/disagg_router.yaml
View file @
b2aa2317
...
@@ -52,3 +52,7 @@ PrefillWorker:
...
@@ -52,3 +52,7 @@ PrefillWorker:
resources
:
resources
:
gpu
:
1
gpu
:
1
common-configs
:
[
model
,
block-size
,
max-model-len
,
kv-transfer-config
]
common-configs
:
[
model
,
block-size
,
max-model-len
,
kv-transfer-config
]
Planner
:
environment
:
local
no-operation
:
true
\ No newline at end of file
examples/llm/graphs/agg.py
View file @
b2aa2317
...
@@ -14,7 +14,9 @@
...
@@ -14,7 +14,9 @@
# limitations under the License.
# limitations under the License.
from
components.frontend
import
Frontend
from
components.frontend
import
Frontend
from
components.planner_service
import
Planner
from
components.processor
import
Processor
from
components.processor
import
Processor
from
components.worker
import
VllmWorker
from
components.worker
import
VllmWorker
Frontend
.
link
(
Processor
).
link
(
VllmWorker
)
Frontend
.
link
(
Processor
).
link
(
VllmWorker
)
Frontend
.
link
(
Planner
)
examples/llm/graphs/agg_router.py
View file @
b2aa2317
...
@@ -15,7 +15,9 @@
...
@@ -15,7 +15,9 @@
from
components.frontend
import
Frontend
from
components.frontend
import
Frontend
from
components.kv_router
import
Router
from
components.kv_router
import
Router
from
components.planner_service
import
Planner
from
components.processor
import
Processor
from
components.processor
import
Processor
from
components.worker
import
VllmWorker
from
components.worker
import
VllmWorker
Frontend
.
link
(
Processor
).
link
(
Router
).
link
(
VllmWorker
)
Frontend
.
link
(
Processor
).
link
(
Router
).
link
(
VllmWorker
)
Frontend
.
link
(
Planner
)
examples/llm/graphs/disagg.py
View file @
b2aa2317
...
@@ -14,8 +14,10 @@
...
@@ -14,8 +14,10 @@
# limitations under the License.
# limitations under the License.
from
components.frontend
import
Frontend
from
components.frontend
import
Frontend
from
components.planner_service
import
Planner
from
components.prefill_worker
import
PrefillWorker
from
components.prefill_worker
import
PrefillWorker
from
components.processor
import
Processor
from
components.processor
import
Processor
from
components.worker
import
VllmWorker
from
components.worker
import
VllmWorker
Frontend
.
link
(
Processor
).
link
(
VllmWorker
).
link
(
PrefillWorker
)
Frontend
.
link
(
Processor
).
link
(
VllmWorker
).
link
(
PrefillWorker
)
Frontend
.
link
(
Planner
)
examples/llm/graphs/disagg_router.py
View file @
b2aa2317
...
@@ -15,8 +15,10 @@
...
@@ -15,8 +15,10 @@
from
components.frontend
import
Frontend
from
components.frontend
import
Frontend
from
components.kv_router
import
Router
from
components.kv_router
import
Router
from
components.planner_service
import
Planner
from
components.prefill_worker
import
PrefillWorker
from
components.prefill_worker
import
PrefillWorker
from
components.processor
import
Processor
from
components.processor
import
Processor
from
components.worker
import
VllmWorker
from
components.worker
import
VllmWorker
Frontend
.
link
(
Processor
).
link
(
Router
).
link
(
VllmWorker
).
link
(
PrefillWorker
)
Frontend
.
link
(
Processor
).
link
(
Router
).
link
(
VllmWorker
).
link
(
PrefillWorker
)
Frontend
.
link
(
Planner
)
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment