Skip to content

Commit

Permalink
fix cann-kernels installation (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
shink authored Feb 24, 2025
1 parent 367e0df commit f059a2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _static/ascend_actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ $(document).ready(function () {
var kernel_name = parts[parts.length - 1];
$('#install_kernel_section').show();
// download and install kernel
$('#codecell13').html('wget "' + kernel_url + '"\nsh ' + kernel_name + ' --install');
$('#codecell14').html('wget "' + kernel_url + '"\nsh ' + kernel_name + ' --install');
}

$('#use_docker_section').hide();
Expand Down
14 changes: 7 additions & 7 deletions sources/ascend/quick_install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,14 @@ Python 3.8, 3.9, 3.10
<pre>Ascend-cann-toolkit install success.</pre>
</div>
</div>
<p><b>2.3.3 设置环境变量</b></p>
<div class="highlight-default notranslate">
<div class="highlight">
<pre>source /usr/local/Ascend/ascend-toolkit/set_env.sh</pre>
</div>
</div>
<div id="install_kernel_section">
<p><b>2.3.3 安装算子包</b></p>
<p><b>2.3.4 安装算子包</b></p>
<div class="highlight-default notranslate">
<div class="highlight">
<pre></pre>
Expand All @@ -188,12 +194,6 @@ Python 3.8, 3.9, 3.10
<pre>Ascend-cann-kernels install success.</pre>
</div>
</div>
<p><b>2.3.4 设置环境变量</b></p>
<div class="highlight-default notranslate">
<div class="highlight">
<pre>source /usr/local/Ascend/ascend-toolkit/set_env.sh</pre>
</div>
</div>
</section>
<section id="use_docker_section">
<h3>2.3 运行Docker容器</h3>
Expand Down

0 comments on commit f059a2c

Please sign in to comment.