From 7a006900906bda059b3216debf836abbea7c9296 Mon Sep 17 00:00:00 2001 From: "Moe.Richert" Date: Wed, 20 Nov 2024 11:49:16 -0500 Subject: [PATCH] update spacing --- .../2024-ai-user-forum/20-a-ml-intro.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sn_collections/_workshops/2024-ai-user-forum/20-a-ml-intro.md b/sn_collections/_workshops/2024-ai-user-forum/20-a-ml-intro.md index 33c96df65..3c0c30dc3 100644 --- a/sn_collections/_workshops/2024-ai-user-forum/20-a-ml-intro.md +++ b/sn_collections/_workshops/2024-ai-user-forum/20-a-ml-intro.md @@ -28,32 +28,32 @@ Steps to prepare for the tutorial: {:.copy-code} ```bash - srun --reservation=forum -A scinet_workshop1 -t 00:30:00 -n 1 --mem 8G --pty bash - ``` +srun --reservation=forum -A scinet_workshop1 -t 00:30:00 -n 1 --mem 8G --pty bash +``` 1. **Create and/or update your workshop working directory** and copy the tutorial materials into it by running the following commands. Note: you do not have to edit the commands with your username as it will be determined by the `$USER` variable. {:.copy-code} ```bash - mkdir -p /90daydata/shared/$USER/intro_ml - cd /90daydata/shared/$USER/intro_ml - cp -r /project/ai_forum/intro_ml/intro_ml.ipynb . - ``` +mkdir -p /90daydata/shared/$USER/intro_ml +cd /90daydata/shared/$USER/intro_ml +cp -r /project/ai_forum/intro_ml/intro_ml.ipynb . +``` 1. **Setup the kernel for JupyterLab.** You will create a kernel called *intro_ml_env* to access from JupyterLab Server. Run the following commands to activate the workshop's virtual environment and create a new kernelspec from it: {:.copy-code} ```bash - source /project/ai_forum/intro_ml/intro_ml_env/bin/activate - ipython kernel install --name "intro_ml_env" --user - ``` +source /project/ai_forum/intro_ml/intro_ml_env/bin/activate +ipython kernel install --name "intro_ml_env" --user +``` 1. **Stop the interactive job** on the compute node by running the command: {:.copy-code} ```bash - exit - ``` +exit +``` 1. **Launch a JupyterLab Server session.** Under the *Interactive Apps* menu, select *JupyterLab Server*. Specify the following input values on the page: