text stringlengths 0 3.02k |
|---|
I am looking in a few spots |
https://github.com/open-webui/open-webui/tree/main/backend/apps/rag |
[3/11/2024 11:23 PM] joe.young.security |
I'm also curious if I have to change this manually to "cuda" if I have NVIDIA. It seems like the default is "cpu" and there is no check for GPU presence in that code. |
{Attachments} |
[3/11/2024 11:26 PM] joe.young.security |
I am also going to test changing that default "RAG_TEMPLATE," because my use case requires the response to be nearly regurgitated from the source material. Has anyone tried to control the seed to get more consistent responses? |
[3/12/2024 8:15 AM] pier1337 |
I noticed this too |
[3/12/2024 8:18 AM] wildtang3nt |
Don't think it works currently, but feel free to experiment and post anything you find out |
{Reactions} |
👍 |
[3/12/2024 8:19 AM] wildtang3nt |
I tried changing it to mps once, didn't work |
[3/12/2024 8:25 AM] pier1337 |
The RAG doesn't work? |
[3/12/2024 8:25 AM] pier1337 |
or CUDA isn't supported for the RAG? |
[3/12/2024 8:53 AM] wildtang3nt |
changing the device type from CPU |
{Reactions} |
👍 |
[3/12/2024 8:54 AM] wildtang3nt |
there's many other assumptions made in the code for using the CPU version of pytorch, so switching to cuda or mps fails |
{Reactions} |
👍 |
[3/12/2024 8:54 AM] wildtang3nt |
and including other versions of pytorch would inflate our already massive image size |
{Reactions} |
👍 |
[3/12/2024 8:55 AM] wildtang3nt |
We'll need to find some way to accomodate this in the future if we're to build our own inference engine on top of llama.cpp, which is planned |
{Reactions} |
😵 |
[3/12/2024 8:55 AM] wildtang3nt |
perhaps we'll need different flavours of a base docker image with the extras included for different platforms |
[3/12/2024 8:56 AM] pier1337 |
vLLM is. not enough? |
[3/12/2024 8:56 AM] wildtang3nt |
only works on GPUs |
{Reactions} |
🙌 |
[3/12/2024 8:56 AM] wildtang3nt |
llama.cpp works on damned near everything |
[3/12/2024 8:56 AM] wildtang3nt |
and the gguf format is very versatile and easy to work with, there's a lot of existing tooling and knowledge there |
[3/12/2024 8:57 AM] wildtang3nt |
AWQ, GPTQ, they're also good but more niche |
[3/12/2024 8:57 AM] wildtang3nt |
and obviously very GPU-centric |
[3/12/2024 8:58 AM] wildtang3nt |
we currently use llama.cpp and gguf.. but through ollama. past experiences have shown that being totally reliant on another upstream project can tie our hands in ways we don't like, so going our own way is logical if we want to deliver the features and capabilities that are planned for the future |
{Reactions} |
🫠 |
[3/12/2024 8:59 AM] wildtang3nt |
if we must rely on llama.cpp, easier to get it direct |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.