dsv4.1: Engram module and request history support (#39666)

Co-authored-by: BBuf <1182563586@qq.com>
This commit is contained in:
Liangsheng Yin
2026-09-16 23:49:47 -07:00
committed by GitHub
co-authored by BBuf
parent 8ae4a39b50
commit 3401b75240
8 changed files with 1022 additions and 10 deletions
@@ -73,6 +73,8 @@ def _stub_for_initialize(
num_attention_layers=1,
context_len=64,
use_ngram_embedding=False,
ngram_embedding_n=0,
use_engram=False,
)
return stub
@@ -111,6 +111,8 @@ def _hybrid_stub_for_initialize(
num_attention_layers=1,
context_len=64,
use_ngram_embedding=False, # short-circuits NgramEmbeddingManager
ngram_embedding_n=0,
use_engram=False,
)
return stub