A 2.78-trillion-parameter Kimi K3 running inference on a single CPU in 8.24 GB of RAM. Portable C99: no BLAS, no framework, no GPU.
C avx2c99cpu-inferencedeep-learningfrom-scratchinference-enginekimi-k3linear-attentionllmllm-inferencemachine-learningmemory-efficientmixture-of-expertsmoemxfp4quantizationsimdsystems-programmingtransformerzero-dependencies
# Matches the existing style: 4-space indent, 90 columns, K&R-ish braces.
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 90
BreakBeforeBraces: Linux
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: true
PointerAlignment: Right
AlignConsecutiveAssignments: Consecutive
AlignTrailingComments: true
SortIncludes: false