文档
lms ls
参考
lms ls
命令显示所有已下载到您机器上的模型列表,包括其大小、架构和参数。
--llm (可选) : 标志
仅显示大型语言模型 (LLM)。未设置时,显示所有模型。
--embedding (可选) : 标志
仅显示嵌入模型
--json (可选) : 标志
以 JSON 格式输出列表
--detailed (可选) : 标志
显示每个模型的详细信息
显示所有已下载的模型
lms ls
输出示例
You have 47 models, taking up 160.78 GB of disk space. LLMs (Large Language Models) PARAMS ARCHITECTURE SIZE lmstudio-community/meta-llama-3.1-8b-instruct 8B Llama 4.92 GB hugging-quants/llama-3.2-1b-instruct 1B Llama 1.32 GB mistral-7b-instruct-v0.3 Mistral 4.08 GB zeta 7B Qwen2 4.09 GB ... (abbreviated in this example) ... Embedding Models PARAMS ARCHITECTURE SIZE text-embedding-nomic-embed-text-v1.5@q4_k_m Nomic BERT 84.11 MB text-embedding-bge-small-en-v1.5 33M BERT 24.81 MB
仅列出 LLM 模型
lms ls --llm
仅列出嵌入模型
lms ls --embedding
获取模型的详细信息
lms ls --detailed
以 JSON 格式输出
lms ls --json
lms ls
支持 --host
标志,用于连接到远程 LM Studio 实例
lms ls --host <host>
为此,远程 LM Studio 实例必须正在运行并可从本地机器访问,例如,在同一子网内可访问。
本页内容
参数
列出所有模型
按模型类型筛选
其他输出格式
在远程 LM Studio 实例上操作