Skip to content

Conversation

@jataylo
Copy link

@jataylo jataylo commented Oct 17, 2025

These changes from upstream result in a breakage when loading external library

     61170:     calling init: /opt/venv/lib/python3.12/site-packages/torchvision/_C.so
     61170:
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Fatal Python error: Aborted
 
Current thread 0x00007f229fb36080 (most recent call first):
  File "/usr/lib/python3.12/ctypes/__init__.py", line 379 in __init__
  File "/pytorch/torch/_ops.py", line 1488 in load_library
  File "/opt/venv/lib/python3.12/site-packages/torchvision/extension.py", line 34 in <module>
  File "<frozen importlib._bootstrap>", line 488 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 995 in exec_module
  File "<frozen importlib._bootstrap>", line 935 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1331 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1360 in _find_and_load
  File "/opt/venv/lib/python3.12/site-packages/torchvision/__init__.py", line 9 in <module>

This was already reverted in rocm/7.1_internal_testing, need to investigate whether upstream needs a fix

@rocm-repo-management-api
Copy link

rocm-repo-management-api bot commented Oct 17, 2025

Jenkins build for be54763eb664f698eba104d508911d4120a1b9c1 commit finished as FAILURE
Links: Blue Ocean view / Build artifacts

@pruthvistony pruthvistony merged commit 2fbf444 into ROCm:release/2.9 Oct 17, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants