Skip to content

GPU acceleration #159

@mrba59

Description

@mrba59

Hello i still don't know if the models available use GPU acceleration or full cpu. My problem is that when i am running inference on a remote server, the cpu load explode and make all process killed. Even for my collegues ...

I tried this code

t1 = ants.image_read("1_OFSEP_defaced.nii.gz")
flair = ants.image_read("1_flair_to_t1_registered.nii.gz")
wmh = antspynet.sysu_media_wmh_segmentation(flair, t1, verbose=True)

and i get this message from tensorflow

2025-02-04 15:17:57.006333: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1960] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...

I have installed tf == 2.13.1 with cuda 11.8. Is it normal that the model is not using GPU ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions