-
Notifications
You must be signed in to change notification settings - Fork 24.2k
undefined symbol: __nvJitLinkCreate_12_8, version libnvJitLink.so.12 #152783
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
Comments
Looks like 12.8 should be included in the workaround https://github.com/pytorch/pytorch/pull/141063/files#diff-c8835eba8562819a44e70a30545213c96e68c588a2cfa673fa495b187b1ea8dfR324, cc @malfet, @atalman |
when can this be added to nightly? certainly my followers couldn't do this |
@ngimel i tried but still error here |
@FurkanGozukara can you please check if deleting LD_LIBRARY_PATH (or adding a correct location of it) will solve the problem? |
We should get a repro for this and make sure we have appropriate testing for releases @FurkanGozukara did you try to update your global install to be 12.8 to see if that helps? Similar issues like this in the past have been due to mismatched global instances and removing these has helped as a workaround. |
global install didnt fix sadly
|
it was set like this
after i did unset it fixed the issue and now working so what is the conclusion? and thank you |
THe conclusion then is you shouldn't have LD_LIBRARY_PATH point to 12.4 when you are trying to run with 12.8 |
Conflicting LD_LIBRARY_PATH would cause this and we wouldn't be able to do anything about it on our end. |
isnt pytorch supposed to be standalone? i mean i dont use anything from /usr/local/cuda-12.4 and when i remove it , it works |
It's a bug in nvidia packaging, we cannot do anything about it, we are fixing most common cases by preloading libraries, but your LD_LIBRARY_PATH makes us find wrong libraries in this case. |
but removing it fixing it. so it is not depended to it actually. interesting. thanks for replies and solution |
Reopening this one, as it is, as @ngimel correctly pointed out is just another manifestation of #140797 and we should add 12.8 to the same workaround But I could not reproduce the problem with 12.8 wheels and 12.4 installed locally:
|
Actually #145582 removed 12.4 and 12.6 constraint, so it should have worked for 12.8 out of box |
I reproduced this multiple times It happens with this repo : https://github.com/bmaltais/kohya_ss |
Hi @FurkanGozukara could you please try to provide a minimal repro similar to command from @malfet ? :
Series of commands to repro this could also work. |
sadly i don't know what triggering the error. but that repo is causing error not even before starting the app |
I am trying to use Torch 2.7 with CUDA 12.8 on Linux with Kohya trainer and I am getting this error
Exactly same installation and setup works on Windows
I tried Torch 2.7 official and latest Torch 2.8 nightly all CUDA 12.8 and same error
cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @seemethere @malfet @osalpekar @atalman
The text was updated successfully, but these errors were encountered: