pub const GGUF_MAX_DIMS: usize = 4;
Maximum tensor rank (GGML_MAX_DIMS). Source: ggml.h. A GGUF v3 tensor declares at most this many dimensions; this is a format constant, not an application cap.
GGML_MAX_DIMS
ggml.h