{"id":27189,"date":"2025-04-19T18:41:38","date_gmt":"2025-04-19T10:41:38","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/27189.html"},"modified":"2025-04-19T18:41:38","modified_gmt":"2025-04-19T10:41:38","slug":"%e5%8d%8e%e4%b8%ba%e6%98%87%e8%85%be910b3%e6%9c%8d%e5%8a%a1%e5%99%a8%e7%8e%af%e5%a2%83%e6%90%ad%e5%bb%ba%e7%ac%94%e8%ae%b0","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/27189.html","title":{"rendered":"\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0"},"content":{"rendered":"<\/p>\n<h4>\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0<\/h4>\n<p>  \u5728\u534e\u4e3a\u6607\u817e\u670d\u52a1\u5668\u521b\u5efaMindIE\u63a8\u7406\u5bb9\u5668\u73af\u5883 <\/p>\n<p>\u76f8\u5173\u56fa\u4ef6\u3001\u9a71\u52a8\u3001CANN\u4ee5\u53ca\u5bf9\u5e94\u7684\u955c\u50cf\u83b7\u53d6\u5730\u5740\u5982\u4e0b\u6240\u793a&#xff1a;<\/p>\n<p>https:\/\/modelers.cn\/models\/xieyuxiang\/mindie_1.0.0_image\/tree\/main<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104132-68037ddc2c231.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104132-68037ddcc9ad3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5b89\u88c5openmind-hub<\/p>\n<p>pip install openmind<span class=\"token operator\">&#8211;<\/span>hub<\/p>\n<p>\u83b7\u53d6\u76f8\u5173\u8d44\u6e90\u5305&#xff1a;<\/p>\n<p><span class=\"token keyword\">from<\/span> openmind_hub <span class=\"token keyword\">import<\/span> snapshot_download<br \/>\nsnapshot_download<span class=\"token punctuation\">(<\/span>repo_id<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;xieyuxiang\/mindie_1.0.0_image&#034;<\/span><span class=\"token punctuation\">,<\/span>repo_type<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;model&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104133-68037ddd399cf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6839\u636e\u4e0a\u56fe\u6240\u793a&#xff0c;\u8fdb\u5165\u5230\u6587\u4ef6\u7f13\u5b58\u76ee\u5f55 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104133-68037ddd771d2.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5b89\u88c5\u76f8\u5173\u7684\u9a71\u52a8\u4ee5\u53ca\u5de5\u5177\u5305&#xff1a;<\/p>\n<p>\u589e\u52a0\u8f6f\u4ef6\u5305\u7684\u53ef\u6267\u884c&#xff08; * \u4ee3\u8868\u6240\u6709\u7684run\u6587\u4ef6&#xff09;<\/p>\n<p>chmod <span class=\"token operator\">&#043;<\/span>x  <span class=\"token operator\">*<\/span><span class=\"token punctuation\">.<\/span>run<\/p>\n<p>\u5b8c\u6210\u9a71\u52a8\u5b89\u88c5&#xff0c;\u8f6f\u4ef6\u5305\u9ed8\u8ba4\u5b89\u88c5\u8def\u5f84\u4e3a\u201c\/usr\/local\/Ascend\u201d<\/p>\n<p><span class=\"token punctuation\">.<\/span><span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">&#8211;<\/span>hdk<span class=\"token operator\">&#8211;<\/span><span class=\"token number\">910b<\/span><span class=\"token operator\">&#8211;<\/span>npu<span class=\"token operator\">&#8211;<\/span>driver_24<span class=\"token punctuation\">.<\/span><span class=\"token number\">1.<\/span>0_linux<span class=\"token operator\">&#8211;<\/span>aarch64<span class=\"token punctuation\">.<\/span>run <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>full <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>install<span class=\"token operator\">&#8211;<\/span><span class=\"token keyword\">for<\/span><span class=\"token operator\">&#8211;<\/span><span class=\"token builtin\">all<\/span><\/p>\n<p>\u5b89\u88c5\u5b8c\u6bd5&#xff0c;\u5982\u4e0b\u4e0b\u56fe\u6240\u793a&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104133-68037dddaeb0b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6267\u2f8f\u5982\u4e0b\u547d\u4ee4&#xff0c;\u5b8c\u6210\u5b89\u88c5\u56fa\u4ef6<\/p>\n<p><span class=\"token punctuation\">.<\/span><span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">&#8211;<\/span>hdk<span class=\"token operator\">&#8211;<\/span><span class=\"token number\">910b<\/span><span class=\"token operator\">&#8211;<\/span>npu<span class=\"token operator\">&#8211;<\/span>firmware_7<span class=\"token punctuation\">.<\/span><span class=\"token number\">5.0<\/span><span class=\"token number\">.3<\/span><span class=\"token number\">.220<\/span><span class=\"token punctuation\">.<\/span>run  <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>full<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104133-68037dddf13b3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4e0a\u8ff0\u6267\u884c\u5b8c\u6bd5\u540e&#xff1a; \u901a\u8fc7npu-smi info \u67e5\u770b\u5361\u662f\u5426\u6210\u529f&#xff08;\u56fe\u4e2d\u9a71\u52a8\u7248\u672c\u4fe1\u606f\u4ec5\u4f9b\u53c2\u8003&#xff0c;\u4ee5\u5b9e\u9645\u4e3a\u51c6&#xff09;\u5982\u56fe: <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104134-68037dde36b0b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5b89\u88c5toolkit and kernels\u524d\u7684\u76f8\u5173\u51c6\u5907\u5de5\u4f5c<\/p>\n<p>\u5b89\u88c5\u524d&#xff0c;\u5efa\u8bae\u6267\u884c\u547d\u4ee4pip3 install &#8211;upgrade pip\u8fdb\u884c\u5347\u7ea7&#xff0c;\u907f\u514d\u56e0pip\u7248\u672c\u8fc7\u4f4e\u5bfc\u81f4\u5b89\u88c5\u5931\u8d25 \u5b89\u88c5python3_pip \u5b89\u88c5\u6b64\u5b98\u65b9\u662f\u4f7f\u7528yum install -y python3_pip \u6307\u4ee4&#xff0c;\u4f46\u6211\u5728\u5b89\u88c5\u65f6\u4f7f\u7528\u8be5\u6307\u4ee4\u65e0\u6cd5\u5b89\u88c5&#xff0c;\u6240\u4ee5\u91c7\u7528\u4ee5\u4e0b\u6d41\u7a0b\u5b89\u88c5pip \u4f7f\u7528 get-pip.py \u811a\u672c\u6765\u5b89\u88c5 pip \u4e0b\u8f7d get-pip.py \u811a\u672c curl https:\/\/bootstrap.pypa.io\/get-pip.py -o get-pip.py <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104134-68037dde7df1b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u4f7f\u7528 Python \u8fd0\u884c\u811a\u672c\u6765\u5b89\u88c5 pip&#xff1a; python3 get-pip.py<\/p>\n<p>\u67e5\u770b\u65f6\u5019\u5b89\u88c5\u6210\u529f&#xff1a; pip &#8211;version \u5177\u4f53\u5982\u4e0b\u56fe\u6240\u793a&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104134-68037dde9d7cf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5b89\u88c5\u76f8\u5173\u4f9d\u8d56 pip install &#8211;upgrade pip <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104134-68037ddebc4df.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> pip install &#8211;upgrade pip &#8211;trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104134-68037ddedb59b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>pip install attrs numpy decorator sympy cffi pyyaml pathlib2 psutil protobuf scipy requests absl-py &#8211;trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104135-68037ddf05c9f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5b89\u88c5toolkit<\/p>\n<p><span class=\"token punctuation\">.<\/span><span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">&#8211;<\/span>cann<span class=\"token operator\">&#8211;<\/span>toolkit_8<span class=\"token punctuation\">.<\/span><span class=\"token number\">0.<\/span>0_linux<span class=\"token operator\">&#8211;<\/span>aarch64<span class=\"token punctuation\">.<\/span>run <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>install<\/p>\n<p>\u5b89\u88c5\u6210\u529f\u5982\u4e0b\u6240\u793a&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104135-68037ddf29c64.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104135-68037ddf7fb3e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u6dfb\u52a0toolkit\u73af\u5883\u53d8\u91cf<\/p>\n<p>echo <span class=\"token string\">&#034;source \/usr\/local\/Ascend\/ascend-toolkit\/set_env.sh&#034;<\/span> <span class=\"token operator\">&gt;&gt;<\/span> <span class=\"token operator\">~<\/span><span class=\"token operator\">\/<\/span><span class=\"token punctuation\">.<\/span>bashrc<br \/>\nsource <span class=\"token operator\">~<\/span><span class=\"token operator\">\/<\/span><span class=\"token punctuation\">.<\/span>bashrc<\/p>\n<p>\u5b89\u88c5kernel<\/p>\n<p><span class=\"token punctuation\">.<\/span><span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">&#8211;<\/span>cann<span class=\"token operator\">&#8211;<\/span>kernels<span class=\"token operator\">&#8211;<\/span>910b_8<span class=\"token punctuation\">.<\/span><span class=\"token number\">0.<\/span>0_linux<span class=\"token operator\">&#8211;<\/span>aarch64<span class=\"token punctuation\">.<\/span>run <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>install<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104135-68037ddfd518c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104136-68037de0344dd.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u5b89\u88c5 Ascend-docker-runtime Ascend-docker-runtime_6.0.RC3_linux-aarch64.run \u4e0b\u8f7d\u5730\u5740\u5982\u4e0b&#xff1a; https:\/\/gitee.com\/ascend\/ascend-docker-runtime\/releases<\/p>\n<p>chmod <span class=\"token operator\">&#043;<\/span>x Ascend<span class=\"token operator\">&#8211;<\/span>docker<span class=\"token operator\">&#8211;<\/span>runtime_6<span class=\"token punctuation\">.<\/span><span class=\"token number\">0.<\/span>RC3_linux<span class=\"token operator\">&#8211;<\/span>aarch64<span class=\"token punctuation\">.<\/span>run<br \/>\n<span class=\"token punctuation\">.<\/span><span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">&#8211;<\/span>docker<span class=\"token operator\">&#8211;<\/span>runtime_6<span class=\"token punctuation\">.<\/span><span class=\"token number\">0.<\/span>RC3_linux<span class=\"token operator\">&#8211;<\/span>aarch64<span class=\"token punctuation\">.<\/span>run  <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>install<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104136-68037de07b391.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5b89\u88c5Pytorch\u6846\u67b6<\/p>\n<p>pip install torch<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">2.1<\/span><span class=\"token number\">.0<\/span> torch_npu<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">2.1<\/span><span class=\"token number\">.0<\/span> numpy<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token number\">1.24<\/span><span class=\"token number\">.4<\/span> <span class=\"token operator\">&#8211;<\/span>i https<span class=\"token punctuation\">:<\/span><span class=\"token operator\">\/\/<\/span>pypi<span class=\"token punctuation\">.<\/span>tuna<span class=\"token punctuation\">.<\/span>tsinghua<span class=\"token punctuation\">.<\/span>edu<span class=\"token punctuation\">.<\/span>cn<span class=\"token operator\">\/<\/span>simple<\/p>\n<p>\u68c0\u9a8c\u662f\u5426\u5b89\u88c5\u6210\u529f<\/p>\n<p>python3 <span class=\"token operator\">&#8211;<\/span>c <span class=\"token string\">&#034;import torch;import torch_npu; a &#061; torch.randn(3, 4).npu(); print(a &#043; a);&#034;<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104136-68037de09ca78.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u68c0\u6d4b\u6307\u5b9anpu<\/p>\n<p>python3 <span class=\"token operator\">&#8211;<\/span>c <span class=\"token string\">&#034;import torch;import torch_npu;torch_npu.npu.set_device(&#039;npu:1&#039;);a &#061; torch.randn(3, 4).npu(); print(a &#043; a);&#034;<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104136-68037de0d4dff.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u6607\u817e\u670d\u52a1\u5668\u521b\u5efaMindIE\u63a8\u7406\u5bb9\u5668<\/p>\n<p>docker load <span class=\"token operator\">&#8211;<\/span>i mindie1<span class=\"token punctuation\">.<\/span><span class=\"token number\">0.0<\/span><span class=\"token operator\">&#8211;<\/span>ubuntu22<span class=\"token punctuation\">.<\/span><span class=\"token number\">04.<\/span>tar<span class=\"token punctuation\">.<\/span>gz<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104137-68037de1191b7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u67e5\u770b\u672c\u5730\u955c\u50cf&#xff1a;<\/p>\n<p>docker images<\/p>\n<p><img decoding=\"async\" src=\"2025-04-195plfr0j42gu.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u521b\u5efa\u5bb9\u5668&#xff1a;<\/p>\n<p>docker run <span class=\"token operator\">&#8211;<\/span>it <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>ipc<span class=\"token operator\">&#061;<\/span>host <span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>net<span class=\"token operator\">&#061;<\/span>host \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>name mindie1_gqr \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>device<span class=\"token operator\">&#061;<\/span><span class=\"token operator\">\/<\/span>dev<span class=\"token operator\">\/<\/span>davinci6 \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>device<span class=\"token operator\">&#061;<\/span><span class=\"token operator\">\/<\/span>dev<span class=\"token operator\">\/<\/span>davinci7 \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>device<span class=\"token operator\">&#061;<\/span><span class=\"token operator\">\/<\/span>dev<span class=\"token operator\">\/<\/span>davinci_manager \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>device<span class=\"token operator\">&#061;<\/span><span class=\"token operator\">\/<\/span>dev<span class=\"token operator\">\/<\/span>devmm_svm \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span><span class=\"token operator\">&#8211;<\/span>device<span class=\"token operator\">&#061;<\/span><span class=\"token operator\">\/<\/span>dev<span class=\"token operator\">\/<\/span>hisi_hdc \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span>v <span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span>local<span class=\"token operator\">\/<\/span>dcmi<span class=\"token punctuation\">:<\/span><span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span>local<span class=\"token operator\">\/<\/span>dcmi \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span>v <span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span>local<span class=\"token operator\">\/<\/span><span class=\"token builtin\">bin<\/span><span class=\"token operator\">\/<\/span>npu<span class=\"token operator\">&#8211;<\/span>smi<span class=\"token punctuation\">:<\/span><span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span>local<span class=\"token operator\">\/<\/span><span class=\"token builtin\">bin<\/span><span class=\"token operator\">\/<\/span>npu<span class=\"token operator\">&#8211;<\/span>smi \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span>v <span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span>local<span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">\/<\/span>driver<span class=\"token operator\">\/<\/span>lib64<span class=\"token operator\">\/<\/span>common<span class=\"token punctuation\">:<\/span><span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span>local<span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">\/<\/span>driver<span class=\"token operator\">\/<\/span>lib64<span class=\"token operator\">\/<\/span>common \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span>v <span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span>local<span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">\/<\/span>driver<span class=\"token operator\">\/<\/span>lib64<span class=\"token operator\">\/<\/span>driver<span class=\"token punctuation\">:<\/span><span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span>local<span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">\/<\/span>driver<span class=\"token operator\">\/<\/span>lib64<span class=\"token operator\">\/<\/span>driver \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span>v <span class=\"token operator\">\/<\/span>etc<span class=\"token operator\">\/<\/span>ascend_install<span class=\"token punctuation\">.<\/span>info<span class=\"token punctuation\">:<\/span><span class=\"token operator\">\/<\/span>etc<span class=\"token operator\">\/<\/span>ascend_install<span class=\"token punctuation\">.<\/span>info \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span>v <span class=\"token operator\">\/<\/span>etc<span class=\"token operator\">\/<\/span>vnpu<span class=\"token punctuation\">.<\/span>cfg<span class=\"token punctuation\">:<\/span><span class=\"token operator\">\/<\/span>etc<span class=\"token operator\">\/<\/span>vnpu<span class=\"token punctuation\">.<\/span>cfg \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span>v <span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span>local<span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">\/<\/span>driver<span class=\"token operator\">\/<\/span>version<span class=\"token punctuation\">.<\/span>info<span class=\"token punctuation\">:<\/span><span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span>local<span class=\"token operator\">\/<\/span>Ascend<span class=\"token operator\">\/<\/span>driver<span class=\"token operator\">\/<\/span>version<span class=\"token punctuation\">.<\/span>info \\\\<br \/>\n<span class=\"token operator\">&#8211;<\/span>v <span class=\"token operator\">\/<\/span>home<span class=\"token operator\">\/<\/span>GOOGOSOFT_AI<span class=\"token operator\">\/<\/span>huawei<span class=\"token punctuation\">:<\/span><span class=\"token operator\">\/<\/span>home<span class=\"token operator\">\/<\/span>data \\\\<br \/>\nb42967ad8d7b <span class=\"token operator\">\/<\/span><span class=\"token builtin\">bin<\/span><span class=\"token operator\">\/<\/span>bash<\/p>\n<p>\u67e5\u770b\u5bb9\u5668&#xff1a; docker ps -a <img decoding=\"async\" src=\"2025-04-19mjkdlvgprjo.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u4e0b\u8f7d\u6607\u817e\u6a21\u578b&#xff1a;<\/p>\n<p><span class=\"token keyword\">from<\/span> openmind_hub <span class=\"token keyword\">import<\/span> snapshot_download<br \/>\nsnapshot_download<span class=\"token punctuation\">(<\/span>repo_id<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;Jinan_AICC\/DeepSeek-R1-Distill-Qwen-7B-w8a8&#034;<\/span><span class=\"token punctuation\">,<\/span> token<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;your_token&#034;<\/span><span class=\"token punctuation\">,<\/span> repo_type<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;model&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\">#!\/bin\/bash<\/span><\/p>\n<p><span class=\"token comment\"># \u5b9a\u4e49\u8981\u4e0b\u8f7d\u7684\u6587\u4ef6 URL<\/span><br \/>\nFILE_URLS<span class=\"token operator\">&#061;<\/span><span class=\"token punctuation\">(<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/modelers.cn\/coderepo\/web\/v1\/file\/Sunhuan\/PeiXun\/main\/media\/DeepSeek-R1-Distill-Qwen-32B-w8a8.tar.gz&#034;<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/modelers.cn\/coderepo\/web\/v1\/file\/Sunhuan\/PeiXun\/main\/media\/mindie910A_image.tar&#034;<\/span><br \/>\n    <span class=\"token string\">&#034;https:\/\/modelers.cn\/coderepo\/web\/v1\/file\/Sunhuan\/PeiXun\/main\/media\/openwebui_image.tar&#034;<\/span><br \/>\n<span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token comment\"># \u5b9a\u4e49\u4fdd\u5b58\u6587\u4ef6\u7684\u76ee\u5f55<\/span><br \/>\nSAVE_DIR<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;.\/downloads&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u521b\u5efa\u4fdd\u5b58\u76ee\u5f55&#xff08;\u5982\u679c\u4e0d\u5b58\u5728&#xff09;<\/span><br \/>\nmkdir <span class=\"token operator\">&#8211;<\/span>p <span class=\"token string\">&#034;$SAVE_DIR&#034;<\/span><\/p>\n<p><span class=\"token comment\"># \u4f9d\u6b21\u4e0b\u8f7d\u6587\u4ef6<\/span><br \/>\n<span class=\"token keyword\">for<\/span> url <span class=\"token keyword\">in<\/span> <span class=\"token string\">&#034;${FILE_URLS[&#064;]}&#034;<\/span><span class=\"token punctuation\">;<\/span> do<br \/>\n    <span class=\"token comment\"># \u63d0\u53d6\u6587\u4ef6\u540d<\/span><br \/>\n    filename<span class=\"token operator\">&#061;<\/span>$<span class=\"token punctuation\">(<\/span>basename <span class=\"token string\">&#034;$url&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># \u4e0b\u8f7d\u6587\u4ef6<\/span><br \/>\n    echo <span class=\"token string\">&#034;\u6b63\u5728\u4e0b\u8f7d: $filename&#034;<\/span><br \/>\n    wget <span class=\"token operator\">&#8211;<\/span>O <span class=\"token string\">&#034;$SAVE_DIR\/$filename&#034;<\/span> <span class=\"token string\">&#034;$url&#034;<\/span><\/p>\n<p>    <span class=\"token comment\"># \u68c0\u67e5\u4e0b\u8f7d\u662f\u5426\u6210\u529f<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token punctuation\">[<\/span> $? <span class=\"token operator\">&#8211;<\/span>eq <span class=\"token number\">0<\/span> <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span> then<br \/>\n        echo <span class=\"token string\">&#034;\u4e0b\u8f7d\u6210\u529f: $filename&#034;<\/span><br \/>\n    <span class=\"token keyword\">else<\/span><br \/>\n        echo <span class=\"token string\">&#034;\u4e0b\u8f7d\u5931\u8d25: $filename&#034;<\/span><br \/>\n    fi<br \/>\ndone<\/p>\n<p>echo <span class=\"token string\">&#034;\u6240\u6709\u6587\u4ef6\u4e0b\u8f7d\u5b8c\u6210&#xff01;&#034;<\/span><\/p>\n<p>\u6607\u817e\u663e\u5361\u8bad\u7ec3\u955c\u50cf&#xff1a; https:\/\/modelers.cn\/coderepo\/web\/v1\/file\/kristen\/llama-factory-image-910A\/main\/media\/llama-factory-modified.tar<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb962\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0_\u9225\u5b49scend hdk<\/p>\n","protected":false},"author":2,"featured_media":27169,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2164,64],"topic":[],"class_list":["post-27189","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-910b3","tag-64"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/27189.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb962\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0_\u9225\u5b49scend hdk\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/27189.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T10:41:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104132-68037ddc2c231.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27189.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/27189.html\",\"name\":\"\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T10:41:38+00:00\",\"dateModified\":\"2025-04-19T10:41:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/27189.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/27189.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27189.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/27189.html","og_locale":"zh_CN","og_type":"article","og_title":"\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb962\u6b21\uff0c\u70b9\u8d5e17\u6b21\uff0c\u6536\u85cf19\u6b21\u3002\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0_\u9225\u5b49scend hdk","og_url":"https:\/\/www.wsisp.com\/helps\/27189.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T10:41:38+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419104132-68037ddc2c231.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/27189.html","url":"https:\/\/www.wsisp.com\/helps\/27189.html","name":"\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T10:41:38+00:00","dateModified":"2025-04-19T10:41:38+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/27189.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/27189.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/27189.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u534e\u4e3a\u6607\u817e910b3\u670d\u52a1\u5668\u73af\u5883\u642d\u5efa\u7b14\u8bb0"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/27189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=27189"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/27189\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/27169"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=27189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=27189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=27189"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=27189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}