Project-MONAI / Project-MONAI/MONAILabel
Monai whole body segmentation unable to run on gpu in colab
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 891
- Forks
- 269
- Avg merge
- 15h 41m
- Merged PRs (30d)
- 1
Description
Good day,
Trying to run whole-body segmentation model (Model_lowers.pt) on colab gpu and getting this error:
error message:
NotImplementedError: Could not run 'aten::slow_conv3d_forward' with arguments from the 'CUDA' backend.
device is detected by torch.device = [Tesla 4]
cuda version = 12.1
pytorch installed = 2.1.0+cu121
inference json device line = torch.device('cuda:0' if torch.cuda.is_available() else 'cpu')
Any advice to resolve this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Colab failure with Model_lowers.pt, the reported Python/PyTorch/CUDA versions, and the inference JSON device line. Check the relevant MONAI Label inference entry point and determine whether the CUDA error is reproducible; done means documenting a confirmed cause and resolution or clearly narrowing the incompatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100