Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Installation guidance without GPU #5

Open
jaraco opened this issue Apr 1, 2024 · 1 comment
Open

Installation guidance without GPU #5

jaraco opened this issue Apr 1, 2024 · 1 comment

Comments

@jaraco
Copy link

jaraco commented Apr 1, 2024

Please bear with my ignorance, as I'm largely new to working with ML models.

I'm interested in adopting and utilizing DuckDB-NSQL, but I'm struggling just to get it installed. The instructions say to install requirements.txt, but one of the requirements, flash-attn is particularly finicky. It doesn't support installation from wheels and has implicit build dependencies on pytorch and CUDA. The best guidance on installation suggests to use the Nvidia image to build, and use of that image or CUDA seems to imply having an Nvidia GPU. Even after I got CUDA_HOME set, I struggled to get flash-attn to install (still complaining about CUDA_HOME not being set).

Does that mean that DuckDB-NSQL depends on Nvidia GPUs for both training and inference? Is it possible to do the inference on CPU? Would you consider providing step-by-step instructions on how to run DuckDB-NSQL on generic hardware for inference, or at least to point to some references I could follow to develop the foundations necessary to do so?

@wearpants
Copy link

Likewise particularly interested in running inference on CPU-only machines - a quick reading of the llama_cpp docs suggests this is possible?

@jaraco jaraco changed the title Installation guidance Installation guidance without GPU Apr 3, 2024
jaraco added a commit to jaraco/DuckDB-NSQL that referenced this issue Apr 21, 2024
jaraco added a commit to jaraco/DuckDB-NSQL that referenced this issue Apr 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants