Commit 6481867
committed
feat(rocm): Add HSA_OVERRIDE_GFX_VERSION=11.0.0 to PyTorch ROCm test
- Set HSA_OVERRIDE_GFX_VERSION=11.0.0 environment variable for gfx1103 GPU support
- Switch from direct Python execution to sh wrapper for environment control
- Add environment variable display in test output
- Update error message to reference HSA override workaround
- Add result sample output for verification
This enables PyTorch ROCm compute on AMD Phoenix1 (gfx1103) integrated GPUs
by overriding the HSA runtime's GFX version check.
Test results with override:
✅ Tensor creation succeeds
✅ GPU computation succeeds
✅ PyTorch ROCm test PASSES on integrated AMD GPU1 parent 4e101cd commit 6481867
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1389 | 1389 | | |
1390 | 1390 | | |
1391 | 1391 | | |
1392 | | - | |
| 1392 | + | |
1393 | 1393 | | |
1394 | 1394 | | |
1395 | 1395 | | |
| 1396 | + | |
| 1397 | + | |
1396 | 1398 | | |
1397 | 1399 | | |
| 1400 | + | |
1398 | 1401 | | |
1399 | 1402 | | |
1400 | 1403 | | |
| 1404 | + | |
1401 | 1405 | | |
1402 | 1406 | | |
1403 | 1407 | | |
| |||
1413 | 1417 | | |
1414 | 1418 | | |
1415 | 1419 | | |
1416 | | - | |
| 1420 | + | |
| 1421 | + | |
1417 | 1422 | | |
1418 | 1423 | | |
1419 | 1424 | | |
1420 | 1425 | | |
1421 | 1426 | | |
1422 | 1427 | | |
1423 | | - | |
| 1428 | + | |
1424 | 1429 | | |
1425 | 1430 | | |
1426 | 1431 | | |
1427 | 1432 | | |
1428 | 1433 | | |
| 1434 | + | |
1429 | 1435 | | |
1430 | 1436 | | |
1431 | 1437 | | |
| |||
0 commit comments