Skip to content

[BUG] ImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory #461

Closed
@vikashg

Description

@vikashg

Describe the bug
When I try to build the monai-deploy docker image, I get the following error

Traceback (most recent call last):
  File "/home/gupta/miniconda3/envs/monai-deploy-test/bin/monai-deploy", line 5, in <module>
    from holoscan.cli.__main__ import main
  File "/home/gupta/miniconda3/envs/monai-deploy-test/lib/python3.8/site-packages/holoscan/__init__.py", line 18, in <module>
    from . import core, gxf
  File "/home/gupta/miniconda3/envs/monai-deploy-test/lib/python3.8/site-packages/holoscan/core/__init__.py", line 65, in <module>
    from ..graphs._graphs import FragmentGraph, OperatorGraph
  File "/home/gupta/miniconda3/envs/monai-deploy-test/lib/python3.8/site-packages/holoscan/graphs/__init__.py", line 24, in <module>
    from ._graphs import FragmentFlowGraph, OperatorFlowGraph
ImportError: libcudart.so.11.0: cannot open shared object file: No such file or directory

I have the following pytorch version '2.0.1+cu117'. and cuda version 12.0. Maybe the version mismatch is causing this problem?

Steps/Code to reproduce bug
With the above version, try running the simple_imaging_app in the notebook tutorials

Environment details (please complete the following information)

  • OS/Platform: Ubuntu 20.04
  • Python Version: 3.8.17
  • Method of MONAI Deploy App SDK install: [pip, conda, Docker, or from source] from source
  • pytorch version: '2.0.1+cu117'
  • Cuda version: 12.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions