Skip to content

GPU mode only supports one CPU thread #122

@ShuyuanWang7

Description

@ShuyuanWang7

Hi,

Many loves to your toolbox. Our dataset has different contrast settings than the regular MP-RAGE images, and your model is a good fit.

I am using the py 3.8 version in docker on WSL2. My GPU is RTX 4070, and I believe it is overqualified for this unet. However, my prediction took almost 16 minutes for one .nii with the --fast flag. Then I tried to monitor my CPU and GPU utilization during running and figured out there was only one CPU thread be called in whatever GPU mode (even though I indicated a specific number to the --threads flag). The CPU processing heavily delayed my time.

Image

However, once I switched to the --cpu mode and indicate --threads (as 20 in this case). The job is done within 30 seconds.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions