-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added installation instructions for paula/SC/ULEI
- Loading branch information
1 parent
c90ce54
commit a0d1540
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Installation instructions for Scientific Computing Uni Leipzig (paula) | ||
|
||
Request a [Scientific Computing Account at ULei](https://www.urz.uni-leipzig.de/servicedesk-und-hilfe/hilfe-zu-unseren-services/forschung/hilfe-webbasiertes-data-science-und-machine-learning-mit-jupyter). | ||
|
||
Login to VPN and [Jupyter Hub](https://lab.sc.uni-leipzig.de/), select the configuration paula/A30: | ||
|
||
![](config-paula.png) | ||
|
||
Open a terminal and install [ana]conda | ||
``` | ||
module load Anaconda3 | ||
``` | ||
|
||
``` | ||
conda init bash | ||
``` | ||
|
||
At this point, we need to reopen the terminal. Afterwards, create a conda environment with one specific python version only. | ||
|
||
``` | ||
conda env create -f https://raw.githubusercontent.com/ScaDS/generative-ai-notebooks/main/docs/00_setup/environment-gpu.yml | ||
``` | ||
|
||
``` | ||
conda activate genai-gpu | ||
``` | ||
|
||
Make this conda environment available to Jupyter hub like this: | ||
``` | ||
python -m ipykernel install --user --name 'genai-gpu' --display-name "ScaDS.AI genai-gpu" | ||
``` | ||
|
||
To make stackview work, install it outside the conda environment: | ||
``` | ||
conda deactivate | ||
``` | ||
|
||
``` | ||
pip install stackview --user | ||
``` | ||
... and reload the page (in browser) | ||
|
||
|
||
Just in case you want to install more packages later, reopen the terminal, activate the environment and install them: | ||
``` | ||
conda activate genai-gpu | ||
pip install other-package | ||
``` | ||
|
||
## Read more | ||
|
||
These instructions were derived/modified from [this page](https://www.sc.uni-leipzig.de/05_Instructions/Jupyter/#how-to-use-your-own-environments-and-kernels). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters