Cargo.toml 1009 Bytes
Newer Older
1
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2
3
4
5
6
7
8
9
10
# SPDX-License-Identifier: Apache-2.0

[package]
name = "dynamo-memory"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
11
description = "Memory management library for Dynamo"
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

[features]
default = ["testing-all"]

# feature to enable unsafe slices of memory descriptors
# for advanced testing in other crates
unsafe-slices = []

# test features for hardware-specific tests
testing-cuda = []
testing-nixl = []
testing-all = ["testing-cuda", "testing-nixl"]

[dependencies]
dynamo-config = { workspace = true }

anyhow = { workspace = true }
cudarc = { workspace = true }
30
nixl-sys = { version = "0.9" }
31
32
33
34
35
36
37
38
39
40
serde = { workspace = true}
thiserror = { workspace = true }
tracing = { workspace = true }

libc = { version = "0.2" }
nix = { version = "0.30", features = ["fs"] }
offset-allocator = "0.2"

[dev-dependencies]
tempfile = "3"