Skip to content

Commit a622756

Browse files
committed
feat: Use the new v2 memory crate
Signed-off-by: Alexandre Milesi <[email protected]>
1 parent c31e9f9 commit a622756

File tree

7 files changed

+208
-27
lines changed

7 files changed

+208
-27
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ keywords = ["llm", "genai", "inference", "nvidia", "distributed"]
4747
dynamo-runtime = { path = "lib/runtime", version = "0.6.1" }
4848
dynamo-llm = { path = "lib/llm", version = "0.6.1" }
4949
dynamo-config = { path = "lib/config", version = "0.6.1" }
50+
dynamo-memory = { path = "lib/memory", version = "0.6.1" }
5051
dynamo-tokens = { path = "lib/tokens", version = "0.6.1" }
5152
dynamo-async-openai = { path = "lib/async-openai", version = "0.6.1", features = [
5253
"byot",

lib/bindings/python/Cargo.lock

Lines changed: 172 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/llm/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ readme.workspace = true
1313
description = "Dynamo LLM Library"
1414

1515
[features]
16-
default = ["block-manager"]
16+
default = []
1717
# todo(ops): get this working in CI as a default.
1818
# default = ["block-manager", "testing-full"]
1919

@@ -33,6 +33,7 @@ harness = false
3333
name = "transfer_context_v2"
3434
harness = false
3535
required-features = ["block-manager", "testing-cuda"]
36+
3637
[dependencies]
3738
# repo
3839
dynamo-runtime = { workspace = true }
@@ -41,6 +42,7 @@ dynamo-runtime = { workspace = true }
4142
aho-corasick = "1.1"
4243
anyhow = { workspace = true }
4344
dynamo-async-openai = { workspace = true }
45+
dynamo-memory = { workspace = true }
4446
dynamo-parsers = { workspace = true }
4547
async-stream = { workspace = true }
4648
async-trait = { workspace = true }

lib/llm/src/preprocessor/media/loader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use dynamo_async_openai::types::ChatCompletionRequestUserMessageContentPart;
1111
use super::common::EncodedMediaData;
1212
use super::decoders::{Decoder, MediaDecoder};
1313
use super::rdma::{RdmaMediaDataDescriptor, get_nixl_agent};
14-
use nixl_sys::Agent as NixlAgent;
14+
use dynamo_memory::nixl::NixlAgent;
1515

1616
const DEFAULT_HTTP_USER_AGENT: &str = "dynamo-ai/dynamo";
1717
const DEFAULT_HTTP_TIMEOUT: Duration = Duration::from_secs(30);

0 commit comments

Comments
 (0)