quant.cpp
LLM inference with 7x longer context. Pure C, zero dependencies. Lossless KV cache compression + single-header library.
파일 탐색기
최종 버전 다운로드 (.zip)- architect.md
- core-dev.md
- perf-dev.md
- qa.md
- develop.md
- harness.md
- merge-gate.md
- score.md
- spawn-team.md
- module-ownership.md
- skill.md
- skill.md
- skill.md
- skill.md
- skill.md
- state.md
- bug_report.md
- feature_request.md
- ci.yml
- pages.yml
- publish.yml
- release.yml
- PULL_REQUEST_TEMPLATE.md
- p0_turbo_kv_1b_n100.txt
- p0_turbo_kv_1b_n150.txt
- p0_turbo_kv_1b_n200.txt
- p0_turbo_kv_1b_n300.txt
- p0_turbo_kv_1b_n50.txt
- p0_turbo_kv_3b_n100.txt
- p0_turbo_kv_3b_n150.txt
- p0_turbo_kv_3b_n200.txt
- p0_turbo_kv_3b_n300.txt
- p0_turbo_kv_3b_n50.txt
- p0_uniform_4b_n100.txt
- p0_uniform_4b_n150.txt
- p0_uniform_4b_n200.txt
- p0_uniform_4b_n300.txt
- p0_uniform_4b_n50.txt
- p1_turbo_kv_1b_n100.txt
- p1_turbo_kv_1b_n150.txt
- p1_turbo_kv_1b_n200.txt
- p1_turbo_kv_1b_n300.txt
- p1_turbo_kv_1b_n50.txt
- p1_turbo_kv_3b_n100.txt
- p1_turbo_kv_3b_n150.txt
- p1_turbo_kv_3b_n200.txt
- p1_turbo_kv_3b_n300.txt
- p1_turbo_kv_3b_n50.txt
- p1_uniform_4b_n100.txt
- p1_uniform_4b_n150.txt
- p1_uniform_4b_n200.txt
- p1_uniform_4b_n300.txt
- p1_uniform_4b_n50.txt
- p2_turbo_kv_1b_n100.txt
- p2_turbo_kv_1b_n150.txt
- p2_turbo_kv_1b_n200.txt
- p2_turbo_kv_1b_n300.txt
- p2_turbo_kv_1b_n50.txt
- p2_turbo_kv_3b_n100.txt
- p2_turbo_kv_3b_n150.txt
- p2_turbo_kv_3b_n200.txt
- p2_turbo_kv_3b_n300.txt
- p2_turbo_kv_3b_n50.txt
- p2_uniform_4b_n100.txt
- p2_uniform_4b_n150.txt
- p2_uniform_4b_n200.txt
- p2_uniform_4b_n300.txt
- p2_uniform_4b_n50.txt
- placeholder.json
- run_longbench.py
- run_niah.py
- run_ruler.py
- ppl_16k.txt
- ppl_1k.txt
- ppl_4k.txt
- ppl_8k.txt
- ppl_results.csv
- ppl_test_1k.txt
- ppl_test_2k.txt
- wikitext2_test.txt
- book_chat.sh
- prepare_book.py
- README.md
- README.md
- run_benchmark.sh
- setup_llamacpp.sh
- p0_turbo_kv_1b.txt
- p0_turbo_kv_3b.txt
- p0_turbo_kv_4b.txt
- p0_uniform_4b.txt
- p1_turbo_kv_1b.txt
- p1_turbo_kv_3b.txt
- p1_turbo_kv_4b.txt
- p1_uniform_4b.txt
- p2_turbo_kv_1b.txt
- p2_turbo_kv_3b.txt
- p2_turbo_kv_4b.txt
- p2_uniform_4b.txt
- p3_turbo_kv_1b.txt
- p3_turbo_kv_3b.txt
- p3_turbo_kv_4b.txt
- p3_uniform_4b.txt
- p4_turbo_kv_1b.txt
- p4_turbo_kv_3b.txt
- p4_turbo_kv_4b.txt
- p4_uniform_4b.txt
- p5_turbo_kv_1b.txt
- p5_turbo_kv_3b.txt
- p5_turbo_kv_4b.txt
- p5_uniform_4b.txt
- p6_turbo_kv_1b.txt
- p6_turbo_kv_3b.txt
- p6_turbo_kv_4b.txt
- p6_uniform_4b.txt
- p7_turbo_kv_1b.txt
- p7_turbo_kv_3b.txt
- p7_turbo_kv_4b.txt
- p7_uniform_4b.txt
- p8_turbo_kv_1b.txt
- p8_turbo_kv_3b.txt
- p8_turbo_kv_4b.txt
- p8_uniform_4b.txt
- p9_turbo_kv_1b.txt
- p9_turbo_kv_3b.txt
- p9_turbo_kv_4b.txt
- p9_uniform_4b.txt
- summary.csv
- bench_kernel.cpp
- bench_latency.cpp
- bench_memory.cpp
- bench_throughput.cpp
- niah_12000w.txt
- niah_16000w.txt
- niah_2000w.txt
- niah_4000w.txt
- niah_8000w.txt
- aggregate.py
- continuation_origin.json
- continuation_origin.py
- findings.md
- master_table.md
- raw_20260411T024534.log
- raw_20260411T043236.log
- raw_20260411T052319.log
- raw_anchor_20260411T141243.log
- raw_fp32ctrl_20260411T091023.log
- raw_seedsweep_20260411T101343.log
- redeep_proxy.json
- redeep_proxy.py
- redeep_subtype.json
- redeep_subtype.py
- results_20260411T024534.csv
- results_20260411T024534.md
- results_20260411T043236.csv
- results_20260411T043236.md
- results_20260411T052319.csv
- results_20260411T052319.md
- results_anchor_20260411T141243.csv
- results_fp32ctrl_20260411T091023.csv
- results_seedsweep_20260411T101343.csv
- 2026-04-15_accelerate_gemm_microbench.md
- 2026-04-15_throughput_vs_llamacpp.md
- 2026-04-18_iq4_xs_tier.md
- 2026-04-18_moe_and_q4_k_m_breakthrough.md
- 2026-04-18_prefill_analysis.md
- 2026-04-18_q3_breakthrough.md
- 2026-04-18_q3_k_s_tier.md
- 2026-04-18_vs_mlx_vs_llamacpp.md
- 2026-04-19_qwen36_quant_matrix_16gb.md
- 2026-04-20_bpe_fix_proof.md
- 2026-04-20_longseq_transformer_bug.md
- 2026-04-20_perf_ceiling_analysis.md
- 2026-04-20_q4kxs_vs_q5km_iq4xs.md
- 2026-04-20_ttft_daily_driver.md
- 2026-04-21_bpe_utf8_fix_proof.md
- 2026-04-22_kv_refparity_clean_bill.md
- 2026-04-22_moe_temp_cliff_break.md
- attention_aware_quantization.md
- document_level_rag_breakthrough.md
- document_level_rag_report.md
- layer_adaptive_analysis.md
- long_context_kv_compression.md
- ppl_comparison.md
- progressive_kv_compression.md
- real_kv_compression.md
- speed_comparison.md
- turboquant_reproduction.md
- wikitext2.md
- ci_smoke.py
- eval_acme.py
- eval_wikitext.py
- eval_wikitext_large.py
- __init__.py
- _llm.py
- _text.py
- gist.py
- kv_cache.py
- locator.py
- lookup.py
- researcher.py
- verifier.py
- smoke_test.py
- README.md
- rlv_orchestrator.py
- ablation_test.sh
- attention_dist_test.sh
- auto_profile.sh
- bandwidth_bench.sh
- bench_cblas_expert.c
- bench_kv_overhead.cpp
- compare_llamacpp.sh
- cow_bench.sh
- document_level_rag_test.sh
- generate_long_text.py
- generation_regression_test.sh
- kv_quality_bench.sh
- long_context_bench.sh
- long_context_ppl_bench.sh
- long_context_results.csv
- long_quality_test.sh
- niah_anchor_test.sh
- niah_fp32_control.sh
- niah_seed_sweep.sh
- niah_test.sh
- plot_memory.py
- ppl_standard.sh
- quant_time_bench.sh
- qwen35_validation.cpp
- real_model_validation.cpp
- sampling_test.sh
- speculative_decode.c
- speed_int_vs_float.cpp
- speed_int_vs_float_v2.c
- test_age_quant.c
- test_delta_quant.c
- test_head_sensitivity.c
- test_multihash_dequant.c
- test_svd_kv.c
- tq_bench.cpp
- tq_quality.cpp
- __init__.py
- setup.py
- test_quantcpp.py
- __init__.py
- _binding.py
- cli.py
- test_basic.py
- test_python.py
- __init__.py
- _core.py
- .gitignore
- example.py
- MANIFEST.in
- pyproject.toml
- quant.h
- README.md
- setup.py
- turboquant.py
- turboquant_cli.py
- CMakeCCompilerId.c
- CMakeCXXCompilerId.cpp
- CMakeOBJCCompilerId.m
- CMakeCCompiler.cmake
- CMakeCXXCompiler.cmake
- CMakeDetermineCompilerABI_C.bin
- CMakeDetermineCompilerABI_CXX.bin
- CMakeDetermineCompilerABI_OBJC.bin
- CMakeOBJCCompiler.cmake
- CMakeSystem.cmake
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- quant.c.o.d
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- tq_avx2.c.o.d
- tq_cpu_dispatch.c.o.d
- tq_generic.c.o.d
- tq_neon.c.o.d
- tq_metal_dispatch.m.o.d
- tq_paged_cache.c.o.d
- tq_progressive.c.o.d
- tq_codebook.c.o.d
- tq_context.c.o.d
- tq_mixed.c.o.d
- tq_polar.c.o.d
- tq_qjl.c.o.d
- tq_rht.c.o.d
- tq_traits.c.o.d
- tq_turbo.c.o.d
- tq_turbo_kv.c.o.d
- tq_uniform.c.o.d
- tq_value_quant.c.o.d
- tq_adaptive.c.o.d
- tq_generate.c.o.d
- tq_gguf.c.o.d
- tq_gguf_quants.c.o.d
- tq_model.c.o.d
- tq_moe.c.o.d
- tq_ops.c.o.d
- tq_tokenizer.c.o.d
- tq_transformer.c.o.d
- build.make
- cmake_clean.cmake
- cmake_clean_target.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- DependInfo.cmake
- progress.make
- build.make
- cmake_clean.cmake
- compiler_depend.make
- compiler_depend.ts
- depend.make
- DependInfo.cmake
- flags.make
- link.txt
- progress.make
- cmake.check_cache
- CMakeConfigureLog.yaml
- CMakeDirectoryInformation.cmake
- CMakeRuleHashes.txt
- Makefile.cmake
- Makefile2
- progress.marks
- TargetDirectories.txt
- cmake_install.cmake
- CMakeCache.txt
- Makefile
- tq_elementwise.air
- tq_fused_cache.air
- tq_matmul.air
- tq_moe_kernel.air
- tq_polar.air
- tq_qjl.air
- tq_turbo.air
- tq_value.air
- turboquant.metallib
- hero.png
- hero_v06.png
- long_context_memory.png
- breaking-3bit-barrier.md
- fp32-basin-theory.md
- kv-cache-landscape.md
- single-header-llm.md
- batched_prefill_handoff.md
- 2026-04-12_0900.md
- arxiv-metadata.md
- build.sh
- hf-blog-draft.md
- md2tex.py
- twitter-thread.md
- working-memory-cliff.md
- working-memory-cliff.tex
- 2504.19874v1.pdf
- progressive_kv_compression_en.md
- progressive_kv_compression_ko.md
- quant_cpp_arxiv_draft.md
- quant_cpp_tech_report.md
- turboquant_deep_dive.md
- turboquant_paper_analysis.md
- prd_v0.1.md
- prd_v0.2.md
- prd_v0.3.md
- prd_v0.4.md
- prd_v0.5.md
- prd_v0.6.md
- prd_v0.7.md
- prd_v0.8.md
- prd_v0.9.md
- prd_v1.0.md
- prd_v1.1-long-context-proof.md
- prd_v1.2.md
- prd_v1.3.md
- prd_v1.4.md
- wbs_v0.1.md
- wbs_v0.2.md
- wbs_v0.3.md
- wbs_v0.4.md
- wbs_v0.5.md
- wbs_v0.6.md
- wbs_v0.7.md
- wbs_v0.8.md
- wbs_v1.1.md
- wbs_v1.2.md
- wbs_v1.3.md
- wbs_v1.4.md
- phase_a2_large_doc_guide.md
- pivot_plan.md
- rlv_day5_m3_plan.md
- rlv_roadmap_v2.md
- 2026-03-31-hackernews-ko.md
- 2026-03-31-hackernews.md
- 2026-03-31-reddit-localllama-ko.md
- 2026-03-31-reddit-localllama.md
- 2026-04-01-hackernews-1bit-kv.md
- 2026-04-01-intro-ko.md
- 2026-04-01-intro.md
- 2026-04-01-reddit-1bit-kv-ko.md
- 2026-04-01-reddit-1bit-kv.md
- 2026-04-01-v02-validated-ko.md
- 2026-04-01-v02-validated.md
- 2026-04-01-what-we-achieved-ko.md
- 2026-04-01-what-we-achieved.md
- 2026-04-02-reddit-localllama-ko.md
- 2026-04-02-reddit-localllama.md
- 2026-04-03-reddit-responses-v2.md
- 2026-04-03-reddit-responses.md
- 2026-04-04-korean-community.md
- 2026-04-04-show-hn.md
- 2026-04-04-single-header-launch.md
- 2026-04-05-localllama-single-header-responses.md
- 2026-04-05-localllm-7x-context-responses.md
- 2026-04-05-localllm-turboquant-responses.md
- 2026-04-05-reddit-comparison-post.md
- 2026-04-05-show-hn-v2.md
- 2026-04-05-show-hn-v3.md
- 2026-04-06-localllama-single-header-responses-v2.md
- 2026-04-06-reddit-comparison-chart-responses.md
- 2026-04-06-reddit-comparison-chart.md
- 2026-04-08-reddit-v071-parity-ko.md
- 2026-04-08-reddit-v071-parity.md
- 2026-04-09-awesome-list-prs.md
- 2026-04-09-llama-cpp-pr-draft.md
- 2026-04-09-reddit-v081-pip-install-ko.md
- 2026-04-09-reddit-v081-pip-install.md
- 2026-04-10-reddit-progressive-kv.md
- 2026-04-11-reddit-working-memory-cliff-ko.md
- 2026-04-11-reddit-working-memory-cliff.md
- 2026-04-12-v013-reddit-post.md
- expert-faq.md
- engine_calibration_plan.md
- mla_support_plan.md
- 2026-04-12_phi3_support.md
- announcement_en.md
- announcement_ko.md
- api.md
- architecture.md
- benchmarks.md
- beyond-rag-manifesto.md
- custom-quantization.md
- docker.md
- engine_basin_tiers.md
- env_vars.md
- getting-started.md
- integration_guide.md
- phase3_rlv_challenge.md
- plan-gpt-oss-support.md
- positioning.md
- promotion-strategy-v0.12.md
- qwen35_validation_results.md
- qwen35moe_long_gen.md
- real_model_results.md
- refs_audit_v0.2.md
- RELEASE_NOTES.md
- strategy_progressive_kv.md
- supported_models.md
- supported_models_tier.md
- technical_report.md
- tier_benchmark_2026_04_25.md
- turboquant-gap-analysis.md
- wbs_v0.1.md
- ab_test.c
- benchmark_types.cpp
- demo_real_model.c
- embed_chat.c
- embed_kv_compare.c
- embed_minimal.c
- llamacpp_integration.cpp
- long_context_qa.py
- minimal.c
- python_quickstart.py
- qwen35_inference_demo.py
- README.md
- server_example.sh
- single_header_example.c
- standalone.c
- gpu_team.toml
- run.sh
- team.toml
- tq_engine.h
- tq_gguf.h
- tq_spec.h
- tq_types.h
- turboquant.h
- ggml-turbo-quant.c
- ggml-turbo-quant.h
- README.md
- test_turbo_quant_kv.cpp
- README.md
- test_integration.cpp
- tq_ggml_type.h
- tq_kv_cache.cpp
- README.md
- tq_cache_engine.py
- bench_26b_a4b.sh
- bench_my_mac.sh
- check_stale.sh
- check_sync.sh
- demo_35b_moe.sh
- quickstart.sh
- qwen36_quality_probe.sh
- release_notes_v0.1.0.md
- sanitize.sh
- test_long_seq.sh
- test_models.sh
- test_prefill.sh
- test_tokenizer.sh
- validate_bpe_fix.sh
- index.html
- og-image.png
- layer11_keys.bin
- layer11_values.bin
- layer15_keys.bin
- layer15_values.bin
- layer3_keys.bin
- layer3_values.bin
- layer7_keys.bin
- layer7_values.bin
- model_info.txt
- layer0_keys.bin
- layer0_values.bin
- layer1_keys.bin
- layer1_values.bin
- layer2_keys.bin
- layer2_values.bin
- layer3_keys.bin
- layer3_values.bin
- README.md
- tq_format_v1.md
- tq_operators_v1.md
- tq_avx2.c
- tq_cpu_dispatch.c
- tq_generic.c
- tq_neon.c
- tq_sve.c
- tq_cuda_common.cuh
- tq_cuda_dispatch.cu
- tq_fused_cache.cu
- tq_polar.cu
- tq_qjl.cu
- tq_turbo.cu
- tq_value.cu
- tq_elementwise.metal
- tq_fused_cache.metal
- tq_matmul.metal
- tq_metal_common.h
- tq_metal_dispatch.m
- tq_moe_kernel.metal
- tq_polar.metal
- tq_qjl.metal
- tq_turbo.metal
- tq_value.metal
- tq_fused_cache.cpp
- tq_polar.cpp
- tq_qjl.cpp
- tq_rocm_common.h
- tq_rocm_dispatch.cpp
- tq_turbo.cpp
- tq_value.cpp
- polar_quantize.comp
- qjl_quantize.comp
- turbo_quantize.comp
- value_quantize.comp
- tq_vulkan.h
- tq_vulkan_dispatch.c
- tq_vulkan_init.c
- tq_paged_cache.c
- tq_progressive.c
- tq_codebook.c
- tq_context.c
- tq_mixed.c
- tq_polar.c
- tq_qjl.c
- tq_rht.c
- tq_traits.c
- tq_turbo.c
- tq_turbo_kv.c
- tq_uniform.c
- tq_value_quant.c
- tq_adaptive.c
- tq_generate.c
- tq_gguf.c
- tq_gguf_quants.c
- tq_llama_kernels.c
- tq_model.c
- tq_moe.c
- tq_ops.c
- tq_tokenizer.c
- tq_transformer.c
- tq_server.c
- tq_server.h
- dump_qwen35_kv.py
- dump_real_kv_cache.py
- generate_test_vectors.py
- polar_quant_ref.py
- qjl_ref.py
- turbo_quant_ref.py
- test_adaptive.cpp
- test_attention_all_types.cpp
- test_attention_distribution.cpp
- test_codebook_theory.cpp
- test_cumulative_error.cpp
- test_edge_cases.cpp
- test_gemma4_arch.cpp
- test_gguf_moe.cpp
- test_head_sensitivity.cpp
- test_int_attention.cpp
- test_kv_asymmetric.cpp
- test_metal_moe.cpp
- test_mixed.cpp
- test_multiblock.cpp
- test_multihash_dim64.cpp
- test_neon_scalar.cpp
- test_ops.cpp
- test_paged_cache.cpp
- test_polar.cpp
- test_progressive.cpp
- test_q2_weights.cpp
- test_qjl.cpp
- test_rate_distortion.cpp
- test_rht.cpp
- test_simd_avx2.cpp
- test_simd_neon.cpp
- test_threading.cpp
- test_tqm.cpp
- test_turbo.cpp
- test_turbo_kv.cpp
- test_turbo_kv_1b.cpp
- test_unbiased.cpp
- test_uniform.cpp
- test_value.cpp
- check_tokens.c
- diff_layers.py
- hf_dump.py
- hf_smoke.py
- .gitignore
- diff_layers.py
- engine_reference.sh
- hf_reference.py
- matrix.json
- README.md
- run_matrix.sh
- analyze_qwen36_parity.py
- basin_compat.sh
- coh_bench.sh
- debug_compare.c
- debug_deltanet.py
- gguf_inspect.c
- layer_diff_qwen36.sh
- phi3_infer_test.c
- quant.c
- quant_server_unified.c
- qwen36_parity.sh
- run_qwen36_longgen_loop.py
- run_qwen36_loop.py
- test_batched_matmul.c
- tq
- tq_chat.py
- tq_convert.c
- tq_realtime_demo.py
- tq_convert.yml
- Info.plist
- tq_run.yml
- Info.plist
- .npmignore
- _headers
- build.sh
- coi-serviceworker.js
- index.d.ts
- index.html
- index.js
- index.mjs
- package.json
- quant.js
- quant.wasm
- quant_wasm.c
- README.md
- .dockerignore
- .gitignore
- CHANGELOG.md
- CLAUDE.md
- CMakeLists.txt
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- docker-compose.yml
- Dockerfile
- LICENSE
- Makefile
- program.md
- quant.h
- README.ko.md
- README.md
- requirements.txt
- ROADMAP.md
- score.sh
- SECURITY.md
// repository documentation
Was this content helpful?
(0 ratings)
