From 4b856e4bdd19d279a4ae9903db0e013f23ddb03c Mon Sep 17 00:00:00 2001 From: Alexandre Strube <a.strube@fz-juelich.de> Date: Tue, 12 Nov 2024 20:40:35 +0100 Subject: [PATCH] let accelerate figure its own version --- index.md | 3 ++- public/index.html | 17 +++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/index.md b/index.md index 0b64113..8af3c6c 100644 --- a/index.md +++ b/index.md @@ -523,6 +523,7 @@ git clone https://gitlab.jsc.fz-juelich.de/kesselheim1/sc_venv_template.git ``` - Add this to sc_venv_template/requirements.txt: - ```python +# Add here the pip packages you would like to install on this virtual environment / kernel pip fastai==2.7.15 scipy==1.11.1 @@ -530,7 +531,7 @@ matplotlib==3.7.2 scikit-learn==1.3.1 pandas==2.0.3 torch==2.1.2 -accelerate==1.1.1 +accelerate ``` - ```bash diff --git a/public/index.html b/public/index.html index b391f5a..546a5a1 100644 --- a/public/index.html +++ b/public/index.html @@ -723,14 +723,15 @@ class="sourceCode bash"><code class="sourceCode bash"><span id="cb7-1"><a href=" <span id="cb7-2"><a href="#cb7-2" aria-hidden="true" tabindex="-1"></a><span class="fu">git</span> clone https://gitlab.jsc.fz-juelich.de/kesselheim1/sc_venv_template.git</span></code></pre></div></li> <li class="fragment">Add this to sc_venv_template/requirements.txt:</li> <li class="fragment"><div class="sourceCode" id="cb8"><pre -class="sourceCode python"><code class="sourceCode python"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a>pip</span> -<span id="cb8-2"><a href="#cb8-2" aria-hidden="true" tabindex="-1"></a>fastai<span class="op">==</span><span class="fl">2.7.15</span></span> -<span id="cb8-3"><a href="#cb8-3" aria-hidden="true" tabindex="-1"></a>scipy<span class="op">==</span><span class="fl">1.11.1</span></span> -<span id="cb8-4"><a href="#cb8-4" aria-hidden="true" tabindex="-1"></a>matplotlib<span class="op">==</span><span class="fl">3.7.2</span></span> -<span id="cb8-5"><a href="#cb8-5" aria-hidden="true" tabindex="-1"></a>scikit<span class="op">-</span>learn<span class="op">==</span><span class="fl">1.3.1</span></span> -<span id="cb8-6"><a href="#cb8-6" aria-hidden="true" tabindex="-1"></a>pandas<span class="op">==</span><span class="fl">2.0.3</span></span> -<span id="cb8-7"><a href="#cb8-7" aria-hidden="true" tabindex="-1"></a>torch<span class="op">==</span><span class="fl">2.1.2</span></span> -<span id="cb8-8"><a href="#cb8-8" aria-hidden="true" tabindex="-1"></a>accelerate<span class="op">==</span><span class="fl">1.1.1</span></span></code></pre></div></li> +class="sourceCode python"><code class="sourceCode python"><span id="cb8-1"><a href="#cb8-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Add here the pip packages you would like to install on this virtual environment / kernel</span></span> +<span id="cb8-2"><a href="#cb8-2" aria-hidden="true" tabindex="-1"></a>pip</span> +<span id="cb8-3"><a href="#cb8-3" aria-hidden="true" tabindex="-1"></a>fastai<span class="op">==</span><span class="fl">2.7.15</span></span> +<span id="cb8-4"><a href="#cb8-4" aria-hidden="true" tabindex="-1"></a>scipy<span class="op">==</span><span class="fl">1.11.1</span></span> +<span id="cb8-5"><a href="#cb8-5" aria-hidden="true" tabindex="-1"></a>matplotlib<span class="op">==</span><span class="fl">3.7.2</span></span> +<span id="cb8-6"><a href="#cb8-6" aria-hidden="true" tabindex="-1"></a>scikit<span class="op">-</span>learn<span class="op">==</span><span class="fl">1.3.1</span></span> +<span id="cb8-7"><a href="#cb8-7" aria-hidden="true" tabindex="-1"></a>pandas<span class="op">==</span><span class="fl">2.0.3</span></span> +<span id="cb8-8"><a href="#cb8-8" aria-hidden="true" tabindex="-1"></a>torch<span class="op">==</span><span class="fl">2.1.2</span></span> +<span id="cb8-9"><a href="#cb8-9" aria-hidden="true" tabindex="-1"></a>accelerate</span></code></pre></div></li> <li class="fragment"><div class="sourceCode" id="cb9"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="ex">sc_venv_template/setup.sh</span></span> <span id="cb9-2"><a href="#cb9-2" aria-hidden="true" tabindex="-1"></a><span class="bu">source</span> sc_venv_template/activate.sh</span></code></pre></div></li> -- GitLab