1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! memopro core: framework-agnostic memory toolkit for deep learning workloads.
//!
//! The crate knows nothing about PyTorch or any other framework; it works on byte buffers,
//! dtypes and shapes. Python bindings live in the separate `memopro-py` crate.
//!
//! Modules:
//! - [`hwinfo`]: host memory, container limit and disk capacity for the per-pool budget (v0.1)
//! - [`spill`]: write-free restore from original files with digest checks, and spill files (v0.1)
//! - [`ledger`]: bookkeeping of hibernated buffers and SSD bytes written (v0.1)
//! - [`codec`]: byte shuffle + zstd for lossless in-RAM compression (v0.1)
//! - [`pressure`]: OS memory-pressure signal for γ elastic (v0.3)
//! - [`rt`]: runtime C-R: large buffers under a hard memory budget, dropped and re-read from
//! their original files or compressed, never written to disk (0109, 0112)
//!
//! Unbuilt functions return [`Error::NotImplemented`] with the planned milestone; nothing panics.
pub use ;
/// The README's example compiles and runs (`cargo test --doc`), so the crates.io page stays true.
;
/// Version of the memopro core, taken from the crate manifest.
pub const VERSION: &str = env!;
/// Returns the version of the memopro core.