-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test fails due to undefined symbols #9
Comments
Are you using custom build pytorch from this repo? https://github.com/artyom-beilis/pytorch |
Yes, but without Anaconda. I am following that process now and am stuck here: pytorch/pytorch#69894 (but on your repo) The first build was with Python 3.10.4, just using CMake. Anaconda's default is Python 3.9.12. I'll try to either try an older version of Python, or follow the instructions I did previously. Was busy documenting those steps here when we had a power cut. |
Ends with...
I had the same issue with Python 3.10.4, which I manually patched:
As well as
Patched with
|
The fix is to test if it's null before printing. But it can also just be commented out for now, and |
Recently PyTorch made it simpler to create custom backend: https://dev-discuss.pytorch.org/t/private-use-opencl-device/731/2 So once I update the backend I should be able to work with vanilla pytorch without need to build one from scratch. I hope I'll get to it this week. Other than that try to build pytorch. I use Ubuntu 18.04 and Python 3.6... In current code requires custom modifications in torch. |
Build succeeded. Same... but this is on Clover. My GPU is in a grey area with ROCm support.... but will try with the ROCm, Ubuntu 18, and will do a deep dive into PyTorch following your lead. All I can say is THANK YOU. It's very exciting that being able to use my own hardware at long last, is in sight.
|
Check this I'm looking into https://discuss.pytorch.org/t/how-to-fix-c-abi-problem-for-torchvision/126045/2 this. Maybe some flag needed for pytorch backend to be added to make it compatible with torch build. |
As long as it on primary PCI-E it should work (not via chipset) I actually tested dlprimitives on rx560 witch is from same family with fairly good results. ROCm driver works also I don't think their framework support it any more - i.e. you have problems running latest torch/tensorflow on it. I even Clover/Mesa drivers worked. Now I have gtx 960 and rx 6600 in my PC. Unfortunately I have no 3rd PCI-E slot to insert rx560 - but in past it worked well. |
So what's missing from the library seems to be some variation of (demangled Correction... maybe the pytorch build is missing something.
|
I encountered this problem too. I was building off of master with the one commit cherry-picked. The problem was that I had a residual PyTorch installation from a previous install. I had to run |
Can you please give more details and your steps. Thanks! |
Ok I see there was a change in pytorch:
At some point CXX11_ABI was for some reason replaced with older ABI... |
And in my custom build CXX11_ABI was set to 1... I need to be aligned with pytorch build and build dlprim with same ABI |
Started working on better out of tree backend support - at least you don't need to build pytorch and it makes things easier See this branch |
I am documenting my journey trying to get this to run on Ubuntu 22 with AMD Radeon (TM) RX 480 Graphics (polaris10, LLVM 13.0.1, DRM 3.46, 5.15.0-47-generic)
The text was updated successfully, but these errors were encountered: