From 89629b098a4243298860159cd9e253b8a7e9004d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E6=94=80?= Date: Thu, 4 Dec 2025 15:01:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0mindspore=5Flite=E4=B8=8E?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E6=A1=86=E6=9E=B6=E5=85=B1=E7=94=A8=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/lite/docs/source_en/mindir/runtime_python.md | 2 ++ docs/lite/docs/source_zh_cn/mindir/runtime_python.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/lite/docs/source_en/mindir/runtime_python.md b/docs/lite/docs/source_en/mindir/runtime_python.md index 6432b13442..820719dae4 100644 --- a/docs/lite/docs/source_en/mindir/runtime_python.md +++ b/docs/lite/docs/source_en/mindir/runtime_python.md @@ -8,6 +8,8 @@ This tutorial provides a sample program for MindSpore Lite to perform cloud-side MindSpore Lite cloud-side inference is supported for running in Linux environment deployment only. Atlas 200/300/500 inference product, Atlas inference series, Atlas training series and CPU hardware backends are supported. +> When using MindSpore Lite together with other third-party frameworks, please ensure that the import actions of other third-party frameworks are placed before `mindspore_lite.Model.build_from_file` and `mindspore_lite.ModelGroup.cal_max_size_of_workspace`, otherwise it may lead to unexpected issues. + The following is an example of how to use the Python Cloud-side Inference Demo on a Linux X86 operating system and a CPU hardware platform, using Ubuntu 18.04 as an example: - One-click installation of inference-related model files, MindSpore Lite and its required dependencies. See the [One-click installation](#one-click-installation) section for details. diff --git a/docs/lite/docs/source_zh_cn/mindir/runtime_python.md b/docs/lite/docs/source_zh_cn/mindir/runtime_python.md index 0cd116ec2a..22e548d6a9 100644 --- a/docs/lite/docs/source_zh_cn/mindir/runtime_python.md +++ b/docs/lite/docs/source_zh_cn/mindir/runtime_python.md @@ -8,6 +8,8 @@ MindSpore Lite云侧推理仅支持在Linux环境部署运行。支持Atlas 200/300/500推理产品、Atlas推理系列产品、Atlas训练系列产品和CPU硬件后端。 +> 当MindSpore Lite与其他第三方框架共用时,请确保将其他第三方框架的导入操作放在`mindspore_lite.Model.build_from_file`和`mindspore_lite.ModelGroup.cal_max_size_of_workspace`方法调用之前,否则可能导致不可预见的问题。 + 下面以Ubuntu 18.04为例,介绍了在Linux X86操作系统配合CPU硬件平台下如何使用Python云侧推理Demo: - 一键安装推理相关模型文件、MindSpore Lite及其所需的依赖,详情参见[一键安装](#一键安装)小节。 -- Gitee