mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-08 16:10:18 +08:00
update model_config.py
This commit is contained in:
parent
7480005822
commit
3a6a6fa8f6
@ -27,7 +27,6 @@ EMBEDDING_MODEL = "text2vec"
|
|||||||
# Embedding running device
|
# Embedding running device
|
||||||
EMBEDDING_DEVICE = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() else "cpu"
|
EMBEDDING_DEVICE = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() else "cpu"
|
||||||
|
|
||||||
|
|
||||||
# supported LLM models
|
# supported LLM models
|
||||||
# llm_model_dict 处理了loader的一些预设行为,如加载位置,模型名称,模型处理器实例
|
# llm_model_dict 处理了loader的一些预设行为,如加载位置,模型名称,模型处理器实例
|
||||||
# 在以下字典中修改属性值,以指定本地 LLM 模型存储位置
|
# 在以下字典中修改属性值,以指定本地 LLM 模型存储位置
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user