Skip to content
Snippets Groups Projects
Commit 4b856e4b authored by Alexandre Strube's avatar Alexandre Strube
Browse files

let accelerate figure its own version

parent ac07de2c
No related branches found
No related tags found
No related merge requests found
Pipeline #232951 passed
...@@ -523,6 +523,7 @@ git clone https://gitlab.jsc.fz-juelich.de/kesselheim1/sc_venv_template.git ...@@ -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: - Add this to sc_venv_template/requirements.txt:
- ```python - ```python
# Add here the pip packages you would like to install on this virtual environment / kernel
pip pip
fastai==2.7.15 fastai==2.7.15
scipy==1.11.1 scipy==1.11.1
...@@ -530,7 +531,7 @@ matplotlib==3.7.2 ...@@ -530,7 +531,7 @@ matplotlib==3.7.2
scikit-learn==1.3.1 scikit-learn==1.3.1
pandas==2.0.3 pandas==2.0.3
torch==2.1.2 torch==2.1.2
accelerate==1.1.1 accelerate
``` ```
- ```bash - ```bash
......
...@@ -723,14 +723,15 @@ class="sourceCode bash"><code class="sourceCode bash"><span id="cb7-1"><a href=" ...@@ -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> <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">Add this to sc_venv_template/requirements.txt:</li>
<li class="fragment"><div class="sourceCode" id="cb8"><pre <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> 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>fastai<span class="op">==</span><span class="fl">2.7.15</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>scipy<span class="op">==</span><span class="fl">1.11.1</span></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>matplotlib<span class="op">==</span><span class="fl">3.7.2</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>scikit<span class="op">-</span>learn<span class="op">==</span><span class="fl">1.3.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>pandas<span class="op">==</span><span class="fl">2.0.3</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>torch<span class="op">==</span><span class="fl">2.1.2</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>accelerate<span class="op">==</span><span class="fl">1.1.1</span></span></code></pre></div></li> <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 <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> 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> <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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment