Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
91ba9026
Unverified
Commit
91ba9026
authored
Oct 01, 2025
by
atchernych
Committed by
GitHub
Oct 02, 2025
Browse files
fix: Adjust func signature to match main post-merge (#3357)
Signed-off-by:
Anna Tchernych
<
atchernych@nvidia.com
>
parent
d2e3b66e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
lib/bindings/c/src/lib.rs
lib/bindings/c/src/lib.rs
+7
-2
No files found.
lib/bindings/c/src/lib.rs
View file @
91ba9026
...
...
@@ -10,7 +10,7 @@ use std::sync::atomic::{AtomicU32, Ordering};
use
dynamo_llm
::
kv_router
::{
indexer
::
compute_block_hash_for_seq
,
protocols
::
*
,
publisher
::
KvEventPublisher
,
};
use
dynamo_runtime
::{
DistributedRuntime
,
Worker
};
use
dynamo_runtime
::{
DistributedRuntime
,
Worker
,
storage
::
key_value_store
::
Key
};
static
WK
:
OnceCell
<
Worker
>
=
OnceCell
::
new
();
static
DRT
:
AsyncOnceCell
<
DistributedRuntime
>
=
AsyncOnceCell
::
new
();
// [FIXME] shouldn't the publisher be instance passing between API calls?
...
...
@@ -972,7 +972,12 @@ pub async fn create_worker_selection_pipeline_chat(
let
client
=
component
.endpoint
(
GENERATE_ENDPOINT
)
.client
()
.await
?
;
let
model_slug
=
Slug
::
from_string
(
model_name
);
let
card
=
match
ModelDeploymentCard
::
load_from_store
(
&
model_slug
,
component
.drt
())
.await
{
let
card
=
match
ModelDeploymentCard
::
load_from_store
(
&
Key
::
from_raw
(
model_slug
.to_string
()),
component
.drt
(),
)
.await
{
Ok
(
Some
(
card
))
=>
card
,
Ok
(
None
)
=>
anyhow
::
bail!
(
"ModelDeploymentCard not found for model: {}"
,
model_name
),
Err
(
err
)
=>
anyhow
::
bail!
(
...
...
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