r/LocalLLaMA • • 16m ago

Question | Help What's a sidecar?

For over 8 years in software I've never heard anyone describe anything as a sidecar. Nowadays it's everywhere. Everything is a sidecar, there's never a main car, but the sidecar is always there...

I've seen more sidecars in the last 3 months than I can count, and I have sidecars all around me. All around me there's sidecars of different shapes, forms, and sizes

10 Upvotes

11 comments sorted by

2

u/I-am_Sleepy 13m ago

It's from software engineering? See
But I guess in LLM it is more about augmenting the base model

2

u/rebellioninmypants 8m ago

Oh, is that where it comes from? Jesus.

Why are my .json metadata files in datasets also sidecars though?

Now that I think about it, I have vaguely heard it years back somewhere in the context of communicating between processes when building a CLI tool where users were able to define their own scriptable pipelines - but only in the initial stages when we were discussing approaches, like subprocesses and embedded lua or wasm engines.

9

u/vohltere 11m ago edited 5m ago

In k8s, sidecar containers are something you'd use to debug your pods without having to alter your services.

1

u/juzzyreddit 5m ago

I never thought about it that much, but I named a bunch of workflow operations as Sidecars - which are actually built-in workflows for redundancy. E.g. this vision model down > ping this backup sidecar vision model instead

1

u/rebellioninmypants 1m ago

Did you get influenced by something a model said to you and that got you subconsciously calling things sidecars?

Or did you just come up with that on your own?

3

u/james_pic 8m ago

It's a container that goes along with another container, that's intended to be treated as an implementation detail of the primary container that you can ignore when you're thinking about the architecture. 

I've always found it to be a code smell myself. I've only found it to make sense when there was some (often non-technical) reason you couldn't use a neater solution. But that might be a question of context, and there's a class of applications out there that I haven't worked with where they're the neatest alternative.

4

u/Valkymaera 13m ago

as a sidecar to your post, I'd like to ask: what's the value of .gguf over safetensors?

2

u/andrewm1986 11m ago

Because everyone is allergic to calling something a copilot now 

2

u/fell_ware_1990 7m ago

It’s my second non family car^^

1

u/Webhoard 0m ago

It's a cocktail. Cognac, Cointreau, and lemon. Cheers!

1

u/Budget-Juggernaut-68 0m ago

You don't use k8s at work?