dsv4.1: Engram module and request history support (#39666)
Co-authored-by: BBuf <1182563586@qq.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user