Skip to content

refactor(decoder): unify .generate() behind KVCacheBackend and default CUDA to IoBinding. - #11

Merged
talmago merged 2 commits into
mainfrom
talmago/kv_cache_backend
Aug 17, 2026
Merged

talmago merged 2 commits into
mainfrom
talmago/kv_cache_backend

Conversation

@talmago

@talmago talmago commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Rename KvCache to KVCache, add a CudaKVCache backend in cuda_backend.rs, and keep a single generate loop. CUDA EP now uses device KV by default (FAST_LIGHTONOCR_CUDA_HOST_KV to force host).

…fault CUDA to `IoBinding`.

Rename `KvCache` to `KVCache`, add a `CudaKVCache` backend in `cuda_backend.rs`, and keep a single generate loop. CUDA EP now uses device KV by default (`FAST_LIGHTONOCR_CUDA_HOST_KV` to force host).
@talmago
talmago merged commit 7b105c1 into main Aug 17, 2026
1 check passed
@talmago
talmago deleted the talmago/kv_cache_backend branch August 17, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant