-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix 2129 - CUDA required dependencies #2131
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
Conversation
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
I am adding the CUDA version specific binaries. |
Signed-off-by: Behrooz <[email protected]>
the installation is not straightforward here... How would a pip install user get this cupy feature? |
@wyli |
Signed-off-by: Behrooz <[email protected]>
thanks, it makes sense. is it possible to skip the requirement based on system info, such as: Line 33 in 45c6cf6
otherwise this requirements file always requires Cuda... it's too restrictive. another option is to have |
Here the condition is based on GPU availability and CUDA version and I haven't seen any environment marker that identifies that. Do you know any? I like the idea of having cpu and gpu-specific requirements. |
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
Signed-off-by: Behrooz <[email protected]>
…nto cuda_required_dep
@wyli would it be fine to move forward with this? |
no sure what the best way forward is, how about we keep the original |
We have |
I feel this needs more discussions -- we also have |
We can hotfix the CI/CD yaml files for now and come back to what to do about the requirements files. It's getting out of hand to have multiple files for different configurations, users won't find it obvious what they need to install. Perhaps there's a more involved requirements management process we can use, maybe something like poetry? |
We could also have a script that will call the relevant requirement files? You know, like |
Hi @behxyz We discussed this issue on Friday, the conclusion is to keep the |
Signed-off-by: Behrooz <[email protected]>
related to #2129
Description
This PR adds cupy dependency (which requires CUDA), and modifies CI/CD workflow to exclude the dependencies that requires CUDA for non-CUDA instances with full dependency installation (quick-py3).
Status
Ready
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests
.make html
command in thedocs/
folder.