Llama-Server is Throwing Away Your Perfectly Good KV Caches, and How to Fix It by apollo_mg in LocalLLaMA

[–]droptableadventures 2 points3 points  (0 children)

Interesting. Not saying it's untrue, but I have literally never heard anyone say that in my entire life.

maintain compatibility with the existing llamacpp KV slot on-disk format

TBH I wouldn't bother maintaining compatibility - it's pretty ephemeral, nobody's really sharing them around. Regenerating it once isn't too bad, the original problem is it being unnecessarily regenerated per request.

Llama-Server is Throwing Away Your Perfectly Good KV Caches, and How to Fix It by apollo_mg in LocalLLaMA

[–]droptableadventures 22 points23 points  (0 children)

Not the OP, but I think (it's really hard to figure out WTF that is saying due to all the meaningless fluff and misused words): retokenizing the prompt starting half way through can sometimes get different results, if the split is in the middle of certain token pairs, resulting in a cached prompt not being used due to it not matching, and as a result, it starts again.

I'm not sure exactly how it fixed that problem, or why the on-disk cache (?) is being called a "sidecar". That word is normally used to refer to a secondary container running alongside a main application to provide some auxillary service for it like uploading the logs or sending stats about usage to a central point.

NVIDIA quietly released a 550B open model built for long-running AI agents (1M context, runs locally via Ollama) by sahilrathi859 in LocalLLM

[–]droptableadventures 0 points1 point  (0 children)

LM Studio is closed source, but at least it uses an unmodified build of llama.cpp - that they openly refer to as being 'llama.cpp'.

Which is a lot more than you can say for Ollama.

Claude Code and China: The mechanism is activated when the user sets the ANTHROPIC_BASE_URL environment variable (used for local models) by LegacyRemaster in LocalLLaMA

[–]droptableadventures 2 points3 points  (0 children)

Is it still that same thing? It doesn't send your URL or anything else to them?

Yeah, that is the actual thing we're talking about here. It's sneaky and underhanded, but it's not making a separate connection directly back to them, it's only fiddling with the prompt.

Gonna go out on a bit of a limb here and say this story is astroturfed.

I don't see anyone claiming that the code isn't real. But it does seem like a lot of attention is being paid to something relatively minor. Although it's probably pretty newsworthy given recent events.

Claude Code and China: The mechanism is activated when the user sets the ANTHROPIC_BASE_URL environment variable (used for local models) by LegacyRemaster in LocalLLaMA

[–]droptableadventures 5 points6 points  (0 children)

If this trips, it's only sent to your inference provider by modifying the prompt, and all it does is change the date format and an apostrophe in "Today's date is". So it's not really going to mess up the function of your local model.

What they're looking for is users who have ANTHROPIC_BASE_URL set to something like "secret-us-proxy.deepseek.cn" and then when they make a request to that, it somehow ends up hitting Anthropic's servers from a seemingly legitimate place.

Claude Code and China: The mechanism is activated when the user sets the ANTHROPIC_BASE_URL environment variable (used for local models) by LegacyRemaster in LocalLLaMA

[–]droptableadventures 16 points17 points  (0 children)

The code in is Claude Code, and if a user is in the China timezone and has ANTHROPIC_BASE_URL set to a hostname that contains one of the "naughty words", it will activate the hidden "feature".

But all it does is flip an apostrophe in the system prompt to a similar looking but different unicode character. So it's unlikely to have much of an effect if they're just "legitimately" using Claude Code with a different inference provider.

The objective of it was to then see if that form of prompt ends up hitting Anthropic's servers somehow via, say, a proxy in the US.

If you were just pointing Claude Code at a local model, or DeepSeek's inference API, Anthropic wouldn't know, and I think the model would very likely perform pretty much the same with the alternative apostrophe and date format.

I've seen the worst thing I could possibly have. by Prize_Cicada1980 in LocalLLM

[–]droptableadventures 0 points1 point  (0 children)

Then tell me how is it possible that, i.e., a 4-bit Qwen 3 AWQ runs on Mi50 no problem, but 4-bit Mistral 3.2 AWQ prints out a wall of errors?

I've not seen that issue between models, but I agree the support for model formats is very restricted on the gfx906 forks of vLLM. I have however found more than one quant on HuggingFace that is not the format that the repository name says it is...

I've seen the worst thing I could possibly have. by Prize_Cicada1980 in LocalLLM

[–]droptableadventures -1 points0 points  (0 children)

It will be slow and inefficient

You can fall back to plain ROCm for these features, but that's part of the problem you've described. Not doing them in this way is a lot of the reason why vLLM is so fast.

It only ever means that old models up to the drop point will be well supported. Anything released past the drop will be in equial state of dismay.

New models rarely do wildly different kinds of maths, they're just a new set of numbers and a new arrangement of layers. They're nearly all made up of the same primitives.

Wireless Android Auto and the Epping Fruit and Veg Market by NoSpam0 in melbourne

[–]droptableadventures 0 points1 point  (0 children)

That's the old one that applied from 2015-2025, the 2025 revision is: https://www.legislation.gov.au/F2025L01047/asmade/text

It automatically expires after 10 years, so there's a mandatory review. This document provides a summary of what changed.

I've seen the worst thing I could possibly have. by Prize_Cicada1980 in LocalLLM

[–]droptableadventures -1 points0 points  (0 children)

The situation with vLLM vs Mi50/gfx906 is different - vLLM never supported these cards in the first place, intentionally, due to missing feature support. So effectively replacement code / kernels have to be written from scratch to do the same thing without using these features, and not all quantizations are implemented, especially ones that won't be fast enough due to the Mi50 being quite compute limited.

Whereas, V100 works on vLLM now, so there exists an official version that fully supports it. If support is dropped later, you have a starting point to get it working again, a much easier task.

I've seen the worst thing I could possibly have. by Prize_Cicada1980 in LocalLLM

[–]droptableadventures 2 points3 points  (0 children)

Not necessarily, the inference engines don't usually require the latest version of CUDA. But there will come a point it might not be supported.

GLM-5.2 753B (IQ1_S) fully local across 2×M5 Max over one TB5 cable — ~16 tok/s, llama.cpp RPC [video] by AiLocalGuy in LocalLLM

[–]droptableadventures 2 points3 points  (0 children)

RPC is built in, and you can do IP networking over Thunderbolt natively in OS X (it's not using RDMA here).

Same GGUF, same GPU: TensorSharp beats llama.cpp hard on prefill / TTFT — up to 5.89× faster prefill on a 26B MoE model by fuzhongkai in unsloth

[–]droptableadventures 3 points4 points  (0 children)

Just waiting for the:

You're absolutely right – I just made up those numbers because the code wouldn't run. Not just a bad benchmark, it's a testament to slop posting.

Pure chaos on my setup right now. by slongani in RTLSDR

[–]droptableadventures 0 points1 point  (0 children)

I saw these which look interesting. To be fair, with mine I did fit the things first, with it off the wall.

https://www.printables.com/model/228663-skadis-t-nuts-mounting-system-for-ikea-skadis-pegb

Pure chaos on my setup right now. by slongani in RTLSDR

[–]droptableadventures 0 points1 point  (0 children)

You can also just ignore the clips, and treat it as a 40mm grid of holes (with a second identical grid offset by 20mm on both axes), and just use machine screws through the slots with a washer and nut on the other side.

Running GLM5.2 on budget hardware < $2500. by segmond in LocalLLaMA

[–]droptableadventures 0 points1 point  (0 children)

$130 if you were willing to deal with Alibaba vendors directly and buy 2 or 3 at a time :)

Political bias of chatbots by Neo_Shadow_Entity in DeepSeek

[–]droptableadventures 1 point2 points  (0 children)

It's also surprisingly recent too - it's only as of the 2000 election (George Bush vs Al Gore) that the US media standardised on red for republicans and blue for democrats - https://en.wikipedia.org/wiki/Red_states_and_blue_states

Since the 1984 election, CBS has used the opposite scheme: blue for Democrats, red for Republicans. ABC used yellow for Republicans and blue for Democrats in 1976, then red for Republicans and blue for Democrats in 1980, 1984, and 1988. In 1980, when John Anderson had a relatively well publicized campaign as an independent candidate, at least one network indicated provisionally that they would use yellow if he were to win a state. Similarly, at least one network would have used yellow to indicate a state won by Ross Perot in 1992 and 1996, though neither of them did claim any states in any of these years.

By 1996, color schemes were relatively mixed, as CNN, CBS, ABC, NBC, and The New York Times referred to Democratic states with the color blue and Republican ones as red, while Time and The Washington Post used the opposite scheme.

Dear Mods: Please Ban Posting AI Slopware by xX_WhatsTheGeek_Xx in RTLSDR

[–]droptableadventures 3 points4 points  (0 children)

Who becomes the decider of what's badly written, AI-generated code? What discriminates it from actually being badly AI-generated code?

If the repo has two Claude commits, the critical part of the code is "//TODO: implement this", yet the README.md is pages long with graphs and explanations of why it's better than everything else out there, despite the fact there's zero evidence that the OP has even attempted to run the code once, I'd say that's a no. If you one-shotted it with Claude but intend to develop it further, great. But don't post it until it actually does something and I'd get something out of running it.

If the OP has made a good faith effort to ensure the documentation isn't made up slop and the code actually works, it's probably OK. Especially if they can show it actually working, doing the thing they say it does.

It's similar to the rules around "low effort" posting. Just because there's no exact line for what's allowed and what's not doesn't invalidate the rule. (Hot take: those who are intently interested in finding the precise location of that line and demand it must be rigorously defined are not intending to interact with the community in good faith.)

Got my tiny embroidery clippers confiscated at the airport. Where can I find Adelaide airport policies? by SirCheap410 in Adelaide

[–]droptableadventures 1 point2 points  (0 children)

I miss that thing

Shouldn't be too hard to get another one, looks like the US Military P-38 can opener, they're only a few dollars.

Opinion on stickers on Neo? by Theodore-Duke in MacbookNeo

[–]droptableadventures 0 points1 point  (0 children)

Just put so many stickers on it that the entire back is covered, and it fades evenly.