aprender-serve 0.64.0

Pure Rust ML inference engine built from scratch - model serving for GGUF and safetensors
1
2
3
4
5
6
7
8
9
10

#[test]
fn test_sliding_window_attention_debug_clone() {
    let swa = SlidingWindowAttention::new(64, 1024).expect("test");
    let debug = format!("{:?}", swa);
    assert!(debug.contains("SlidingWindowAttention"));

    let cloned = swa.clone();
    assert_eq!(cloned.window_size(), swa.window_size());
}