From ac07de2c619cf2c773b2e27730fe213b4cf64122 Mon Sep 17 00:00:00 2001
From: Alexandre Strube <a.strube@fz-juelich.de>
Date: Tue, 12 Nov 2024 20:26:40 +0100
Subject: [PATCH] Update requirements and adjust directory paths for upcoming
 event

---
 index.md          | 11 ++++++++---
 public/index.html | 11 ++++++++---
 src/distrib.slurm |  2 +-
 src/serial.slurm  |  2 +-
 4 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/index.md b/index.md
index 642e236..0b64113 100644
--- a/index.md
+++ b/index.md
@@ -523,9 +523,14 @@ git clone https://gitlab.jsc.fz-juelich.de/kesselheim1/sc_venv_template.git
 ```
 - Add this to sc_venv_template/requirements.txt:
 - ```python
-fastai
-deepspeed
-accelerate
+pip
+fastai==2.7.15
+scipy==1.11.1
+matplotlib==3.7.2
+scikit-learn==1.3.1
+pandas==2.0.3
+torch==2.1.2
+accelerate==1.1.1
 ```
 
 - ```bash
diff --git a/public/index.html b/public/index.html
index 606be7f..b391f5a 100644
--- a/public/index.html
+++ b/public/index.html
@@ -723,9 +723,14 @@ 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>fastai</span>
-<span id="cb8-2"><a href="#cb8-2" aria-hidden="true" tabindex="-1"></a>deepspeed</span>
-<span id="cb8-3"><a href="#cb8-3" aria-hidden="true" tabindex="-1"></a>accelerate</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>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>
 <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>
diff --git a/src/distrib.slurm b/src/distrib.slurm
index 02ca147..6ffdae4 100644
--- a/src/distrib.slurm
+++ b/src/distrib.slurm
@@ -23,7 +23,7 @@ export MASTER_PORT=7010
 export GPUS_PER_NODE=4
 
 # Make sure we are on the right directory
-cd $HOME/2024-05-talk-intro-to-supercompting-jsc/src
+cd $HOME/2024-11-talk-intro-to-supercompting-jsc/src
 
 # This loads modules and python packages
 source sc_venv_template/activate.sh
diff --git a/src/serial.slurm b/src/serial.slurm
index 578d3c3..53ed537 100644
--- a/src/serial.slurm
+++ b/src/serial.slurm
@@ -11,7 +11,7 @@
 #SBATCH --gres=gpu:1
 
 # Make sure we are on the right directory
-cd $HOME/2024-05-talk-intro-to-supercompting-jsc/src
+cd $HOME/2024-11-talk-intro-to-supercompting-jsc/src
 
 # This loads modules and python packages
 source sc_venv_template/activate.sh
-- 
GitLab