Skip to content

Commit bca43a4

Browse files
committed
update documentation cpu vs gpu
1 parent 1134359 commit bca43a4

4 files changed

Lines changed: 17 additions & 12 deletions

File tree

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ This package is a pipeline to segment FCD-lesions from MRI scans.
1212

1313
## UPDATE
1414

15-
**<span style="color: red;">SIGN UP TO THE MELD GRAPH MAILING LIST</span>**:
16-
We request that all MELD Graph users sign up to the mailing list. If you are using MELD Graph, please send an email to `meld.study@gmail.com` with the subject 'Request to be added to the MELD Graph mailing list' and provide use with your name and institute. This will ensure that we can update you about bug fixs and new releases.
15+
**<span style="color: red;">REGISTER TO MELD GRAPH TO GET THE MELD LICENSE</span>**:
16+
We request that all MELD Graph users are registered by filling the [MELD form](https://docs.google.com/forms/d/e/1FAIpQLSdocMWtxbmh9T7Sv8NT4f0Kpev-tmRI-kngDhUeBF9VcZXcfg/viewform?usp=header). Following registration you will received a license file. This file will be needed for use of all future MELD Graph versions v2.2.4 and above. Your email adress will be added to the MELD Graph mailing list. This will ensure that we can update you about bug fixs and new releases.
1717

18-
**<span style="color: red;">IF YOU ARE STILL RUNNING WITH V2.2.1 - PLEASE UPDATE TO VERSION V2.2.2</span>**:
19-
We have released MELD Graph V2.2.2 which fixes a couple of issues found by users. For more information about the release please see [MELD Graph V2.2.2](https://github.com/MELDProject/meld_graph/releases/tag/v2.2.2). To update your code please follow the guidelines [Updating MELD Graph to V2.2.2](https://meld-graph.readthedocs.io/en/latest/FAQs.html#Updating-MELD-Graph-to-V2.2.2) from our FAQ.
18+
**<span style="color: red;">PLEASE UPDATE TO V2.2.4</span>**:
19+
We have released MELD Graph v2.2.4 and v2.2.4_gpu, the new stable versions of MELD Graph with updated licensing and small bug fix.
20+
If you have GPU ressources with at least 20GB of VRAM and would like to use GPU for Fastsurfer segmentation and accelerated prediction, please install v2.2.4_gpu.
2021

21-
**<span style="color: red;">NEW RELEASE V2.2.3 IN TEST - FOR GPU USERS</span>**:
22-
We have released MELD Graph v2.2.3 which enable to use the Docker with GPU. If you already have MELD Graph V2.2.2 and do not need to use the GPU ressources, we recommand to keep your current version. If you want to use the GPU please update your code to get the latest MELD Graph v2.2.3 docker.
22+
**<span style="color: red;">IF YOU ARE STILL RUNNING WITH V2.2.1 - PLEASE UPDATE TO THE LATEST VERSION</span>**:
23+
We have released MELD Graph V2.2.2 and V2.2.4 which fixes a couple of issues found by users. For more information about the release please see [MELD Graph V2.2.2](https://github.com/MELDProject/meld_graph/releases/tag/v2.2.2) and [MELD Graph V2.2.4](https://github.com/MELDProject/meld_graph/releases/tag/v2.2.4). To update your code please follow the guidelines [Updating MELD Graph to V2.2.2 and above](https://meld-graph.readthedocs.io/en/latest/FAQs.html#Updating-MELD-Graph-to-V2.2.2) from our FAQ.
2324

2425
![overview](https://raw.githubusercontent.com//MELDProject/meld_graph/main/docs/images/Fig1_pipeline.jpg)
2526

docs/install_docker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The Docker container has all the prerequisites embedded on it which makes it eas
77
Notes:
88
- Currently only tested on **Linux**. HPC users should use the [Singularity version](https://meld-graph.readthedocs.io/en/latest/install_singularity.html). Mac M chip computers have to do a [install_native](https://meld-graph.readthedocs.io/en/latest/install_native.html)
99
- You will need **~13GB of space** to install the container
10-
- The docker image contains Miniconda 3, Freesurfer V7.2, Fastsurfer V1.1.2 and torch 1.10.0+cu113. The whole image is 20 GB.
10+
- The docker image contains Miniconda 3, Freesurfer V7.2, Fastsurfer V1.1.2 and torch 1.10.0. The whole image is ~13 GB.
1111
- The predictions stage can use over **20GB of RAM/VRAM**, therefore we recommend using a computer of **at least 24GB of RAM (for CPU) or VRAM (for GPU)**.
1212

1313
Here is the video tutorial detailing how to install the Docker - [Docker Installation](https://youtu.be/oduOe6NDXLA).
@@ -28,9 +28,9 @@ On windows, Docker should be [using WSL2](https://docs.docker.com/desktop/wsl/).
2828
:::
2929

3030

31-
## Enable GPUs
31+
## Enable GPUs (compatible with MELD Graph GPU version only )
3232

33-
Enabling your computer's GPUs for running the pipeline accelerates the brain segmentation when using Fastsurfer and the predictions. Follow instructions for your operating system to install.
33+
Enabling your computer's GPUs for running the pipeline accelerates the brain segmentation when using Fastsurfer and the predictions. Ensure you have installed a MELD Graph version compatible with GPU (see [release versions](https://docs.google.com/forms/d/e/1FAIpQLSdocMWtxbmh9T7Sv8NT4f0Kpev-tmRI-kngDhUeBF9VcZXcfg/viewform?usp=header)). Follow instructions for your operating system to install.
3434

3535
::::{tab-set}
3636

docs/install_native.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,18 @@ Then activate your environment by running the following:
107107
conda env create -f environment.yml
108108
# activate the environment
109109
conda activate meld_graph
110-
# add the torch packages
110+
# add the torch CPU packages (see below for GPU)
111111
pip install --no-cache-dir torch==1.10.0 torchvision==0.11.1 && pip install -e . && pip install torch-scatter -f https://data.pyg.org/whl/torch-1.10.0.html && pip install torch-geometric==2.4.0 && pip install captum==0.6.0
112+
# for use of GPU , install the Torch packages below instead
113+
# pip install --no-cache-dir torch==1.10.0+cu113 torchvision==0.11.1+cu113 && pip install -e . && pip install torch-scatter -f https://data.pyg.org/whl/torch-1.10.0+cu111.html && pip install torch-geometric==2.4.0 && pip install captum==0.6.0
112114
# install meld_graph with pip (with `-e`, the development mode, to allow changes in the code to be immediately visible in the installation)
113115
pip install -e .
114116
```
115117
:::
116118
::::
117119

120+
121+
118122
## MELD license
119123
In order to run MELD Graph you need to have a `meld_license.txt` in the meld graph folder. To get this file, please fill out the [MELD registration form](https://docs.google.com/forms/d/e/1FAIpQLSdocMWtxbmh9T7Sv8NT4f0Kpev-tmRI-kngDhUeBF9VcZXcfg/viewform?usp=header). Once submitted, your application will be automatically reviewed and the meld_license.txt file will be send to your email.
120124

docs/install_singularity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The Singularity container has been created to be used on HPC supporting Linux as
77
Notes:
88
- The Singularity image is built from the Docker container.
99
- You will need **~13GB of space** to install the container
10-
- The image contains Miniconda 3, Freesurfer V7.2, Fastsurfer V1.1.2 and torch 1.10.0+cu113. The whole image is 20 GB.
10+
- The image contains Miniconda 3, Freesurfer V7.2, Fastsurfer V1.1.2 and torch 1.10.0. The whole image is 13 GB.
1111

1212
## Prerequisites
1313

@@ -29,7 +29,7 @@ In order to run MELD Graph you need to have a `meld_license.txt` in the meld gra
2929
## Configuration
3030
In order to run the singularity image, you'll need to build the singularity image from the meld_graph docker image. This will create a singularity image called meld_graph.sif where you ran the command.
3131

32-
Make sure you have 20GB of storage space available for the docker
32+
Make sure you have 13GB of storage space available for the docker
3333

3434
```bash
3535
singularity build meld_graph.sif docker://meldproject/meld_graph:latest

0 commit comments

Comments
 (0)