Skip to content

Revert "Add TensileLite test artifacts to hipBLASLt CI pipeline" - #5520

Merged
amd-chiranjeevi merged 1 commit into
mainfrom
revert-4991-add-tensilelite-test-component
May 29, 2026
Merged

amd-chiranjeevi merged 1 commit into
mainfrom
revert-4991-add-tensilelite-test-component

Conversation

@amd-chiranjeevi

Copy link
Copy Markdown
Contributor

Reverts #4991

Breaking the Pytorch tests , Tracking issue: #5516

OSError: .../_rocm_sdk_libraries_gfx950_dcgpu/share/hipblaslt/tensilelite/rocisa/_rocisa.abi3.so: undefined symbol: PyType_FromMetaclass
subprocess.CalledProcessError: Command '[...python', '-c', "...ctypes.CDLL(sys.argv[1])", '.../_rocisa.abi3.so']' returned non-zero exit status 1.
FAILED (errors=1)

@amd-chiranjeevi
amd-chiranjeevi merged commit 50e0903 into main May 29, 2026
16 of 18 checks passed
@github-project-automation github-project-automation Bot moved this from TODO to Done in TheRock Triage May 29, 2026
@amd-chiranjeevi
amd-chiranjeevi deleted the revert-4991-add-tensilelite-test-component branch May 29, 2026 17:17
archana-ramalingam added a commit that referenced this pull request Jun 3, 2026
… failure (#5529)

## Summary

Re-apply tensilelite test component configuration (reverted in #5520)
and fix the `testSharedLibrariesLoad` failure on Python 3.10/3.11.

## Technical details

- Re-applies #4991: tensilelite test component for artifact-based CI
testing.
- Fixes #5516: 
- `_rocisa.abi3.so` uses `PyType_FromMetaclass` (Python 3.12+ symbol).
- The `testSharedLibrariesLoad` test loads all `.so` files via
`ctypes.CDLL`, which fails for Python C extensions under older
interpreters.
- Added a skip for `.abi3.so` and `.cpython-*` extensions in
`libraries_test.py` — these must be loaded via `importlib`, not
`ctypes.CDLL`. Same pattern as the existing `amd_smi`/`goamdsmi` skip.
- `-DROCISA_USE_STABLE_ABI=ON` is preserved — the stable ABI build is
correct; the issue was only in how the PyTorch SDK test loads the `.so`.

## Test plan

- [x] `testSharedLibrariesLoad` passes on Python 3.10/3.11 (no longer
attempts to ctypes-load `_rocisa.abi3.so`)
   - gfx950: https://github.com/ROCm/TheRock/actions/runs/26786234522
   - gfx1151: https://github.com/ROCm/TheRock/actions/runs/26823115936
- [x] tensilelite tests pass via `test_tensilelite.py`:
   - rocisa: 48 passed
   -  tensilelite: 709 passed, 200 skipped, 1 xfailed

Fixes #5516

AIGECORE-1997

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants