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
4e6f3fef
Commit
4e6f3fef
authored
Feb 18, 2025
by
Graham King
Committed by
GitHub
Feb 18, 2025
Browse files
bug: tio can run without NATS or ETCD (#203)
parent
94601e77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
applications/llm/bin/tio/src/main.rs
applications/llm/bin/tio/src/main.rs
+3
-9
No files found.
applications/llm/bin/tio/src/main.rs
View file @
4e6f3fef
...
@@ -77,15 +77,9 @@ async fn tio_wrapper(runtime: triton_distributed::Runtime) -> anyhow::Result<()>
...
@@ -77,15 +77,9 @@ async fn tio_wrapper(runtime: triton_distributed::Runtime) -> anyhow::Result<()>
// etcd and nats addresses, from env vars ETCD_ENDPOINTS and NATS_SERVER with localhost
// etcd and nats addresses, from env vars ETCD_ENDPOINTS and NATS_SERVER with localhost
// defaults
// defaults
let
dt_config
=
triton_distributed
::
distributed
::
DistributedConfig
::
from_settings
();
//
let dt_config = triton_distributed::distributed::DistributedConfig::from_settings();
// Wraps the Runtime (which wraps two tokio runtimes) and adds etcd and nats clients
// Wraps the Runtime (which wraps two tokio runtimes) and adds etcd and nats clients
let
d_runtime
=
triton_distributed
::
DistributedRuntime
::
new
(
runtime
,
dt_config
)
.await
?
;
//
let d_runtime = triton_distributed::DistributedRuntime::new(runtime, dt_config).await?;
tio
::
run
(
tio
::
run
(
in_opt
,
out_opt
,
nio_flags
,
runtime
.primary_token
())
.await
in_opt
,
out_opt
,
nio_flags
,
d_runtime
.runtime
()
.primary_token
(),
)
.await
}
}
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