text stringlengths 0 3.02k |
|---|
But not shure if this is the right way for us |
[3/16/2024 2:38 PM] joe.young.security |
Right, that's what I'm working on |
[3/16/2024 2:38 PM] joe.young.security |
I'll take a look closer now. I have an opinion on how the Dockerfile should be changed to target arch as they do in the Ollama Dockerfile. |
My reasoning is that the open-webui project has grown enough now and AMD support is here now, plus macOS, there is reason to be able to target specific arch. |
[3/16/2024 2:39 PM] joe.young.security |
I have it working but I'm using some fat containers to do so |
[3/16/2024 2:39 PM] joe.young.security |
For example: |
{Attachments} |
[3/16/2024 2:39 PM] jannikstdl |
So basically I think why it is not working „out of the box“ is because the - in case of cuda - the cuda tools are missing which are included in the base images. |
[3/16/2024 2:40 PM] joe.young.security |
If you go with CentOS, then you have to change your apt-get to apk |
[3/16/2024 2:40 PM] joe.young.security |
Yes, that's part of it |
[3/16/2024 2:40 PM] joe.young.security |
But you also have to look at the rest of the Dockerifle because it snowballs from there |
[3/16/2024 2:40 PM] jannikstdl |
Yes I saw that too. They indeed are. The idea of my PR initially was to shrink the image haha |
[3/16/2024 2:40 PM] joe.young.security |
You're on the right path |
[3/16/2024 2:41 PM] joe.young.security |
That's why I didn't want to create a PR for my work yet. It's too fat |
[3/16/2024 2:41 PM] joe.young.security |
It works, but needs more work to trim it down |
[3/16/2024 2:42 PM] jannikstdl |
Ok |
[3/16/2024 2:42 PM] wildtang3nt |
I'm beginning to think it may not be easily possible to keep one flavour of images forever |
[3/16/2024 2:43 PM] joe.young.security |
It's easy |
[3/16/2024 2:43 PM] wildtang3nt |
at some point we're going to need a -gpu suffix |
[3/16/2024 2:43 PM] joe.young.security |
You just have to look at how they do it in Ollama dockerfile |
[3/16/2024 2:43 PM] joe.young.security |
You can write the code in the Dockerfile to target various archs |
[3/16/2024 2:43 PM] joe.young.security |
Barely an inconvenience. |
[3/16/2024 2:43 PM] wildtang3nt |
the thing is that people don't want to have a huge image if it includes things they don't/can't use |
[3/16/2024 2:43 PM] joe.young.security |
The --gpu can be added to a single Dockerfile, check out what Ollama's doing. |
[3/16/2024 2:43 PM] joe.young.security |
It's not going to be huge |
[3/16/2024 2:44 PM] joe.young.security |
Look at what they did and it will make sense |
[3/16/2024 2:44 PM] joe.young.security |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.