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
ci: bump actions/checkout from 4 to 7
FareedKhan-dev85ab2cd901aa
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 7c8230d..886c7ef 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -26,7 +26,7 @@ jobs:os: [ubuntu-latest, ubuntu-22.04]cc: [gcc, clang]steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- name: Install toolchainrun: |@@ -67,7 +67,7 @@ jobs:name: warnings as errorsruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- run: sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends libomp-dev- name: Build with -Werrorrun: make portable CFLAGS="-O2 -std=gnu99 -Wall -Wextra -Wpointer-arith -Wshadow -Wvla -Wno-unused-parameter -Werror -fopenmp -ffp-contract=off" -j"$(nproc)"@@ -76,7 +76,7 @@ jobs:name: ASan + UBSanruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- run: sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends libomp-dev# test_cache and test_st are the two that matter most here. SECURITY.md puts the# safetensors parser and the streaming cache in scope precisely because they read@@ -106,7 +106,7 @@ jobs:name: tokenizer parityruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- uses: actions/setup-python@v7with:python-version: '3.12'@@ -140,7 +140,7 @@ jobs:name: python tools lintruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- uses: actions/setup-python@v7with:python-version: '3.12'@@ -155,7 +155,7 @@ jobs:name: shellcheckruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@v7- run: sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends shellcheck# benchmarks/ is included deliberately. Its scripts run unattended for hours and# record whatever they observe as a result, so a quoting or pipefail defect there