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
61abae51
Commit
61abae51
authored
Mar 08, 2025
by
Harrison Saturley-Hall
Committed by
GitHub
Mar 08, 2025
Browse files
ci: rename project to dynamo (#60)
parent
b4d56a57
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
14 deletions
+12
-14
.github/workflows/copyright-checks.yml
.github/workflows/copyright-checks.yml
+2
-2
.github/workflows/pre-merge-python.yml
.github/workflows/pre-merge-python.yml
+3
-3
.github/workflows/trigger_ci.yml
.github/workflows/trigger_ci.yml
+1
-1
Earthfile
Earthfile
+5
-5
examples/python_rs/llm/vllm/sdk_kv_router/frontend.py
examples/python_rs/llm/vllm/sdk_kv_router/frontend.py
+1
-2
examples/python_rs/llm/vllm/sdk_kv_router/router.py
examples/python_rs/llm/vllm/sdk_kv_router/router.py
+0
-1
No files found.
.github/workflows/copyright-checks.yml
View file @
61abae51
...
@@ -7,7 +7,7 @@ jobs:
...
@@ -7,7 +7,7 @@ jobs:
copyright-checks
:
copyright-checks
:
runs-on
:
ubuntu-24.04
runs-on
:
ubuntu-24.04
container
:
container
:
image
:
ghcr.io/
dynemo-ai/dynemo
/helm-tester:0.1.1
image
:
ghcr.io/
${{ github.repository }}
/helm-tester:0.1.1
options
:
--tty
options
:
--tty
volumes
:
volumes
:
-
${{ github.workspace }}:/workspace
-
${{ github.workspace }}:/workspace
...
@@ -17,7 +17,7 @@ jobs:
...
@@ -17,7 +17,7 @@ jobs:
steps
:
steps
:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
# Allowlist both variants of the mounted source directory.
# Allowlist both variants of the mounted source directory.
-
run
:
git config --global --add safe.directory /__w/dyn
e
mo/dyn
e
mo
-
run
:
git config --global --add safe.directory /__w/dyn
a
mo/dyn
a
mo
-
run
:
git config --global --add safe.directory /workspace
-
run
:
git config --global --add safe.directory /workspace
-
run
:
pwsh /workspace/.github/workflows/copyright-check.ps1
-
run
:
pwsh /workspace/.github/workflows/copyright-check.ps1
env
:
env
:
...
...
.github/workflows/pre-merge-python.yml
View file @
61abae51
...
@@ -35,7 +35,7 @@ jobs:
...
@@ -35,7 +35,7 @@ jobs:
name
:
Build and Test - ${{ matrix.framework }}
name
:
Build and Test - ${{ matrix.framework }}
env
:
env
:
CONTAINER_ID
:
test_${{ github.run_id }}_${{ github.run_attempt }}_${{ github.job }}_${{ matrix.framework }}
CONTAINER_ID
:
test_${{ github.run_id }}_${{ github.run_attempt }}_${{ github.job }}_${{ matrix.framework }}
IMAGE_TAG
:
ghcr.io/
dynemo-ai/dynemo
:latest-${{ matrix.framework }}
IMAGE_TAG
:
ghcr.io/
${{ github.repository }}
:latest-${{ matrix.framework }}
PYTEST_XML_FILE
:
pytest_test_report.xml
PYTEST_XML_FILE
:
pytest_test_report.xml
steps
:
steps
:
-
name
:
Checkout repository
-
name
:
Checkout repository
...
@@ -52,12 +52,12 @@ jobs:
...
@@ -52,12 +52,12 @@ jobs:
id
:
set_image_tag
id
:
set_image_tag
run
:
|
run
:
|
if [ "${{ github.event_name }}" == "pull_request" ]; then
if [ "${{ github.event_name }}" == "pull_request" ]; then
echo "IMAGE_TAG=ghcr.io/
dynemo-ai/dynemo
:pr_${{ github.event.pull_request.number }}_${{ matrix.framework }}" >> $GITHUB_ENV
echo "IMAGE_TAG=ghcr.io/
${{ github.repository }}
:pr_${{ github.event.pull_request.number }}_${{ matrix.framework }}" >> $GITHUB_ENV
fi
fi
-
name
:
Decide on cache
-
name
:
Decide on cache
id
:
which_cache
id
:
which_cache
env
:
env
:
CACHE_LOCATION
:
ghcr.io/
dynemo-ai/dynemo
:latest-${{ matrix.framework }}
CACHE_LOCATION
:
ghcr.io/
${{ github.repository }}
:latest-${{ matrix.framework }}
run
:
|
run
:
|
set +e
set +e
if [ "${{ github.event_name }}" == "pull_request" ]; then
if [ "${{ github.event_name }}" == "pull_request" ]; then
...
...
.github/workflows/trigger_ci.yml
View file @
61abae51
...
@@ -51,7 +51,7 @@ jobs:
...
@@ -51,7 +51,7 @@ jobs:
- 'container/deps/requirements.vllm.txt'
- 'container/deps/requirements.vllm.txt'
- 'container/deps/vllm/**'
- 'container/deps/vllm/**'
sdk:
sdk:
- 'deploy/
compoundai
/**'
- 'deploy/
dynamo
/**'
-
name
:
Check if Validation Workflow has run
-
name
:
Check if Validation Workflow has run
id
:
check_workflow
id
:
check_workflow
uses
:
actions/github-script@v6
uses
:
actions/github-script@v6
...
...
Earthfile
View file @
61abae51
...
@@ -26,17 +26,17 @@ golang-base:
...
@@ -26,17 +26,17 @@ golang-base:
############### ALL TARGETS ##############################
############### ALL TARGETS ##############################
all-test:
all-test:
BUILD ./deploy/dyn
e
mo/operator+test
BUILD ./deploy/dyn
a
mo/operator+test
# BUILD ./deploy/dyn
e
mo/api-server+test #TODO: mkhadkevich earthly tests fail https://gitlab-master.nvidia.com/aire/microservices/compoundai/-/jobs/144475821
# BUILD ./deploy/dyn
a
mo/api-server+test #TODO: mkhadkevich earthly tests fail https://gitlab-master.nvidia.com/aire/microservices/compoundai/-/jobs/144475821
all-docker:
all-docker:
ARG CI_REGISTRY_IMAGE=my-registry
ARG CI_REGISTRY_IMAGE=my-registry
ARG CI_COMMIT_SHA=latest
ARG CI_COMMIT_SHA=latest
BUILD ./deploy/dyn
e
mo/operator+docker --CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE --CI_COMMIT_SHA=$CI_COMMIT_SHA
BUILD ./deploy/dyn
a
mo/operator+docker --CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE --CI_COMMIT_SHA=$CI_COMMIT_SHA
BUILD ./deploy/dyn
e
mo/api-server+docker --CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE --CI_COMMIT_SHA=$CI_COMMIT_SHA
BUILD ./deploy/dyn
a
mo/api-server+docker --CI_REGISTRY_IMAGE=$CI_REGISTRY_IMAGE --CI_COMMIT_SHA=$CI_COMMIT_SHA
all-lint:
all-lint:
BUILD ./deploy/dyn
e
mo/operator+lint
BUILD ./deploy/dyn
a
mo/operator+lint
all:
all:
BUILD +all-test
BUILD +all-test
...
...
examples/python_rs/llm/vllm/sdk_kv_router/frontend.py
View file @
61abae51
...
@@ -13,9 +13,8 @@
...
@@ -13,9 +13,8 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
from
sdk_kv_router.processor
import
Processor
from
dynemo.sdk
import
DYNEMO_IMAGE
,
api
,
depends
,
service
from
dynemo.sdk
import
DYNEMO_IMAGE
,
api
,
depends
,
service
from
sdk_kv_router.processor
import
Processor
@
service
(
traffic
=
{
"timeout"
:
10000
},
image
=
DYNEMO_IMAGE
)
@
service
(
traffic
=
{
"timeout"
:
10000
},
image
=
DYNEMO_IMAGE
)
...
...
examples/python_rs/llm/vllm/sdk_kv_router/router.py
View file @
61abae51
...
@@ -17,7 +17,6 @@ from enum import Enum
...
@@ -17,7 +17,6 @@ from enum import Enum
import
bentoml
import
bentoml
from
common.protocol
import
Tokens
from
common.protocol
import
Tokens
from
dynemo.sdk
import
async_onstart
,
dynemo_context
,
dynemo_endpoint
,
service
from
dynemo.sdk
import
async_onstart
,
dynemo_context
,
dynemo_endpoint
,
service
with
bentoml
.
importing
():
with
bentoml
.
importing
():
...
...
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