// executions appear here — request JSON (verbatim POST /execute contract) + real results
run QUANTIZE Q8_0 to quantize the live tensor
pub fn detect_hardware() -> SimdPath { if cfg!(target_arch = "x86_64") { if is_x86_feature_detected!("avx512f") { return SimdPath::Avx512; } if is_x86_feature_detected!("avx2") { return SimdPath::Avx2; } } if cfg!(target_arch = "aarch64") { if is_aarch64_feature_detected!("neon") { return SimdPath::Neon; } } SimdPath::Scalar }
| PATH | F32 LANES | TARGET | NOTE |
|---|---|---|---|
| AVX512 | 16 | x86_64 server (PowerEdge class) | detected first — widest |
| AVX2 | 8 | x86_64 desktop/server | primary path |
| NEON | 4 | ARM64 / Apple Silicon | embedded + mobile |
| SCALAR | 1 | any hardware | always works, never fastest |
ExecuteRequest {
op: String, // "matmul" | "relu" | "silu" | "gelu" | "softmax" | "layer_norm" | "conv2d" | "embedding_lookup"
a, b, t, input, weight: Option<Tensor>, // Tensor { data: Vec<u8>, shape: Vec<usize>, dtype }
axis, stride, padding: Option<usize>,
indices: Option<Vec<usize>>, weights: Option<Tensor>,
} → ExecuteResponse { result: Tensor, exec_path: String, time_ms: f64 }
Every purchase on this site is governed by written terms, not a handshake:
API and subscription access is bounded by the Class S service terms: term and renewal, acceptable use, data handling, availability boundary, and liability cap. A copy ships with every order.