You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2025/06/10/A0-onboarding/index.html
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -20,18 +20,23 @@
20
20
varCONFIG={"hostname":"njudeepengine.github.io","root":"/LLM-Blog/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
<li>在我们提供的 <code>a{x}_env_v{y}.tar</code>(基于 NGC PyTorch)或 <code>a{x}_env_light_v{y}.tar</code>(基于 Ubuntu)的 Docker 镜像 tar 文件中,已传到到 NJU Box,你可以将任意一个下载到你的环境中使用。</li>
308
-
<li>然后按照下面的示例命令一步一步操作:<figureclass="highlight bash"><table><tr><tdclass="gutter"><pre><spanclass="line">1</span><br><spanclass="line">2</span><br><spanclass="line">3</span><br><spanclass="line">4</span><br><spanclass="line">5</span><br><spanclass="line">6</span><br><spanclass="line">7</span><br><spanclass="line">8</span><br><spanclass="line">9</span><br><spanclass="line">10</span><br></pre></td><tdclass="code"><pre><spanclass="line"><spanclass="comment"># step0. assumming that the tar file "a{x}_env_light_v{y}.tar" is already downloaded into your private repo</span></span><br><spanclass="line"></span><br><spanclass="line"><spanclass="comment"># step1. run the given script to load the docker image (default the light one) and execute the container</span></span><br><spanclass="line">bash run_docker.sh <spanclass="comment"># or maybe you need run it with sudo</span></span><br><spanclass="line"></span><br><spanclass="line"><spanclass="comment"># step2. get into the repo path mounted into the container</span></span><br><spanclass="line"><spanclass="built_in">cd</span> a{x}_repo</span><br><spanclass="line"></span><br><spanclass="line"><spanclass="comment"># step3. run the test_with_ref.py</span></span><br><spanclass="line">pytest test_with_ref.py</span><br></pre></td></tr></table></figure></li>
311
+
<li>我们提供<code>a_env_light_v{y}.tar</code>(基于 Ubuntu)的 Docker 镜像 tar 文件,已传到到 NJU Box(链接会在群公告中展示),你可以下载到你的环境中使用。</li>
312
+
<li>然后按照下面的示例命令一步一步操作:<figureclass="highlight bash"><table><tr><tdclass="gutter"><pre><spanclass="line">1</span><br><spanclass="line">2</span><br><spanclass="line">3</span><br><spanclass="line">4</span><br><spanclass="line">5</span><br><spanclass="line">6</span><br><spanclass="line">7</span><br><spanclass="line">8</span><br><spanclass="line">9</span><br><spanclass="line">10</span><br><spanclass="line">11</span><br></pre></td><tdclass="code"><pre><spanclass="line"><spanclass="comment"># step0. assumming that the tar file "a_env_light_v{y}.tar" is already downloaded into your private repo</span></span><br><spanclass="line"></span><br><spanclass="line"><spanclass="comment"># step1. run the given script to load the docker image (default the light one) and execute the container</span></span><br><spanclass="line">bash run_docker.sh <spanclass="comment"># or maybe you need run it with sudo</span></span><br><spanclass="line"><spanclass="comment">#this script assume that your machine has an avaliable nvidia gpu.If not,you should to change the option in it ,and change the fixed device in test_with_ref.py.</span></span><br><spanclass="line"></span><br><spanclass="line"><spanclass="comment"># step2. get into the repo path mounted into the container</span></span><br><spanclass="line"><spanclass="built_in">cd</span> a{x}_repo</span><br><spanclass="line"></span><br><spanclass="line"><spanclass="comment"># step3. run the test_with_ref.py</span></span><br><spanclass="line">pytest test_with_ref.py</span><br></pre></td></tr></table></figure></li>
0 commit comments