产品 |
是否支持 |
---|---|
√ |
|
x |
|
x |
|
x |
|
x |
在开启CacheManager场景下,配置是否开启远端Cache可直接访问功能。
开启该Option后,会在本地缓存远端Cache元数据(索引,内存地址等),从而加速Pull流程。但也会引入相关约束,详见约束说明。
1 | enable_remote_cache_accessible(enable_remote_cache_accessible) |
参数名称 |
数据类型 |
取值说明 |
---|---|---|
enable_remote_cache_accessible |
bool |
是否开启远端Cache可直接访问功能。 True:开启,False:不开启,默认为不开启。该Option仅在开启CacheManager的场景下生效,否则将被忽略。 |
1 2 3 | from llm_datadist import LLMConfig llm_config = LLMConfig() llm_config.enable_remote_cache_accessible = True |
正常情况下无返回值。
参数错误可能抛出TypeError或ValueError。