mirror of
https://github.com/kvcache-ai/kvcache-blog.git
synced 2026-11-05 01:07:35 +00:00
[PR #48] [MERGED] kvcache-simulator: commit the bundled resources, release 0.1.3 #48
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/kvcache-blog#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/kvcache-blog/pull/48
Author: @Venkat2811
Created: 9/25/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @ykwd
Base:
main← Head:fix/simulator-bundled-resources📝 Commits (1)
1b5b379kvcache-simulator: commit the bundled resources, release 0.1.3📊 Changes
8 files changed (+1974 additions, -2 deletions)
View changed files
📝
.gitignore(+2 -0)📝
packages/kvcache-simulator/README.md(+9 -0)📝
packages/kvcache-simulator/pyproject.toml(+1 -1)📝
packages/kvcache-simulator/src/kvcache_sim/__init__.py(+1 -1)➕
packages/kvcache-simulator/src/kvcache_sim/resources/__init__.py(+0 -0)➕
packages/kvcache-simulator/src/kvcache_sim/resources/kv-cache-lab-native-sim.cc(+710 -0)➕
packages/kvcache-simulator/src/kvcache_sim/resources/models.yaml(+1244 -0)➕
scripts/sync-simulator-resources.sh(+7 -0)📄 Description
Summary
A clean clone cannot build the package: the root
.gitignoreruleresources/(Hugo's cache) also ignorespackages/kvcache-simulator/src/kvcache_sim/resources/, so the bundledmodels.yamland C++ core were never committed. Afterpip install ./packages/kvcache-simulator,kvcache-simulator list-modelsfails withNo module named 'kvcache_sim.resources'. The batch core the cpp backend runs (--policy batch --capacities ...) existed only inside the 0.1.2 wheel;scripts/kv-cache-lab-native-sim.ccis the single-budget core of the precompute pipeline.calculator.pyalready carries Kimi K3, unreleased.Changes
.gitignore: re-include the package's resources folderresources/kv-cache-lab-native-sim.cc(the batch core from the 0.1.2 wheel) andresources/models.yaml, plusscripts/sync-simulator-resources.shto refresh the catalog copyValidation
pip install ./packages/kvcache-simulator;kvcache-simulator list-modelsshows kimi-k3pytest packages/kvcache-simulator: 23 passed; the cpp/python parity test compiles the committed corenode --test tests/*.test.mjs: 154 of 155, same asmain; the failing catalog test predates this change🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.