Skip to content
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

AMD GPU/APU acceleration (CLBLAS), Nvidia GPU acceleration (CUBLAS) #390

Closed
sammcj opened this issue Jul 31, 2023 · 3 comments
Closed

AMD GPU/APU acceleration (CLBLAS), Nvidia GPU acceleration (CUBLAS) #390

sammcj opened this issue Jul 31, 2023 · 3 comments
Labels
question Further information is requested

Comments

@sammcj
Copy link

sammcj commented Jul 31, 2023

It would be awesome if Khoj worked with AMD GPU / APU acceleration given how popular Ryzen CPU/APUs are these days.

For reference - LocalAI does this with CLBLAS so it should be possible - https://localai.io/basics/build/#clblas


Somewhat related to #388

@sammcj
Copy link
Author

sammcj commented Aug 10, 2023

I just tried the project out with an Nvidia card - it doesn't seem to use CUDA/CUBLAS with nvidia cards either - perhaps a config option is missing somewhere to enable this?

@sammcj sammcj changed the title AMD GPU/APU acceleration (CLBLAS) AMD GPU/APU acceleration (CLBLAS), Nvidia GPU acceleration (CUBLAS) Aug 10, 2023
@debanjum
Copy link
Collaborator

For Khoj Chat, #494 has added support for running on Vulcan supported GPU+OS. I don't have access to such a device myself but if your Machine is Vulcan supported, give Khoj a try and report back if it still doesn't engage your AMD, Nvidia GPU

@debanjum debanjum added the question Further information is requested label Oct 17, 2023
@debanjum
Copy link
Collaborator

Marking this issue as completed for now as Khoj now supports at least some Nvidia, AMD GPUs with Vulkan support added to GPT4All (our upstream dependency). But feel free to reopen the issue if it doesn't work for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants