-
Notifications
You must be signed in to change notification settings - Fork 217
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
Provide a script to install k2 automatically #1223
Comments
In my opinion much of the benefit of this would come from the ability to customize to a specific situation, and to offer |
Yes, I agree. For instance, the script should first query the CUDA driver API version displayed by Note: Use
to get the driver CUDA API version |
I have installed k2 on several clusters at this point, and the method that always works for me is to build from source with explicit path to the CUDNN library in the cmake argument, otherwise there is the libcudnn.so error at import time. Of course, this requires later adding the build directory to the PYTHONPATH. So far, I have not been able to use the pip wheel based install successfully. |
The reason is that all the pre-compiled wheels are built using GitHub actions, which runs on Ubuntu 20.04 or Ubuntu 22.04. I am trying to fix this issue so that you can use |
Many users have some issues when they come to install k2 and they find that it is quite difficult to install it.
I suggest that we provide a single script
./install-k2.sh
to install k2 automatically.The script should ask the following questions:
The script should NOT ask for
sudo
permission.Also, we should setup GitHub actions to test the script.
Help from the community is appreciated.
The text was updated successfully, but these errors were encountered: