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
1af7433b
Commit
1af7433b
authored
Mar 05, 2025
by
Neelay Shah
Committed by
GitHub
Mar 05, 2025
Browse files
refactor: rename triton_distributed to dynemo (#22)
Co-authored-by:
Graham King
<
grahamk@nvidia.com
>
parent
ee4ef06b
Changes
165
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
17 deletions
+17
-17
lib/runtime/tests/common/mock.rs
lib/runtime/tests/common/mock.rs
+2
-2
lib/runtime/tests/lifecycle.rs
lib/runtime/tests/lifecycle.rs
+1
-1
lib/runtime/tests/pipeline.rs
lib/runtime/tests/pipeline.rs
+2
-2
lib/runtime/tests/soak.rs
lib/runtime/tests/soak.rs
+7
-7
pyproject.toml
pyproject.toml
+5
-5
No files found.
lib/runtime/tests/common/mock.rs
View file @
1af7433b
...
...
@@ -21,8 +21,8 @@ use futures::StreamExt;
use
serde
::{
Deserialize
,
Serialize
};
use
tokio
::
sync
::
mpsc
;
use
triton_distributed
_runtime
::
engine
::{
AsyncEngine
,
AsyncEngineContext
,
Data
,
ResponseStream
};
use
triton_distributed
_runtime
::
pipeline
::{
use
dynemo
_runtime
::
engine
::{
AsyncEngine
,
AsyncEngineContext
,
Data
,
ResponseStream
};
use
dynemo
_runtime
::
pipeline
::{
context
::{
Context
,
StreamContext
},
Error
,
ManyOut
,
PipelineError
,
PipelineIO
,
SegmentSource
,
SingleIn
,
};
...
...
lib/runtime/tests/lifecycle.rs
View file @
1af7433b
...
...
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use
triton_distributed
_runtime
::{
worker
::
Worker
,
Result
,
Runtime
};
use
dynemo
_runtime
::{
worker
::
Worker
,
Result
,
Runtime
};
async
fn
hello_world
(
_
runtime
:
Runtime
)
->
Result
<
()
>
{
Ok
(())
...
...
lib/runtime/tests/pipeline.rs
View file @
1af7433b
...
...
@@ -17,8 +17,8 @@ use futures::{stream, StreamExt};
use
serde
::{
Deserialize
,
Serialize
};
use
std
::{
sync
::
Arc
,
time
::
Duration
};
use
triton_distributed
_runtime
::
engine
::
ResponseStream
;
use
triton_distributed
_runtime
::{
use
dynemo
_runtime
::
engine
::
ResponseStream
;
use
dynemo
_runtime
::{
pipeline
::{
async_trait
,
AsyncEngine
,
Data
,
Event
,
ManyOut
,
Operator
,
ServiceBackend
,
ServiceEngine
,
ServiceFrontend
,
SingleIn
,
*
,
...
...
lib/runtime/tests/soak.rs
View file @
1af7433b
...
...
@@ -16,12 +16,9 @@
#[cfg(feature
=
"integration"
)]
mod
integration
{
pub
const
DEFAULT_NAMESPACE
:
&
str
=
"
triton-init
"
;
pub
const
DEFAULT_NAMESPACE
:
&
str
=
"
dynemo
"
;
use
futures
::
StreamExt
;
use
std
::{
sync
::
Arc
,
time
::
Duration
};
use
tokio
::
time
::
Instant
;
use
triton_distributed_runtime
::{
use
dynemo_runtime
::{
logging
,
pipeline
::{
async_trait
,
network
::
Ingress
,
AsyncEngine
,
AsyncEngineContextProvider
,
Error
,
ManyOut
,
...
...
@@ -30,6 +27,9 @@ mod integration {
protocols
::
annotated
::
Annotated
,
DistributedRuntime
,
ErrorContext
,
Result
,
Runtime
,
Worker
,
};
use
futures
::
StreamExt
;
use
std
::{
sync
::
Arc
,
time
::
Duration
};
use
tokio
::
time
::
Instant
;
#[test]
fn
main
()
->
Result
<
()
>
{
...
...
@@ -100,11 +100,11 @@ mod integration {
async
fn
client
(
runtime
:
DistributedRuntime
)
->
Result
<
()
>
{
// get the run duration from env
let
run_duration
=
std
::
env
::
var
(
"
TRD
_SOAK_RUN_DURATION"
)
.unwrap_or
(
"1m"
.to_string
());
let
run_duration
=
std
::
env
::
var
(
"
DYN
_SOAK_RUN_DURATION"
)
.unwrap_or
(
"1m"
.to_string
());
let
run_duration
=
humantime
::
parse_duration
(
&
run_duration
)
.unwrap_or
(
Duration
::
from_secs
(
60
));
let
batch_load
=
std
::
env
::
var
(
"
TRD
_SOAK_BATCH_LOAD"
)
.unwrap_or
(
"10000"
.to_string
());
let
batch_load
=
std
::
env
::
var
(
"
DYN
_SOAK_BATCH_LOAD"
)
.unwrap_or
(
"10000"
.to_string
());
let
batch_load
:
usize
=
batch_load
.parse
()
.unwrap_or
(
10000
);
let
client
=
runtime
...
...
pyproject.toml
View file @
1af7433b
...
...
@@ -14,12 +14,12 @@
# limitations under the License.
[project]
name
=
"
triton-distributed
"
name
=
"
dynemo
"
version
=
"0.2.1"
description
=
"Distributed Inference Framework"
readme
=
"README.md"
authors
=
[
{
name
=
"NVIDIA Inc."
,
email
=
"sw-dl-
triton
@nvidia.com"
}
,
{
name
=
"NVIDIA Inc."
,
email
=
"sw-dl-
dynemo
@nvidia.com"
}
,
]
license
=
{
file
=
"LICENSE"
}
requires-python
=
">=3.10"
...
...
@@ -30,11 +30,11 @@ dependencies = [
]
[tool.maturin]
module-name
=
"
triton_distributed
._core"
module-name
=
"
dynemo
._core"
# Point to the Rust crate directory
manifest-path
=
"lib/bindings/python/Cargo.toml"
# Include all Python packages
python-packages
=
["
triton_distributed
"]
python-packages
=
["
dynemo
"]
# Specify the Python source directory
python-source
=
"lib/bindings/python/src"
...
...
@@ -75,7 +75,7 @@ line_length = 88
balanced_wrapping
=
true
indent
=
" "
skip
=
["build"]
known_first_party
=
["
triton_distributed
"]
known_first_party
=
["
dynemo
"]
[tool.pytest.ini_options]
minversion
=
"8.0"
...
...
Prev
1
…
5
6
7
8
9
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