安装与设置
- 通过
pip install deepsparse安装 Python 包 - 选择一个 SparseZoo 模型,或使用 Optimum 将支持的模型导出为 ONNX 格式
LLM
有一个 DeepSparse LLM 封装,可以通过以下方式访问:config 参数传递额外参数:
通过 MCP 将这些文档连接到 Claude、VSCode 等,获取实时答案。
使用 LangChain Python 集成 Deepsparse。
pip install deepsparse 安装 Python 包config 参数传递额外参数: