37 tok/s from Qwen3-Next-80B (48 GB) on a 32 GB laptop, 24 without drafts vs 2.8 for llama.cpp; reading 62 vs 16 tok/s. Faster than llama.cpp on all 13 models compared in Q4_K_M. LLMs bigger than your RAM, pure C, CPU or GPU.
C avx2ccpu-inferenceggufinference-enginelinuxllmlocal-llmmixture-of-expertsmoenvmequantizationqwen3simdspeculative-decodingvulkan
#include "mbedtls/pk.h"
#include "psa/crypto.h"
#ifndef MBEDTLS_UTILS_H
#define MBEDTLS_UTILS_H
/* Return the PSA algorithm associated to the given combination of "sigalg" and "hash_alg". */
static inline psa_algorithm_t mbedtls_psa_alg_from_pk_sigalg(mbedtls_pk_sigalg_t sigalg,
psa_algorithm_t hash_alg)
{
switch (sigalg) {
case MBEDTLS_PK_SIGALG_RSA_PKCS1V15:
return PSA_ALG_RSA_PKCS1V15_SIGN(hash_alg);
case MBEDTLS_PK_SIGALG_RSA_PSS:
return PSA_ALG_RSA_PSS(hash_alg);
case MBEDTLS_PK_SIGALG_ECDSA:
return MBEDTLS_PK_ALG_ECDSA(hash_alg);
default:
return PSA_ALG_NONE;
}
}
#endif /* MBEDTLS_UTILS_H */