We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
I'm trying to use luajit with lunatic-python to access torch from the python side.
I found that I had to make these changes:
lua_pkgconfig = pkgconfig('luajit', 'lua', 'lua' + LUAVERSION,'python-' + PYTHONVERSION)
instead of
lua_pkgconfig = pkgconfig('lua', 'lua' + LUAVERSION,'python-' + PYTHONVERSION)
import ctypes lualib = ctypes.CDLL("libluajit-5.1.so", mode=ctypes.RTLD_GLOBAL)
After which, I can:
lua.execute('require "torch"')
My question is: can anybody suggest a good way to integrate these changes into the repo, so that future users don't have to do this little dance?
The text was updated successfully, but these errors were encountered:
Do a pull request?
Sorry, something went wrong.
@micklat I suppose your queestion is: how to make the change without breaking installations for htose not using luajit? (Hmmm, necro award for me :-P)
+1
No branches or pull requests
Hi!
I'm trying to use luajit with lunatic-python to access torch from the python side.
I found that I had to make these changes:
instead of
After which, I can:
My question is: can anybody suggest a good way to integrate these changes into the repo, so that future users don't have to do this little dance?
The text was updated successfully, but these errors were encountered: