Skip to content

armgit / janas

Public Imported from GitHub
0

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.

674 B
Raw Blame
#!/bin/sh
# Regenerates spv.h, the SPIR-V of vkcheck's shaders (copy, dot, order) as C
# arrays, so that tools/vkcheck.c builds with a C compiler alone. Needs
# glslangValidator (glslang-tools on Debian and Ubuntu, glslang elsewhere).
cd "$(dirname "$0")" || exit 1
{
    echo "/* Generated by tools/vkcheck/gen_spv.sh from copy.comp, dot.comp and"
    echo "   order.comp - do not edit. */"
    for s in copy dot order; do
        glslangValidator -V --target-env vulkan1.3 --vn "vkcheck_spv_$s" \
            "$s.comp" -o "$s.spv.tmp" >/dev/null || exit 1
        grep -v '#pragma once' "$s.spv.tmp"
        rm -f "$s.spv.tmp"
    done
} > spv.h.tmp && mv spv.h.tmp spv.h