Project-MONAI / Project-MONAI/MONAI

Deploy pipeline failed

Open
#8,324 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
8.7k
Forks
1.6k
Avg merge
5d 1h
Merged PRs (30d)
20

Description

https://github.com/Project-MONAI/MONAI/actions/runs/13106727685/job/36583873644

Installing collected packages: triton, parameterized, packaging, coverage, torch
  Attempting uninstall: triton
    Found existing installation: triton 3.2.0
    Uninstalling triton-3.2.0:
      Successfully uninstalled triton-3.2.0
  Attempting uninstall: torch
    Found existing installation: torch 2.6.0
    Uninstalling torch-2.6.0:
      Successfully uninstalled torch-2.6.0
Successfully installed coverage-7.6.10 packaging-24.2 parameterized-0.9.0 torch-2.5.1 triton-3.1.0
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/monai/utils/module.py", line 187, in load_submodules
    mod = import_module(name)
  File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 565, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 1173, in create_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
ImportError: /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/monai/_C.so: undefined symbol: _ZNK3c1011StorageImpl27throw_data_ptr_access_errorEv

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/runpy.py", line 1[97](https://github.com/Project-MONAI/MONAI/actions/runs/13106727685/job/36583873644#step:8:98), in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/runner/work/MONAI/MONAI/tests/min_tests.py", line 238, in <module>
    _, err_mod = load_submodules(sys.modules["monai"], True)
  File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/monai/utils/module.py", line 200, in load_submodules
    raise type(e)(f"{e}\n{msg}").with_traceback(e.__traceback__) from e  # raise with modified message
  File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/monai/utils/module.py", line 187, in load_submodules
    mod = import_module(name)
  File "/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line [98](https://github.com/Project-MONAI/MONAI/actions/runs/13106727685/job/36583873644#step:8:99)6, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 666, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 565, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 1173, in create_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
ImportError: /opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/monai/_C.so: undefined symbol: _ZNK3c[101](https://github.com/Project-MONAI/MONAI/actions/runs/13106727685/job/36583873644#step:8:102)1StorageImpl27throw_data_ptr_access_errorEv

Multiple versions of MONAI may have been installed?
Please see the installation guide: https://docs.monai.io/en/stable/installation.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked GitHub Actions job and tests/min_tests.py, then review the installation guide referenced in the report. Reproduce the failure around the torch, triton, and MONAI _C.so versions. Done means the deploy pipeline completes without the undefined-symbol import error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.