this post was submitted on 28 Nov 2024
63 points (92.0% liked)

Privacy

32482 readers
244 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

I've been play around with ollama. Given you download the model, can you trust it isn't sending telemetry?

top 16 comments
sorted by: hot top controversial new old
[–] sabreW4K3@lazysoci.al 69 points 4 weeks ago (1 children)
[–] TriflingToad@sh.itjust.works 5 points 4 weeks ago (1 children)

Just tried that. Would appear it doesn't work if you can't check for an update. Can't figure out how to disable updates as I'm not that big into terminal use and can't find much online :/

[–] fruitycoder@sh.itjust.works 4 points 4 weeks ago

I think you can point to a file instead too

[–] cralder@lemmy.world 37 points 4 weeks ago

LLMs are not different from any other type of software. Is there a privacy policy you can refer to? Can you monitor the network to see of it is trying to communicate with anything? If you want to be sure, just block internet access. This seems to be open-source so you could also just search for the phone-home code and remove it if it exists.

[–] marcie@lemmy.ml 27 points 4 weeks ago (1 children)

you can check the process to see if its communicating at all. none of the big ones do. its possible someone could be fucking with the file though, before the safetensors format this was a big issue, and still sort of is afterwards. only DL from reputable sources

[–] JustJack23@slrpnk.net 2 points 4 weeks ago (2 children)

Can't you run if from a container? I guess the will slow it down, but it will deny access to your files.

[–] marcie@lemmy.ml 10 points 4 weeks ago (1 children)

yeah you could. though i dont see any evidence that the large open source llm programs like jan.ai or ollama are doing anything wrong with their program or files. chucking it in a sandbox would solve the problem for good though

[–] SeekPie@lemm.ee 5 points 4 weeks ago* (last edited 4 weeks ago)

You could use "Alpaca" flatpak and remove the internet access with flatseal after having downloaded the model. (Linux)

Or deny the app's access to internet in app settings. (Android)

[–] acockworkorange@mander.xyz 8 points 4 weeks ago (1 children)

Containers don’t really slow down apps significantly. It’s not a VM, it’s still a native app running in your kernel, just on a separate memory space and restricted access to hardware.

[–] JustJack23@slrpnk.net 0 points 4 weeks ago (1 children)

That is true for Linux and maybe Mac, but on windows I think they have a bit more overhead. But again I agree that in most cases it is not significant.

[–] acockworkorange@mander.xyz 4 points 4 weeks ago* (last edited 4 weeks ago)

Is the overhead because of containers or is it because you’re running something that is meant to run on Linux and is using a conversion layer like MinGW ?

[–] toxuin@lemmy.ca 22 points 4 weeks ago

It’s not the model that would be sending telemetry - it’s the runtime that you load it up in. Ollama is open source wrapper for llama.cpp, so (if you have enough patience) you could inspect the source code to be sure. Regarding running it in sandbox: you could, and generally it does not add any tangible overhead to the tokens per second performance, but keep in mind that in order to give the model runtime (ollama, vllm and the like) access to your GPU you usually need some form of sandbox concessions like PCIe passthrough for VMs or running nvidia’s proprietary container runtime plugin. From my measurements, there is zero difference in performance when running a model loaded in a GPU on baremetal, a docker container with nvidia container runtime or a proxmox VM with PCIe passthrough. Model executes on GPU itself and barely uses any CPU (sampling and loras are usually CPU operations). vLLM does collect anonymized usage stats. Since it’s open source - you can actually see what’s being sent (spoiler: it’s pretty boring). As far as I know, Ollama has nothing like that. None of the open source engines that I know of are sending your full prompts or responses anywhere though. It doesn’t mean they will keep being like that forever or that you should be less vigilant though 👍

[–] Dagamant@lemmy.world 12 points 4 weeks ago (1 children)

Llama does have some details on GitHub about this. According to them, no, it does not send data anywhere. You can also monitor network traffic to watch for it sending anything it shouldn’t. If you don’t want to do that, firewall it.

[–] SupraMario@lemmy.world 16 points 4 weeks ago

And if you don't want to do that....run it in a VM and unplug your nic/disconnect wifi

[–] Emberleaf@lemmy.ml 7 points 4 weeks ago

I found this and actually like it better than Alpaca. Your mileage may vary, but they claim that it's 100% private, no internet necessary:

GPT4All

[–] foremanguy92_@lemmy.ml 3 points 4 weeks ago

The only real way of checking is by checking the send packets and/or inspect the source code. This "problem" is not only related to local AI but open source are too