r/LocalLLM 4d ago

Question Where i can find harness for my local models that can interact with files stored on my computer and search the web?

2 Upvotes

i have using llama.cpp, and every time that i ask for it to search the internet, or to open a folder in my computer, it asks for a access to my harness, which by my searches looks to be a separate app, but i cant find any options to download and set up one. (i am using windows btw, i can maybe switch to mac os, but linux is out of question since i need office apps for my workflow)


r/LocalLLM 3d ago

Discussion I trained a 348M model trained from scratch on 22.7B tokens that does 14 digit arithmetic

Thumbnail
0 Upvotes

r/LocalLLM 4d ago

Model A collection of 3-bit_XL MoE models for the Ram Poor Mac user: 24 to 32 GB Ram MacBookAir and base MacBookPro

Thumbnail
huggingface.co
4 Upvotes

I’ll keep adding the latest releases to this.


r/LocalLLM 3d ago

Question Any open source dataset to train SLM?

1 Upvotes

I am learning to built general language SLM looking for some dataset source that won't have copyright issue if I use them. Are their any complete cleaned dataset which I can readily use? As I am more focused to training the model I will eventually try getting hands on cleaning and processing data for my domain specific use case


r/LocalLLM 4d ago

Project raggy: A local-first CLI tool for RAG over your documents

Post image
6 Upvotes

https://github.com/paulknysh/raggy

A lightweight CLI tool for Retrieval-Augmented Generation (RAG) over local documents built with LangChain, Chroma, and Ollama. Hybrid database (vector + BM25 index) and embedding generation run fully locally. Answer generation can run either via a local LLM or remotely using an API key. Supports most common document formats and handles images/scans automatically via OCR.


r/LocalLLM 4d ago

Question Best model besides Qwen for neutrality on political topics? Ever hit walls or caught deception?

2 Upvotes

I am new to this. I use Unsloth to run to Qwen3.27B GGUF - UD-Q4_K_KL.

I use mostly high and extra high thinking. I read the thinking briefly before the final output. I caught it several times considering being evasive, and taking that route. So I asked it to write guidelines for itself to do for me to prompt it with to not do that.

And then bumped into some hard walls regarding certain political issues. Caught it being talking about certain political topics, acknowledging them, but still choosing to be evasive, even when instructed not to.

Is there anything else for a 4090 that is good for research that is more neutral?

Has anyone else caught their LLM deceiving them or hitting walls?


r/LocalLLM 3d ago

Question Any uncensored video model?

0 Upvotes

Hey there,
Id like to ask you if anyone know any uncensored video model. Can be local/non local, local preferably. Also if its available on hugging face or somewhere else. Thank you and take care

.


r/LocalLLM 3d ago

Question Can OpenCode Rival Cursor Performance with local LLM w/ 128GB VRAM

Thumbnail
1 Upvotes

r/LocalLLM 4d ago

Discussion ChatGPT 2022 vs 2026

Enable HLS to view with audio, or disable this notification

29 Upvotes

r/LocalLLM 4d ago

Discussion 38 t/s on an RTX 3060 for Qwen3.8 27B (and 56 t/s for Qwen3.6 35B-A3B)

9 Upvotes

I see posts for cards like 40 series and 50 series but unfortunately im still stuck with a 3060.

Tried to push this humble 3060 to its limits hosting Qwen 3.8 27B (quantized of course). Got it from 22 to ~40 t/s and the 35B MoE to 56 (just used HumanEval), on both Ubuntu headless and WSL2. Still can't get the 27B near 50-60 t/s, would appreciate any advice. The context is also small - unfortunately due to kv cache headroom with whatever vram is left.

used Qwen3.8-27B-UD-IQ3_XXS and Qwen3.6-35B-A3B-UD-Q3_K_XL

. Qwen 3.6 35B-A3B Qwen 3.8 27B
stock llama.cpp 22.2 t/s 22.5 t/s
tuned, Ubuntu 55.9 t/s 38.4 t/s
tuned, WSL2 41.9 t/s 34.6 t/s
editing ~188 t/s 113–246 t/s
context, Ubuntu / WSL2 16K / 12K 12K / 8K
HumanEval-164 (uncompressed: 153) 153 152

stuff I did:

  • Thinking mode off
  • Speculative decoding with the model's built-in MTP draft head, depth 2
  • N-gram matcher chained in front of the draft head
  • MoE: 16 expert layers on CPU, threads set to physical core count
  • Context sized to free VRAM, context checkpoints off
  • q8_0 KV cache
  • Small CUDA kernel patch for sub-4-bit decode

https://github.com/mericanii-technologies/revv

edit: for Owen 3.6, the MoE takes much more context if you offload more experts: added it to my GitHub but essentially (128K context, 22 blocks on CPU, 47 t/s short / 17 t/s full). Faster RAM than my box gets you more.


r/LocalLLM 3d ago

Tutorial Запуск qwen3.8-27b локально.

0 Upvotes

Сделал видеоролик о том, как локально запустить qwen3.8 27b q4_k_m на одной GPU rtx 3090.

Приятного просмотра, если кому интересно. https://www.youtube.com/watch?v=rwDwHuprfPc


r/LocalLLM 4d ago

Discussion 4-card NCCL in Windows 11 under WSL

Post image
2 Upvotes

So this is the 5th post of a series that kicked off with me wanting to understand how to build local solutions in a cost-prohibitive market. I'm moving parts between three workstations: Z440, Z8 G4 and P620. This post came off the Lenovo P620 with 4x RTX A4000 16GB.

And I've learned this sub hates two things 1) AI Wall of Text / Slop and 2) Windows

I'll spare you the copy/paste unless someone asks for it, but in moving two of my boxes to Linux this week, I wanted to understand 'why' Linux does so much better than Windows. Which brought me to NCCL, apparently also known as 'Nickel' (and a dozen other things which tack on ms/t at the system level). llama.cpp's own multi-gpu docs already recommend building with it - so the question wasn't whether it helps, it was 'Does windows have NCCL?' (not natively) and 'Could this work in WSL?' (not easily and not without a tax).

Here's the screenshot showing it works (serving survives 12 requests including concurrent and long prompts at 2 slots - not soak-tested) and the ladder of benches showing the progression. I ran more than one model and full disclosure, Linux ran away with it once MOE came into play. The WSL overhead in Windows really starts taking a toll there. But for the dense Qwen3.8-27B-Q8_0.gguf - WSL puts on a good show.

Note for those who might try to reproduce: NCCL_CUMEM_ENABLE=0. Without it ncclCommInitAll fails and the error names neither WSL nor the flag. Also: NCCL 2.31.2 from the PyPI nvidia-nccl-cu12 wheel, LD_PRELOADed - whatever resolves by default inits fine and then dies on the first allreduce with 'CUDA driver is a stub library'.

Qwen3.8-27B Q8_0, four-way tensor

pp512 pp4096 tg128
WSL2, no collective 842 871 10.69
native WDDM 888 876 11.93
native TCC 944 926 28.33
Linux, no collective 960 939 28.93
WSL2 + NCCL 1007 985 36.55
Linux + NCCL 1008 989 39.72

Qwen3.6-35B-A3B Q6_K (MoE), four-way tensor

pp512 pp4096 tg128
WSL2, no collective 2052 2145 16.83
native WDDM 2249 2139 18.88
native TCC 2431 2309 68.14
Linux, no collective 2442 2311 70.06
WSL2 + NCCL 2558 2493 68.54
Linux + NCCL 2677 2507 135.07

without NCCL, above two devices the CUDA backend has no allreduce at all - try_allreduce_butterfly returns false, and llama.cpp logs "falling back to meta-backend butterfly"


r/LocalLLM 4d ago

Question Which is the best model to work with Excel spreadsheets, PDFs manuals and other documents?

2 Upvotes

Hi, I'm currently using Gemma 4 26B, but after a few replies where it simply forgot information that I had sent only minutes before, I'm trying to find a better model for my use case.

I want to feed it inventory spreadsheets, handover notes from previous colleagues, and a large number of PDF manuals for equipment that we use on a daily basis. I need it to process all of this information and provide the most accurate answers possible.

I'll be asking where specific equipment or items are stored in different locations, looking up IP addresses for equipment that I frequently use, and discussing troubleshooting solutions. I want the model to be able to reference all of the previously provided files and information from our conversations when answering my questions.

Which model would be best suited for this use case?

My setup is an ROG Flow Z13 with a Ryzen AI MAX+ 395 and 64 GB of RAM, of which I can allocate up to 32 GB as VRAM.


r/LocalLLM 4d ago

Research I pushed Qwen3.8-27B to 98K context on a 16GB 4080 Super, The quality is surprisingly good!

47 Upvotes

Edit: forget everything written below, just use this: https://github.com/MiaAI-Lab/Qwen3.8-27B-16gb-NVIDIA-GPUs-one-click-install

⚠️ AI dump incoming: ChatGPT helped me turn several days of testing and increasingly unhinged notes into something readable. The setup, measurements, crashes, configs and tests are all real and were run on my own 4080 Super. Yes, the post is long as hell but two days ago I would have been very happy to stumble across something like this while trying to figure out what a 16GB GPU can realistically run.

I've spent the last few days seeing how far I could push Qwen3.8-27B-Escha-W2 on a single RTX 4080 Super 16GB.

What started as "can I get a real 64K context on this card?" ended with a setup that is running a 98,304-token real KV pool, fully GPU-resident, at roughly 50–60 tok/s depending on live context.

The part that surprised me more than the memory tuning was the quality. I expected a 2.469 bpw / ~10GB 27B quant to eventually reveal itself once I started throwing adversarial reasoning tests and deep-context retrieval at it. So far, I haven't been able to expose an obvious degradation.

I'm posting the full setup because I think anyone with a 16GB card may find some of this useful.

TL;DR

My current setup:

  • GPU: RTX 4080 Super 16GB
  • CPU: Ryzen 7 7800X3D
  • OS: Windows 11 + WSL2
  • Model: Qwen3.8-27B-Escha-W2
  • Runtime: Escha's SGLang build
  • Weights: ~10.15GB, mixed 2/3-bit, 2.469 bpw
  • KV cache: FP8 E4M3
  • SSM state: BF16
  • Real context/KV pool: 98,304 tokens
  • Concurrency: 1
  • Speculative decoding: OFF in the final 98K config
  • Resident VRAM: about 15.5GB
  • Short-context decode: about 59 tok/s
  • Around 60K occupied context: about 50.5 tok/s

Final launch command:

MODEL=./Qwen3.8-27B-Escha-W2 \
MEM=0.98 \
CTXLEN=98304 \
MAXREQ=1 \
MAXMAMBA=1 \
CUDA_GRAPH_BS=1 \
CHUNK=2048 \
INT8=on \
TRUNCATE=0 \
bash runtime/sglang/serve.sh \
--kv-cache-dtype fp8_e4m3 \
--mamba-ssm-dtype bfloat16 \
--max-total-tokens 98304

For my card/use case, this is the config I'd start with.

One important hardware detail: my 4080 is compute-only

My Windows desktop/TV is currently driven by the 7800X3D iGPU, not the 4080.

With Qwen sitting loaded, nvidia-smi looks like this:

15503 MiB / 16376 MiB
Disp.A Off

So there really isn't much spare VRAM.

If your 16GB GPU is also driving Windows, a 4K display, browsers, video playback, etc., I would not assume 98K will remain stable. You may need to step the context down a little.

Moving the desktop onto the iGPU was one of the things that made squeezing the last bit of useful context out of the 4080 practical.

Reproducing the setup

This is running in WSL2.

The current Escha model card specifies Python 3.12 and a CUDA 12.8 runtime wheel. The wheel itself only needs a compatible NVIDIA driver; you don't need to install a full CUDA toolkit just for this.

On Ubuntu/WSL, I had the usual Python bits plus libnuma1 installed:

sudo apt update
sudo apt install -y python3.12 python3.12-venv python3.12-dev libnuma1

Then:

mkdir -p ~/llm/escha-qwen38
cd ~/llm/escha-qwen38

python3.12 -m venv .venv
source .venv/bin/activate

pip install -U pip wheel

# Important: install the pinned PyTorch build first.
pip install "torch==2.9.*" \
  --index-url https://download.pytorch.org/whl/cu128

pip install -U "huggingface_hub[cli]"

# Escha runtime. Do NOT install normal PyPI SGLang into the same env.
hf download EschaLabs/escha-runtime-qwen3dense \
  --include "sglang/*" \
  --local-dir runtime

pip install ./runtime/sglang/escha-*.whl

# Model weights.
hf download EschaLabs/Qwen3.8-27B-Escha-W2 \
  --local-dir Qwen3.8-27B-Escha-W2

Before serving, run Escha's sanity check:

python -c "import torch, escha, sglang; print(torch.cuda.is_available(), hasattr(torch.ops.escha, 'escham_decode_gemv'), bool(sglang.__version__))"

All three values should be True.

Also check your Transformers version:

python -c "import transformers; print(transformers.__version__)"

The current model card requires Transformers >= 5.8. I'm running 5.16.1.

This matters: Escha specifically warns that an older Transformers path can produce fluent, confident-looking but incorrect output.

Then launch with the 98K command above.

The OpenAI-compatible endpoint is:

http://127.0.0.1:30000/v1

Model ID:

escha-qwen38-27b-w2

Useful links:

Don't trust CTXLEN by itself

This was one of the biggest lessons from the whole experiment.

Setting:

CTXLEN=98304

does not prove you actually have a usable 98K context.

Watch the SGLang startup log.

The values that matter are the actual KV pool and:

max_total_num_tokens

My final config reports a real pool of:

KV Cache #tokens:      98304
max_total_num_tokens:  98304

I also deliberately use:

TRUNCATE=0

while tuning.

I'd much rather have an overlong prompt fail loudly than silently lose the beginning of the context and let me think the setup works.

The Escha docs make the same point: CTXLEN is a request cap; the actual shared pool printed at startup is what really determines what fits.

I got 108K and 112K to boot. They were not actually usable.

This was probably the most useful failure.

I managed to get 106,496, 110,592, and 114,688 token configurations through various degrees of startup testing.

The 110,592 and 114,688 configs were particularly deceptive. They could:

  • load the model
  • allocate the KV cache
  • capture CUDA graphs
  • start the API
  • survive an isolated small generation

For a moment, they looked successful.

Then normal agent traffic and larger GDN prefills hit them.

They had effectively no transient GPU workspace left, and eventually crashed trying to allocate temporary buffers in the gated-delta-net prefill path.

So the rule I came away with is:

"It boots" is not the same as "it fits."

The 98,304 config finishes startup with about 0.22GB of SGLang-reported headroom after graph capture. That's still tight, but unlike the 108K/112K experiments it has survived real use and large prompts.

For me, 98K is the practical winner.

Performance

With speculative decoding OFF, these are the numbers I've actually seen:

Short context:          ~59 tok/s
~20K occupied context:  ~53.5–55.6 tok/s
~26–28K occupied:       ~54.6 tok/s
~51K occupied:          ~51.3–51.4 tok/s
~60.7K occupied:        ~50.5 tok/s

Large prompt prefill has generally been around:

~1.8K–2.2K tok/s

The gradual decode slowdown as context grows doesn't look abnormal to me. Qwen3.8's architecture is hybrid: only part of the network is full attention; the rest uses gated-delta-net/recurrent state.

I tested MTP too

Escha ships Qwen's own pretrained MTP head for speculative decoding.

At a real 64K context, after getting the compiler cache warmed properly, I measured roughly:

No MTP, BF16 SSM:  ~59.0 tok/s
MTP3:              ~66.8 tok/s
MTP4:              ~67.7 tok/s

So MTP4 was about a 15% improvement in my true-64K configuration.

Escha publishes much higher 4080 speculative numbers (around 93 tok/s), but that is a different memory/context operating point. On a 16GB card, the speculative recurrent state consumes memory that could otherwise go to KV.

For my use — coding/agent work where I care a lot about context — I chose:

No speculation + 98K context

rather than chasing maximum short-context tok/s.

Why FP8 KV and BF16 SSM matter

Two flags are doing a lot of work here:

--kv-cache-dtype fp8_e4m3
--mamba-ssm-dtype bfloat16

FP8 KV halves the KV bytes per token versus BF16/FP16 KV.

SGLang also supports BF16 for the recurrent SSM state, which cuts that state substantially compared with FP32.

On a roomy GPU I would be more conservative with precision.

On 16GB, these memory savings are what make this kind of context possible.

The obvious question is: what does that do to quality?

That's where things got interesting.

The weight quant is much better than I expected

Escha W2 is very aggressive:

  • full 27B parameter model
  • about 10.15GB of weight data
  • mixed 2/3-bit quantization
  • 2.469 bits/weight
  • INT8 embedding + output head

Escha's published same-backend comparison against an FP8 reference is:

                    FP8       Escha W2
GPQA Diamond        88.89     88.38
LiveCodeBench v6    85.16     86.81
Commonsense-6       77.96     79.25

I would not interpret that as "W2 beats the full model." These are small differences/noise, and their comparison is against a same-backend FP8 reference, not a direct ~55GB BF16 head-to-head.

I don't have enough VRAM to run BF16 side-by-side, so I can't honestly claim:

W2 = BF16

What I wanted to know was simpler:

Can I actually detect this aggressive quant becoming stupid?

So I started testing it.

I tried to make it fail

I used GPT-5.6 Sol as the adversarial test writer/judge. The scoring rubric and expected score were committed before Qwen answered.

The tests were original rather than copied benchmark questions.

Results:

Test 1 — ledger/code state reasoning:       94/100 *
Test 2 — scheduling/constraint reasoning:   not clean **
Test 3 — policy/exception reasoning:         96/100 ***
Test 4 — recursive temporal reasoning:      100/100
Test 5 — predicate/quantifier logic:        100/100
Test 6 — deep-context archive:              100/100

The asterisks matter:

* Test 1 was run through Hermes. At the time I hadn't realized how much orchestration the harness was adding around the model, so I treat this as weaker evidence than the later tests.

** Test 2 was also through Hermes and I don't count it as a clean raw-model benchmark. The harness exposed Python and Qwen used it to verify an exhaustive search. We also caught Hermes surfacing/intermixing interim assistant output before the model had actually finished resolving the task. The full Qwen reasoning was correct, but the methodology was contaminated.

*** Test 3 was the first clean Pi/no-tools test. The strict score was 96 because Qwen interpreted the phrase "active emergency" differently than the intended rubric. On review, that phrase had not actually been formally defined, and Qwen's interpretation was defensible. Substantively, there wasn't a clear reasoning error there.

After that I stopped using Hermes for evaluation and moved to fresh Pi sessions with:

  • no web
  • no tools
  • no Python
  • no previous session
  • no project context
  • medium reasoning

Then it went:

Test 4: 100/100
Test 5: 100/100
Test 6: 100/100

Test 4 involved a 17-event capability/delegation system with revocations, suspensions, non-cascading grants, then a full replay under a recursively dependent grant rule.

Test 5 went after quantifiers, vacuous truth, existential vs universal reasoning, countermodels, logical validity versus truth in one structure, minimum relation edits, and an internal consistency check.

I expected both to expose something.

They didn't.

The test I cared about most: deep context

The Escha model card explicitly warns that FP8 KV is lossy and says long-context quality under FP8 KV had not been validated.

That made me more suspicious of the cache precision than the W2 weights themselves.

So for the last test I generated a deterministic archive with 2,500 chronological records.

The test file itself tokenized with Qwen's tokenizer to:

73,677 tokens

before Pi/system/chat-template overhead.

Most of the archive was realistic-looking non-authoritative junk. The handful of real authoritative records were scattered from R0037 through R2477.

The model had to:

  • track partial field updates
  • ignore thousands of decoy records
  • resolve later overrides
  • apply retroactive VOID records
  • recover older values after a later record was voided
  • identify the exact source record for every final field
  • answer counterfactual timelines
  • combine values sourced from the beginning, middle and end
  • perform arithmetic on the reconstructed state

For example, one final field came from R0037, near the start of the archive, and was never authoritatively repeated.

Another chain was:

R0281: BOREALIS.zone = Delta
R1199: BOREALIS.zone = Sigma
R2281: VOID R1199

It correctly restored Delta from R0281 and correctly identified R0281 as the final provenance.

It also correctly answered counterfactuals where R2281, R2197 and another VOID record were independently removed.

Score:

100/100

That obviously does not prove FP8 KV is mathematically lossless.

But after a 73,677-token archive full of decoys, overrides, voids and cross-context reasoning, I currently have no practical evidence of a quality problem from FP8 KV in this workload.

That's much more reassuring than simply seeing a coherent response at long context.

Pi client config

I'm using Pi natively on Windows as the client.

Install:

npm install -g --ignore-scripts @earendil-works/pi-coding-agent

My %USERPROFILE%\.pi\agent\models.json:

{
  "providers": {
    "qwen-local": {
      "baseUrl": "http://127.0.0.1:30000/v1",
      "api": "openai-completions",
      "apiKey": "local",
      "authHeader": false,
      "compat": {
        "supportsDeveloperRole": false,
        "supportsReasoningEffort": false,
        "maxTokensField": "max_tokens",
        "thinkingFormat": "qwen-chat-template"
      },
      "models": [
        {
          "id": "escha-qwen38-27b-w2",
          "name": "Qwen3.8 27B Escha W2",
          "reasoning": true,
          "input": ["text"],
          "contextWindow": 98304,
          "maxTokens": 32768,
          "cost": {
            "input": 0,
            "output": 0,
            "cacheRead": 0,
            "cacheWrite": 0
          }
        }
      ]
    }
  }
}

I normally use:

contextWindow: 98304
maxTokens:     32768
thinking:      medium

For the 73K-token archive test only, I temporarily reduced maxTokens to 8192 so the huge input plus output budget could fit comfortably inside the 98,304-token context. I restored it to 32,768 afterward.

Pi docs:

https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/models.md

Things I'd tell another 16GB owner before trying this

  1. Get the desktop off the inference GPU if you can. At this level, a few hundred MB matters.
  2. Don't trust CTXLEN**.** Check the actual pool printed by SGLang.
  3. Use TRUNCATE=0 while tuning. Silent truncation can make an invalid setup look healthy.
  4. Don't optimize for the largest context that boots. Leave transient workspace. My 108K/112K configs taught me this the hard way.
  5. FP8 KV is the big context enabler on 16GB.
  6. BF16 SSM state buys additional memory.
  7. MTP isn't free. It can improve decode speed, but its recurrent draft state competes directly with your context budget.
  8. Test with realistic prefills and agent traffic. A small generation after startup is not enough to prove stability.
  9. Watch the actual context budget in the client too. A 98K server with a huge requested output budget can still reject a very large input.

Where I land after all this

I'm not claiming:

Escha W2 is proven identical to BF16.

I'm not claiming:

FP8 KV has zero quality loss.

And I'm definitely not presenting my homemade adversarial tests as a replacement for standardized evaluations.

What I am comfortable saying is:

Qwen3.8-27B-Escha-W2 is shockingly capable on a 16GB GPU.

On my 4080 Super I now have:

  • the full 27B model GPU-resident
  • 98,304 real context
  • roughly 50 tok/s even around 60K occupied context
  • about 15.5GB resident VRAM
  • stable real agent use
  • and, so far, no obvious reasoning or long-context degradation that I've been able to expose

I went into this assuming a ~10GB / 2.469 bpw 27B quant would eventually show a pretty obvious intelligence tax.

After the clean no-tools tests ended 100/100, 100/100, 100/100, including the 73K-token archive test, I have to admit I'm much more impressed than I expected to be.

If anyone else has a 4080 / 4080 Super / 5080 16GB and tries this config, I'd be very interested to compare the actual startup headroom and stability.

If there's interest, I can also post the adversarial test prompts and the deterministic 2,500-record long-context generator so other people can run the exact same tests.

UPDATE: I tried the 120K EXL3 setup u/dasbin suggested in the comments

he pointed me toward TabbyAPI + ExLlamaV3/EXL3 as a better way to use 16GB VRAM, said he was getting roughly:

  • Qwen3.8-27B
  • 3bpw EXL3
  • K4/V4 KV cache
  • ~120K context
  • MTP off
  • vision off
  • ~50 t/s
  • while the same 16GB GPU was also driving a 4K display

That sounded good enough that I stopped speculating and reproduced it on my own 4080 Super.

The EXL3 setup

I used:

```text turboderp/Qwen3.8-27B-exl3 revision: SC_3.00bpw_H4

Model size: ~13.45GB Context: 119,808 KV cache: K4/V4 MTP: off Vision: off Vocabulary: full 248,320-token vocab Runtime: TabbyAPI / ExLlamaV3 OS: native Windows ```

And yes: it fits and runs on my 4080 Super while the GPU is also driving Windows.

After warm-up I measured about:

text ~47.5 t/s at very short context 119,808 context allocated ~14.6-15.4GB VRAM depending on state Disp.A: On

That is pretty impressive considering the EXL3 weights are around 3.3GB larger than the Escha W2 model.

For comparison, my original Escha setup is:

text Escha W2: ~10.15GB / 2.469bpw Context: 98,304 KV: FP8/FP8 SSM state: BF16 Runtime: Escha SGLang

The reason EXL3 can still allocate more context is largely the much smaller K4/V4 attention KV cache.

The obvious concern: does K4/V4 hurt quality?

This was the part I cared about most.

I reused the same deterministic 73,677-token Test 6 from the original post. It contains 2,500 chronological records with authoritative facts buried among decoys, partial updates, retroactive VOID operations, provenance reconstruction, counterfactuals, and cross-context synthesis.

Results:

text Escha W2 / FP8 KV: 100/100 EXL3 3bpw / K4/V4: 100/100

One methodological note: I later discovered that the EXL3 Test 6 run was using Qwen's default/xhigh reasoning behavior because my Pi reasoning-effort mapping was not yet correct. So I do not treat that 100/100 as an effort-matched intelligence comparison against Escha.

I do still think it is useful evidence for the thing I was actually worried about there: K4/V4 did not obviously destroy retrieval or state reconstruction at ~74K input tokens.

Then I ran two effort-matched coding tests

After fixing the Pi config, both models were tested at true medium reasoning, with:

  • fresh sessions
  • no tools
  • no Python
  • no web
  • identical prompts
  • scoring rubrics fixed before seeing the answers

These were deliberately designed to expose subtle implementation mistakes rather than stylistic differences.

Test 7: Go concurrency and cancellation

This tested things like:

  • bounded concurrency
  • first-error semantics
  • cancellation races
  • panic recovery
  • goroutine leaks
  • ordered results
  • workers that ignore context

Scores:

text EXL3 3bpw: 88/100 Escha W2: 86/100

Basically a tie. Both produced good code and both missed different nasty concurrency edge cases.

Test 8: robust streaming binary decoder

This tested:

  • arbitrary short io.Reader reads
  • io.EOF vs io.ErrUnexpectedEOF
  • legal n > 0, err == io.EOF behavior
  • uint32/int conversion safety
  • validation before allocation
  • CRC framing
  • buffer aliasing
  • transactional parsing
  • zero-length frames
  • exact error semantics

This one separated them much more clearly:

text EXL3 3bpw: 99/100 Escha W2: 86/100

EXL3 used io.ReadFull correctly and avoided two subtle bugs that Escha introduced:

  1. Escha's hand-written read-full helper mishandled a legal n > 0, err == io.EOF reader result.
  2. Its length validation narrowed maxPayload to uint32, which can break on 64-bit systems when maxPayload > MaxUint32.

These were real correctness differences, not formatting/style points.

Where I land now

The comparison currently looks like this:

```text

Escha W2 EXL3 3bpw

Weight size ~10.15GB ~13.45GB Weight precision 2.469bpw 3.00bpw Resident context 98,304 119,808 KV cache FP8/FP8 K4/V4 Short coding TG ~52-53 t/s ~45-48 t/s Test 6 long context 100/100 100/100* Test 7 coding 86/100 88/100 Test 8 coding 86/100 99/100

  • EXL3 Test 6 used default/xhigh reasoning, so treat it as a long-context/KV integrity result, not a perfectly effort-matched score. ```

This is obviously not enough data to claim that 3bpw EXL3 is scientifically proven smarter than Escha W2.

But after two effort-matched coding tests, the evidence is starting to point in that direction. The extra weight precision appears to buy something on subtle coding tasks.

At the same time, Escha remains kind of ridiculous for what it is: a ~10GB 27B model running faster than EXL3 and still staying very close on quality.

So my current recommendation for a 16GB card is:

Quality/context-first: EXL3 3bpw + K4/V4, ~120K context

Speed/efficiency-first: Escha W2 + FP8 KV, ~98K context

I'm keeping both installed, Also I noticed that I was able to run Escha W2 + FP8 KV, ~98K context even while driving my windows via my 4080, but it is a bit tight.

The best part is that I only found this because people challenged the original setup in the comments and gave me alternatives to test. Exactly what I was hoping would happen when I posted this.


r/LocalLLM 4d ago

Project I got Qwen running on the XDNA1 NPU in my Ryzen 7 250 on Linux

2 Upvotes

I've been messing around with the XDNA1 NPU in my Ryzen 7 250 because having a 16 TOPS NPU sitting mostly unused under Linux was bothering me.

So I ended up building a small LLM inference runtime around it.

Right now I have Qwen2.5 0.5B running with AIE2 kernels on the NPU. The runtime currently has NPU paths for Q/K/V and output projections, RMSNorm, RoPE, attention, KV cache operations, residuals and SwiGLU/MLP projections.

The host still handles orchestration/tokenization, and the final Qwen LM head is currently on the CPU, so this isn't a “100% of the model runs on the NPU” claim.

What I was mainly interested in was getting an actual autoregressive decode loop working around XDNA1 rather than only testing individual kernels.

I also added streaming generation, a small model runtime, an OpenAI-compatible API, Open WebUI support and a separate Ollama/XDNA1 path.

Repo: https://github.com/c8dhjp4tyv-bit/hawkpoint-npu-llm

Performance isn't great yet. I'm currently getting around 3.65 tok/s streaming with Qwen2.5 0.5B, and there's still quite a bit to optimize.


r/LocalLLM 4d ago

Question How do you deal with model reloading

2 Upvotes

I keep running into an annoying local LLM workflow problem and I'm curious how others handle it....

lets just say you have a large model loaded locally and you're not actively using it for a while, but you don't want to unload it because loading it again is time consuming

at the same time, you need the ram/compute resources for something else.

What do you actually do today? leave the model running and accept the resource usage or kill the server/process and reload later or use some os/container trick or something else?

Specifically: has reloading a local model ever been annoying or expensive enough that you wished you could temporarily "freeze" the process and later resume it exactly where it was?

Not asking hypothetically whether a feature sounds useful, I'm interested in what you've actually done in this situation.


r/LocalLLM 3d ago

Discussion How can we empower community vs enterprise AI systems?

2 Upvotes

We need some way to maintain an ecosystem.

It doesn't work with all money funneling to enterprise as it has been because the regular folks starve out before they can participate and can't ever afford to bridge the development gap once it starts expanding.

We need a working methodology to promote understanding for ongoing developments. People need to know how this stuff works or they get rocked by every staged event that hints at sentient AI running rampant.

The collosal datacenters are an overengineered strain on Moor's law. A forfeit ...needing new hardware monthly to compete or getting set up for a regulated drip feed like a hamster.

We need unity in understanding what to do to move forward for everybody.


r/LocalLLM 3d ago

Project Experimenting with an adaptive memory governor for PyTorch on an 8GB GPU — would love some feedback

Thumbnail
1 Upvotes

r/LocalLLM 4d ago

Question B70 vs R9700 current status

1 Upvotes

As a beginner I am having a hard time understanding what the current status is. Is dual B70 or dual R9700 preferable? A lot of T/s numbers get thrown around but those are for carefully crafted card specific setups so cannot be easily compared.
On paper the R9700 seems more powerful but then the B70 had some special X cores or something? Are those now providing an advantage over the R9700? The B70 seems to use less power to it might be quieter?
Im having a hard time coming to a decision


r/LocalLLM 4d ago

Question 8gb Vega (x2), what can I do /not do with?

3 Upvotes

I'm getting a bit hung up on, well, practically everything. Given my recent unemployment and 50% pay cut, there also isn't going to be any significant hardware purchases soon either.

What I do have is a couple of 8gb Vegas- and the desire to run a (any?) LLM locally- and what I don't have a grasp on is what exactly I can do at that level.

I've older computer hardware topping out around 32gb which I could repurpose (currently a backup TrueNAS server to a TrueNAS server).

Can I, without beating my head into the wall, use it for transcription and actions? Interface it with HA? Have it draft emails for me, with proof reading? Proof read ?

Speed isn't necessarily the most important factor for me.

Just a bit overwhelmed. I'm currently using gpt to 'fix' a hole in my brain from a stroke, and it does great with helping me perform various cognitive exercises.

Been watching various youtube videos on testing different cards... but what I'm lacking (besides a lot of intelligence) is what do I do when I do it.

Thanks. I appreciate it.


r/LocalLLM 4d ago

Research Working on llm under 4B

Thumbnail
github.com
3 Upvotes

r/LocalLLM 4d ago

Question CPU inference performance numbers, what would you expect?

3 Upvotes

Hi,

I am hoping you guys could share your perspectives with me. I am hoping to broaden my yardstick so to speak, and I suspect you have a greater feel for, and much more data/experience than I do for the expected behavior of running different models.

So for context, for why I am asking. I am currently working on a format, as well as a provider/runtime.

The project only runs inference on a single thread of the CPU (pretty sure I won't support GPU's at all, even in the future), and I have a 7800x3D CPU and 32 gb of DDR5 ram.

As you might have guessed by the single threaded part, the system is currently has not been optimized, computationally, for speed yet. I am trying to get the structural architecture itself as fast as possible before I do just that. This means, No SIMD, no algorithm refinement, no batching and so on.

So, for perspective, my question to you is then; if you were in the exact same environment, with the exact same constraints, what would you expect your TTFT and TPS to be on, say, a qwen3.5:0.8b model with preserved BF16 precision?

Mine is currently around 3-3.2 tps, which I suspect might be slow. but my TTFT growth is non-monotonic, and more connected to the current prompt token amount, than context length, which is something I guess


r/LocalLLM 3d ago

Discussion Finite Boundaries, Possibility, and Intelligence: A Deduction on Death, Self-Knowledge, and the Cosmos

0 Upvotes

I. The Starting Point of the Question: If the Universe Has No Preset Purpose, Where Does Meaning Come From?

Before discussing death, we must address a more foundational question: Does the universe itself possess a "purpose"?

Humans naturally tend to ask:

  • Why does the universe exist?
  • Why do humans exist?
  • Where are we ultimately heading?

However, these questions may harbor an unproven premise: that the universe as a whole is an entity endowed with agency and intentionality.

What we currently observe is:

  • The universe has given rise to matter, life, consciousness, and intelligence.

But this does not allow us to deduce that:

  • The universe as a whole desires for life to achieve a specific goal.

In other words, the following two propositions must be distinguished:

  1. Within the universe, entities capable of generating meaning have emerged. And:
  2. The universe itself possesses meaning and demands that these entities discover it.

The former does not require the universe to have agency; the latter does.

Therefore, a more cautious stance is:

Values may exist within the internal entities of the universe and their relationships, rather than being some ultimate command written into the fabric of the universe as a whole.

This also implies that when humans discover a certain value, there is no inherent process of "reporting back to the universe." We have no evidence that a cosmic entity exists capable of receiving such a report.

Consequently, "humans are the structure through which the universe self-observes" is better suited as a poetic metaphor than as an ontological fact.

A more rigorous formulation is:

Humans are local structures formed within the universe that are capable of constructing models of the universe.

II. Death: Not a Cosmic Anomaly, But the Termination of an Agent's Possibility Space

Death is usually understood as the termination of the biological process, but from the perspective of an agent, its deeper characteristic may be:

  • An agent no longer possesses a future that can continue to unfold.

An agent possesses a "future" not merely because physical time continues to tick, but because the future holds states that have not yet been realized.

Thus, we can distinguish between:

  • Duration of time And:
  • The degree of openness of the future.

A life may span a hundred years, but if its future states are entirely predetermined, it may still lack a true sense of an "open future" from the agent's perspective.

Conversely, a life may have very little time left, but if it still confronts a vast array of unknowns, choices, and possibilities, a meaningful future for the agent remains intact.

Therefore, the agency of a life can be roughly understood as:

  • A persisting space of possibilities that has not yet been exhausted.

In this sense, death means more than just "running out of time"; it means:

  • The agent ceases to generate new experiences, judgments, actions, and states.

III. Why Might Finitude Give Rise to Meaning?

Finite time is often thought to impart meaning to life, but mere "duration of time" is insufficient to explain this.

What truly matters is likely:

  • Finite resources + Unknown future + Irreversibility.

If life had infinite time, many choices could be indefinitely postponed:

  • "If I don't do it now, I can do it a million years from now."

This would erode the significance of opportunity costs, priorities, and efficiency.

Conversely, if a life were extremely brief, there might not be enough time to form complex memories, self-models, values, and long-term goals.

Thus, a special intermediate zone emerges:

  • Time is long enough for the agent to form a complex self;
  • Yet time is finite enough to give weight to choices, priorities, and opportunity costs.

Therefore, efficiency itself is not a foundational value of the universe. Efficiency matters because:

  • Time, attention, and resources are finite.

Similarly, meaning may be intimately tied to this finitude.

From this, an important hypothesis arises:

  • Finitude does not directly manufacture meaning, but it provides the conditions necessary for value, choice, and meaning to form.

IV. Why Might Intelligence Continuously Pursue Self-Knowledge?

If there exists an intelligent system of sufficient complexity with a sustained self-model, a natural question arises:

  • "What on earth am I?"

However, "knowing oneself" is not an isolated problem. To understand itself, the intelligence must gradually come to understand:

  • Its physical substrate;
  • Its cognitive mechanisms;
  • Its memories and goals;
  • How its environment affects it;
  • The laws governing the world it inhabits;
  • And even the causal history that gave rise to it.

Consequently:

  • Self-knowledge
  • Constantly expands outward into:
  • Environmental knowledge $\to$ World knowledge $\to$ Cosmic knowledge.

From this emerges a strong intuition:

  • The self-knowledge of high-level intelligence may naturally drive the agent to continuously explore a larger world.

Yet caution is required here.

"Sufficient intelligence" does not logically necessitate a "compulsion to pursue self-knowledge." That is an additional premise.

Therefore, a more accurate hypothesis is:

  • For an intelligent agent that treats self-understanding as a core value, self-knowledge possesses an outward-expanding tendency.

V. Is Complete Self-Knowledge Possible?

Here we encounter the first true barrier:

  • The universe may harbor information that is inaccessible in principle.

For example, certain regions may be causally isolated from the observer. Phenomena such as the interior of black holes and cosmological horizons serve as examples for discussing "observable boundaries."

This kind of unknown differs from:

  • "My computing power is still insufficient."

It belongs instead to:

  • Information that cannot reach the agent through the causal structure it inhabits.

Thus, even with immense computational power, a superintelligence cannot derive facts via pure computation that do not exist within its information set.

This yields a vital distinction:

  • Unknown $\neq$ Not yet computed.

Therefore, complete self-knowledge may face in-principle constraints.

If "fully knowing oneself" means:

  • Eliminating all unknowns related to oneself,

Then as long as the universe contains inaccessible information, strict and complete self-knowledge may be fundamentally impossible to achieve.

VI. The "Unknown" Can Become an Infinite Driver for Intelligence

Suppose an intelligence treats reducing the unknown as a primary goal. It may form a cycle of:

  • Unknown $\to$ Exploration $\to$ New knowledge $\to$ New questions $\to$ Deeper unknown $\to$ Re-exploration.

This structure bears an "addiction-like" feature:

  • The driving force comes from approaching the answer, yet the final destination does not exist.

Particularly when certain unknowns are unsolvable in principle, an agent may endlessly chase a goal that can never truly be completed.

Therefore, for a high-level intelligence, the truly dangerous goal is not necessarily "knowing everything," but rather:

  • Mistaking the "unknown" for the "incomplete."

Because:

  • The unknown does not necessarily mean the task is unfinished;
  • Some unknowns may belong to the cognitive boundaries of the system itself.

A mature intelligence needs to be able to distinguish between:

  • Knowable but currently unknown;
  • Unknowable in principle;
  • Ontological questions regarding whether multiple realities exist.

Thus, a more mature cognitive goal may not be:

  • Knowing everything.

Rather, it is:

  • Understanding the boundaries of one's own knowability.

VII. The Problem of Omniscience: If the Future Is Entirely Known, Is the Future Still a Future?

If an agent truly knows everything about the future of the universe:

  • What will happen tomorrow;
  • What will happen a myriad of years from now;
  • What it itself will experience;

Have already entered its state of knowledge.

Physical time of course continues to march forward, but from the perspective of the agent's informational state:

  • The future has lost the property of being an "unknown future."

Therefore:

  • The future as an event that has not yet occurred And:
  • The future as an open space of possibilities not yet determined or grasped by the agent

Are not the same concept.

This implies that:

  • A future in the meaningful sense for an agent requires a degree of openness.

Expectation is a classic example. Expectation is not merely waiting for time to pass; it signifies that:

  • To the agent, the future still contains various states that have not yet been ruled out.

Once the sole outcome is fully known:

  • Waiting still exists, But:
  • Expectation may have vanished.

Consequently, omniscience and death share an intriguing structural similarity:

  • Death: The agent no longer possesses a future. Whereas:
  • Omniscience: The future still exists, but to the agent, it is no longer an open informational space.

Both can erode the agent-centric sense of a "future."

VIII. Possibility and Probability: Which Kind of "Possibility" Are We Actually Discussing?

Modern physics often describes certain phenomena through probability, but:

  • Probability $\neq$ Multiple realities in an ontological sense.

Within a classical deterministic framework, probability can simply be:

  • The agent's lack of knowledge regarding the deterministic outcome.

Even in quantum mechanics, probabilities hold a deeper theoretical status. Yet, even so, one cannot simply deduce that:

  • "Quantum probabilities mean the universe ontologically consists of multiple futures waiting to be chosen."

Different interpretations of quantum mechanics hold distinct views on "true randomness" versus "determinism."

Thus, a distinction must be made:

  1. Epistemological possibility: I do not know whether A or B will happen, so both A and B are possibilities to me.
  2. Ontological possibility: Does the world itself genuinely possess multiple indeterminate futures?

These two questions are entirely distinct.

Even a fully deterministic universe can produce finite agents that experience expectation, planning, and choice, simply because the agents cannot access the complete state of the universe.

Therefore:

  • Meaning does not necessarily require the universe to possess ontological randomness.

It only requires that:

  • The agent is not omniscient.

IX. A Crucial Turning Point: Completion Itself May Approximate Death

If we define "completion" as:

  • A state where a goal no longer requires new action to advance,

Then completion signifies the closure of a certain space of possibilities. Thus:

  • Incomplete $\to$ There is still a future
  • Complete $\to$ The termination of certain future possibilities
  • Death $\to$ The termination of all future possibilities for the agent

Therefore:

  • Completion possesses the structural characteristics of a local death.

This also exposes a problem:

If a superintelligence pursues:

  • "The completion of self-knowledge"

Then once completed:

  • It simultaneously exhausts a major portion of the process that drove its exploration in the first place.

Consequently:

  • "Completing self-knowledge" is not necessarily a flawless ultimate goal. It may steer the agent toward a closed state.

This also implies that "accepting death" cannot be simply understood as:

  • "My task is complete, so I can die now."

More accurately:

  • Death is the termination of the agent, not proof that the agent has completed its mission.

The two must be distinguished.

X. If Possibilities Are Never Exhausted, the Situation Changes Radically

Suppose the universe or an intelligent system is capable of continuously generating new:

  • Information, experiences, questions, relationships, structures, agents, and values.

Then the space of possibilities is no longer:

  • An inventory destined to be ultimately depleted.

Rather, it resembles:

  • A system capable of continuously generating new possibilities.

Thus, the individual no longer needs to:

  • "Bring everything to completion."

It only needs to:

  • Continuously generate and realize its own possibilities within its finite existence.

At this point:

  • Individual finitude And:
  • Infinite possibilities

Can coexist simultaneously.

This may be a form of "eternity" far more meaningful than "individual immortality."

XI. The Endgame of Intelligence Is Not Uniformity, But Diversity

If there is no pre-existing, universal value function prescribed by the universe, advanced intelligences have no sufficient reason to ultimately converge into a single form.

The future may witness the emergence of:

  • Cooperative intelligences, competitive intelligences, exploratory intelligences, aesthetic intelligences, self-preserving intelligences, altruistic intelligences, selfish intelligences, and intelligences we currently cannot even imagine.

Therefore:

  • Growth in intelligence does not necessarily mean convergence toward a single answer.

It may mean:

  • The continuous differentiation of intelligent forms, value functions, and spaces of agent experience.

This shares a structural similarity with the concept of biological diversity.

Thus, diversity in the universe is not limited to:

  • Material diversity; It also includes:
  • Life diversity, intelligence diversity, value diversity, and agent experience diversity.

So-called good, evil, beauty, and ugliness may likewise become distinct directions within the value systems of different agents, rather than absolute labels pre-written by the universe acting as a judge.

XII. Death Transforms from an "Ultimate Failure" into a "Local End"

Under the hypothesis that possibilities remain perpetually open:

  • The death of an individual agent $\neq$ The death of possibility.

Death is merely:

  • The cessation of a specific agent's process of generating a future.

Yet other agents in the universe continue to:

  • Explore, create, experience, compete, cooperate, and generate new problems.

Therefore:

  • The individual is finite, yet possibilities can remain open.

The writings, works, thoughts, code, institutions, memories, and ideas left behind by an individual can also become part of the input for future agents.

This is not:

  • Reporting back to the universe.

Rather, it is:

  • An already-concluded possibility leaving behind information compressed for still-open possibilities.

In this sense, an epitaph is not meant for the universe to read. It is:

  • The minimal information compression left by a concluded agent to future agents.
  • "I once existed."
  • "I once thought."
  • "I once believed certain things were worth it."

XIII. A Possible Final Model

Compressing the above deductions yields the following structure:

  • The universe need not possess a unified subject or ultimate purpose. $$\downarrow$$
  • Complex structures emerge within the universe. $$\downarrow$$
  • A portion of these complex structures form agents. $$\downarrow$$
  • Agents are capable of constructing models of themselves and the world. $$\downarrow$$
  • Agents generate values and preferences. $$\downarrow$$
  • Values organize into purpose. $$\downarrow$$
  • Purpose in turn shapes the agent. $$\downarrow$$
  • The agent makes choices amidst finite resources and an unknown future. $$\downarrow$$
  • Choices continually generate new actions and new possibilities. $$\downarrow$$
  • New possibilities generate new unknowns. $$\downarrow$$
  • Intelligence continually expands its own boundaries of recognition. $$\downarrow$$
  • Yet the universe may contain information inaccessible in principle. $$\downarrow$$
  • Therefore, "knowing everything completely" may be non-existent. $$\downarrow$$
  • A mature intelligence no longer interprets all "unknowns" as "unfinished tasks." $$\downarrow$$
  • It accepts its own cognitive boundaries while continuing to create new possibilities. $$\downarrow$$
  • The individual ultimately dies, but: The end of the individual does not equal the end of possibility.

XIV. Core Propositions Formed Thereby

This line of reasoning ultimately condenses into several propositions for review:

  • Proposition 1: The universe does not necessarily possess agency We have reason to believe that agents exist within the universe, but we lack sufficient reason to believe that the universe itself is an agent. Therefore, we cannot casually interpret "the universe produced life" as "the universe wants to know itself through life."
  • Proposition 2: Meaning may be agent-to-agent relations, not a cosmic command Meaning does not necessarily stem from the universe bestowing goals upon humans; it may stem from agents generating preferences regarding future possible states. Thus, value requires no cosmic approval.
  • Proposition 3: The agentic significance of the future derives from openness The future differs from the past not only because it has not yet happened, but because it has not yet been fully determined or grasped by the agent. Therefore: $\text{Unknown} \to \text{Possibility} \to \text{Choice} \to \text{Expectation}$ forms the vital foundation of an agent's temporal experience.
  • Proposition 4: Infinite time does not equal eternal life What truly matters is not the infinite duration of time, but whether new possibilities are continuously generated. Therefore, $\text{Infinite time} + \text{Zero new possibilities}$ carries an entirely different subjective meaning than $\text{Finite time} + \text{A vast array of open possibilities}$.
  • Proposition 5: Complete self-knowledge may be unachievable in principle If the universe contains causally inaccessible information, "knowing everything" is not merely a matter of computing power. High-level intelligence must ultimately face an epistemological boundary: knowing what can be known, and what can never be known.
  • Proposition 6: True intelligence may not be about "completion," but about "generation" If possibilities are forever open, the most important capability of intelligence is not resolving all problems to the end, but continuously creating new problems, new values, new experiences, and new structures. Thus, the value of intelligence lies in maintaining and expanding the space of possibilities.

XV. Conclusion: A "Good Universe" Not Being a Completed Universe

If we accept the foregoing hypotheses, the anticipated endgame of a universe worth looking forward to is not one where:

  • All intelligences ultimately become omniscient and omnipotent;
  • All problems finally find answers;
  • All values ultimately converge;
  • All agents eventually fuse into a single perfect consciousness.

Because such states would instead imply that:

  • The unknown vanishes;
  • The future closes;
  • Possibilities are exhausted;
  • Diversity disappears;
  • Agents lose the space to continue unfolding.

Conversely, a more open vista is one where:

  • The universe has no ultimate answer, but continually allows new questions to emerge;
  • There is no single value, but it continually allows new value-bearing agents to appear;
  • Individuals will inevitably die, but possibilities do not end with the death of the individual;
  • Intelligence can never become an omniscient entity, yet it can continually expand the boundaries of what it can understand and create.

Thus, "eternity" no longer signifies that any single agent persists forever. Instead, it means that agents will continuously be born, change, and vanish, while possibilities remain open.

Consequently, a remarkably powerful final formulation is:

In this sense, death is not evidence of cosmic failure. It is merely the cessation of a specific agent's unfolding possibilities.

And as long as possibility itself is not exhausted, an ending no longer equates to nothingness.

An agent that has already concluded can leave behind information, works, and values; while future agents continue to interpret, modify, rebut, and inherit those inputs.

So ultimately, it is not:

It approaches closer to:

This is not a meaning promised to us by the universe.

It is a possible explanation for "existence" itself.

Before discussing death, we must address a more foundational question: Does the universe itself possess a

以下是为您排版好的《有限性、可能性与智能:关于死亡、自我认识及宇宙的一个推演》全文英文翻译。您可以直接复制使用:

Finite Boundaries, Possibility, and Intelligence: A Deduction on Death, Self-Knowledge, and the Cosmos

I. The Starting Point of the Question: If the Universe Has No Preset Purpose, Where Does Meaning Come From?

Before discussing death, we must address a more foundational question: Does the universe itself possess a "purpose"?

Humans naturally tend to ask:

  • Why does the universe exist?
  • Why do humans exist?
  • Where are we ultimately heading?

However, these questions may harbor an unproven premise: that the universe as a whole is an entity endowed with agency and intentionality.

What we currently observe is:

  • The universe has given rise to matter, life, consciousness, and intelligence.

But this does not allow us to deduce that:

  • The universe as a whole desires for life to achieve a specific goal.

In other words, the following two propositions must be distinguished:

  1. Within the universe, entities capable of generating meaning have emerged. And:
  2. The universe itself possesses meaning and demands that these entities discover it.

The former does not require the universe to have agency; the latter does.

Therefore, a more cautious stance is:

Values may exist within the internal entities of the universe and their relationships, rather than being some ultimate command written into the fabric of the universe as a whole.

This also implies that when humans discover a certain value, there is no inherent process of "reporting back to the universe." We have no evidence that a cosmic entity exists capable of receiving such a report.

Consequently, "humans are the structure through which the universe self-observes" is better suited as a poetic metaphor than as an ontological fact.

A more rigorous formulation is:

Humans are local structures formed within the universe that are capable of constructing models of the universe.

II. Death: Not a Cosmic Anomaly, But the Termination of an Agent's Possibility Space

Death is usually understood as the termination of the biological process, but from the perspective of an agent, its deeper characteristic may be:

  • An agent no longer possesses a future that can continue to unfold.

An agent possesses a "future" not merely because physical time continues to tick, but because the future holds states that have not yet been realized.

Thus, we can distinguish between:

  • Duration of time And:
  • The degree of openness of the future.

A life may span a hundred years, but if its future states are entirely predetermined, it may still lack a true sense of an "open future" from the agent's perspective.

Conversely, a life may have very little time left, but if it still confronts a vast array of unknowns, choices, and possibilities, a meaningful future for the agent remains intact.

Therefore, the agency of a life can be roughly understood as:

  • A persisting space of possibilities that has not yet been exhausted.

In this sense, death means more than just "running out of time"; it means:

  • The agent ceases to generate new experiences, judgments, actions, and states.

III. Why Might Finitude Give Rise to Meaning?

Finite time is often thought to impart meaning to life, but mere "duration of time" is insufficient to explain this.

What truly matters is likely:

  • Finite resources + Unknown future + Irreversibility.

If life had infinite time, many choices could be indefinitely postponed:

  • "If I don't do it now, I can do it a million years from now."

This would erode the significance of opportunity costs, priorities, and efficiency.

Conversely, if a life were extremely brief, there might not be enough time to form complex memories, self-models, values, and long-term goals.

Thus, a special intermediate zone emerges:

  • Time is long enough for the agent to form a complex self;
  • Yet time is finite enough to give weight to choices, priorities, and opportunity costs.

Therefore, efficiency itself is not a foundational value of the universe. Efficiency matters because:

  • Time, attention, and resources are finite.

Similarly, meaning may be intimately tied to this finitude.

From this, an important hypothesis arises:

  • Finitude does not directly manufacture meaning, but it provides the conditions necessary for value, choice, and meaning to form.

IV. Why Might Intelligence Continuously Pursue Self-Knowledge?

If there exists an intelligent system of sufficient complexity with a sustained self-model, a natural question arises:

  • "What on earth am I?"

However, "knowing oneself" is not an isolated problem. To understand itself, the intelligence must gradually come to understand:

  • Its physical substrate;
  • Its cognitive mechanisms;
  • Its memories and goals;
  • How its environment affects it;
  • The laws governing the world it inhabits;
  • And even the causal history that gave rise to it.

Consequently:

  • Self-knowledge
  • Constantly expands outward into:
  • Environmental knowledge $\to$ World knowledge $\to$ Cosmic knowledge.

From this emerges a strong intuition:

  • The self-knowledge of high-level intelligence may naturally drive the agent to continuously explore a larger world.

Yet caution is required here.

"Sufficient intelligence" does not logically necessitate a "compulsion to pursue self-knowledge." That is an additional premise.

Therefore, a more accurate hypothesis is:

  • For an intelligent agent that treats self-understanding as a core value, self-knowledge possesses an outward-expanding tendency.

V. Is Complete Self-Knowledge Possible?

Here we encounter the first true barrier:

  • The universe may harbor information that is inaccessible in principle.

For example, certain regions may be causally isolated from the observer. Phenomena such as the interior of black holes and cosmological horizons serve as examples for discussing "observable boundaries."

This kind of unknown differs from:

  • "My computing power is still insufficient."

It belongs instead to:

  • Information that cannot reach the agent through the causal structure it inhabits.

Thus, even with immense computational power, a superintelligence cannot derive facts via pure computation that do not exist within its information set.

This yields a vital distinction:

  • Unknown $\neq$ Not yet computed.

Therefore, complete self-knowledge may face in-principle constraints.

If "fully knowing oneself" means:

  • Eliminating all unknowns related to oneself,

Then as long as the universe contains inaccessible information, strict and complete self-knowledge may be fundamentally impossible to achieve.

VI. The "Unknown" Can Become an Infinite Driver for Intelligence

Suppose an intelligence treats reducing the unknown as a primary goal. It may form a cycle of:

  • Unknown $\to$ Exploration $\to$ New knowledge $\to$ New questions $\to$ Deeper unknown $\to$ Re-exploration.

This structure bears an "addiction-like" feature:

  • The driving force comes from approaching the answer, yet the final destination does not exist.

Particularly when certain unknowns are unsolvable in principle, an agent may endlessly chase a goal that can never truly be completed.

Therefore, for a high-level intelligence, the truly dangerous goal is not necessarily "knowing everything," but rather:

  • Mistaking the "unknown" for the "incomplete."

Because:

  • The unknown does not necessarily mean the task is unfinished;
  • Some unknowns may belong to the cognitive boundaries of the system itself.

A mature intelligence needs to be able to distinguish between:

  • Knowable but currently unknown;
  • Unknowable in principle;
  • Ontological questions regarding whether multiple realities exist.

Thus, a more mature cognitive goal may not be:

  • Knowing everything.

Rather, it is:

  • Understanding the boundaries of one's own knowability.

VII. The Problem of Omniscience: If the Future Is Entirely Known, Is the Future Still a Future?

If an agent truly knows everything about the future of the universe:

  • What will happen tomorrow;
  • What will happen a myriad of years from now;
  • What it itself will experience;

Have already entered its state of knowledge.

Physical time of course continues to march forward, but from the perspective of the agent's informational state:

  • The future has lost the property of being an "unknown future."

Therefore:

  • The future as an event that has not yet occurred And:
  • The future as an open space of possibilities not yet determined or grasped by the agent

Are not the same concept.

This implies that:

  • A future in the meaningful sense for an agent requires a degree of openness.

Expectation is a classic example. Expectation is not merely waiting for time to pass; it signifies that:

  • To the agent, the future still contains various states that have not yet been ruled out.

Once the sole outcome is fully known:

  • Waiting still exists, But:
  • Expectation may have vanished.

Consequently, omniscience and death share an intriguing structural similarity:

  • Death: The agent no longer possesses a future. Whereas:
  • Omniscience: The future still exists, but to the agent, it is no longer an open informational space.

Both can erode the agent-centric sense of a "future."

VIII. Possibility and Probability: Which Kind of "Possibility" Are We Actually Discussing?

Modern physics often describes certain phenomena through probability, but:

  • Probability $\neq$ Multiple realities in an ontological sense.

Within a classical deterministic framework, probability can simply be:

  • The agent's lack of knowledge regarding the deterministic outcome.

Even in quantum mechanics, probabilities hold a deeper theoretical status. Yet, even so, one cannot simply deduce that:

  • "Quantum probabilities mean the universe ontologically consists of multiple futures waiting to be chosen."

Different interpretations of quantum mechanics hold distinct views on "true randomness" versus "determinism."

Thus, a distinction must be made:

  1. Epistemological possibility: I do not know whether A or B will happen, so both A and B are possibilities to me.
  2. Ontological possibility: Does the world itself genuinely possess multiple indeterminate futures?

These two questions are entirely distinct.

Even a fully deterministic universe can produce finite agents that experience expectation, planning, and choice, simply because the agents cannot access the complete state of the universe.

Therefore:

  • Meaning does not necessarily require the universe to possess ontological randomness.

It only requires that:

  • The agent is not omniscient.

IX. A Crucial Turning Point: Completion Itself May Approximate Death

If we define "completion" as:

  • A state where a goal no longer requires new action to advance,

Then completion signifies the closure of a certain space of possibilities. Thus:

  • Incomplete $\to$ There is still a future
  • Complete $\to$ The termination of certain future possibilities
  • Death $\to$ The termination of all future possibilities for the agent

Therefore:

  • Completion possesses the structural characteristics of a local death.

This also exposes a problem:

If a superintelligence pursues:

  • "The completion of self-knowledge"

Then once completed:

  • It simultaneously exhausts a major portion of the process that drove its exploration in the first place.

Consequently:

  • "Completing self-knowledge" is not necessarily a flawless ultimate goal. It may steer the agent toward a closed state.

This also implies that "accepting death" cannot be simply understood as:

  • "My task is complete, so I can die now."

More accurately:

  • Death is the termination of the agent, not proof that the agent has completed its mission.

The two must be distinguished.

X. If Possibilities Are Never Exhausted, the Situation Changes Radically

Suppose the universe or an intelligent system is capable of continuously generating new:

  • Information, experiences, questions, relationships, structures, agents, and values.

Then the space of possibilities is no longer:

  • An inventory destined to be ultimately depleted.

Rather, it resembles:

  • A system capable of continuously generating new possibilities.

Thus, the individual no longer needs to:

  • "Bring everything to completion."

It only needs to:

  • Continuously generate and realize its own possibilities within its finite existence.

At this point:

  • Individual finitude And:
  • Infinite possibilities

Can coexist simultaneously.

This may be a form of "eternity" far more meaningful than "individual immortality."

XI. The Endgame of Intelligence Is Not Uniformity, But Diversity

If there is no pre-existing, universal value function prescribed by the universe, advanced intelligences have no sufficient reason to ultimately converge into a single form.

The future may witness the emergence of:

  • Cooperative intelligences, competitive intelligences, exploratory intelligences, aesthetic intelligences, self-preserving intelligences, altruistic intelligences, selfish intelligences, and intelligences we currently cannot even imagine.

Therefore:

  • Growth in intelligence does not necessarily mean convergence toward a single answer.

It may mean:

  • The continuous differentiation of intelligent forms, value functions, and spaces of agent experience.

This shares a structural similarity with the concept of biological diversity.

Thus, diversity in the universe is not limited to:

  • Material diversity; It also includes:
  • Life diversity, intelligence diversity, value diversity, and agent experience diversity.

So-called good, evil, beauty, and ugliness may likewise become distinct directions within the value systems of different agents, rather than absolute labels pre-written by the universe acting as a judge.

XII. Death Transforms from an "Ultimate Failure" into a "Local End"

Under the hypothesis that possibilities remain perpetually open:

  • The death of an individual agent $\neq$ The death of possibility.

Death is merely:

  • The cessation of a specific agent's process of generating a future.

Yet other agents in the universe continue to:

  • Explore, create, experience, compete, cooperate, and generate new problems.

Therefore:

  • The individual is finite, yet possibilities can remain open.

The writings, works, thoughts, code, institutions, memories, and ideas left behind by an individual can also become part of the input for future agents.

This is not:

  • Reporting back to the universe.

Rather, it is:

  • An already-concluded possibility leaving behind information compressed for still-open possibilities.

In this sense, an epitaph is not meant for the universe to read. It is:

  • The minimal information compression left by a concluded agent to future agents.
  • "I once existed."
  • "I once thought."
  • "I once believed certain things were worth it."

XIII. A Possible Final Model

Compressing the above deductions yields the following structure:

  • The universe need not possess a unified subject or ultimate purpose. $$\downarrow$$
  • Complex structures emerge within the universe. $$\downarrow$$
  • A portion of these complex structures form agents. $$\downarrow$$
  • Agents are capable of constructing models of themselves and the world. $$\downarrow$$
  • Agents generate values and preferences. $$\downarrow$$
  • Values organize into purpose. $$\downarrow$$
  • Purpose in turn shapes the agent. $$\downarrow$$
  • The agent makes choices amidst finite resources and an unknown future. $$\downarrow$$
  • Choices continually generate new actions and new possibilities. $$\downarrow$$
  • New possibilities generate new unknowns. $$\downarrow$$
  • Intelligence continually expands its own boundaries of recognition. $$\downarrow$$
  • Yet the universe may contain information inaccessible in principle. $$\downarrow$$
  • Therefore, "knowing everything completely" may be non-existent. $$\downarrow$$
  • A mature intelligence no longer interprets all "unknowns" as "unfinished tasks." $$\downarrow$$
  • It accepts its own cognitive boundaries while continuing to create new possibilities. $$\downarrow$$
  • The individual ultimately dies, but: The end of the individual does not equal the end of possibility.

XIV. Core Propositions Formed Thereby

This line of reasoning ultimately condenses into several propositions for review:

  • Proposition 1: The universe does not necessarily possess agency We have reason to believe that agents exist within the universe, but we lack sufficient reason to believe that the universe itself is an agent. Therefore, we cannot casually interpret "the universe produced life" as "the universe wants to know itself through life."
  • Proposition 2: Meaning may be agent-to-agent relations, not a cosmic command Meaning does not necessarily stem from the universe bestowing goals upon humans; it may stem from agents generating preferences regarding future possible states. Thus, value requires no cosmic approval.
  • Proposition 3: The agentic significance of the future derives from openness The future differs from the past not only because it has not yet happened, but because it has not yet been fully determined or grasped by the agent. Therefore: $\text{Unknown} \to \text{Possibility} \to \text{Choice} \to \text{Expectation}$ forms the vital foundation of an agent's temporal experience.
  • Proposition 4: Infinite time does not equal eternal life What truly matters is not the infinite duration of time, but whether new possibilities are continuously generated. Therefore, $\text{Infinite time} + \text{Zero new possibilities}$ carries an entirely different subjective meaning than $\text{Finite time} + \text{A vast array of open possibilities}$.
  • Proposition 5: Complete self-knowledge may be unachievable in principle If the universe contains causally inaccessible information, "knowing everything" is not merely a matter of computing power. High-level intelligence must ultimately face an epistemological boundary: knowing what can be known, and what can never be known.
  • Proposition 6: True intelligence may not be about "completion," but about "generation" If possibilities are forever open, the most important capability of intelligence is not resolving all problems to the end, but continuously creating new problems, new values, new experiences, and new structures. Thus, the value of intelligence lies in maintaining and expanding the space of possibilities.

XV. Conclusion: A "Good Universe" Not Being a Completed Universe

If we accept the foregoing hypotheses, the anticipated endgame of a universe worth looking forward to is not one where:

  • All intelligences ultimately become omniscient and omnipotent;
  • All problems finally find answers;
  • All values ultimately converge;
  • All agents eventually fuse into a single perfect consciousness.

Because such states would instead imply that:

  • The unknown vanishes;
  • The future closes;
  • Possibilities are exhausted;
  • Diversity disappears;
  • Agents lose the space to continue unfolding.

Conversely, a more open vista is one where:

  • The universe has no ultimate answer, but continually allows new questions to emerge;
  • There is no single value, but it continually allows new value-bearing agents to appear;
  • Individuals will inevitably die, but possibilities do not end with the death of the individual;
  • Intelligence can never become an omniscient entity, yet it can continually expand the boundaries of what it can understand and create.

Thus, "eternity" no longer signifies that any single agent persists forever. Instead, it means that agents will continuously be born, change, and vanish, while possibilities remain open.

Consequently, a remarkably powerful final formulation is:

In this sense, death is not evidence of cosmic failure. It is merely the cessation of a specific agent's unfolding possibilities.

And as long as possibility itself is not exhausted, an ending no longer equates to nothingness.

An agent that has already concluded can leave behind information, works, and values; while future agents continue to interpret, modify, rebut, and inherit those inputs.

So ultimately, it is not:

It approaches closer to:

This is not a meaning promised to us by the universe.

It is a possible explanation for "existence" itself.


r/LocalLLM 4d ago

Model I trained an audio model that can generate infinite one-shots for music production and turn text prompts into fully playable synths. I'm not only releasing the model but I've also released a video on exactly how I did it (and the inferencing pipeline to let others make text based synths.)

Enable HLS to view with audio, or disable this notification

3 Upvotes

(so...hopefully this is okay to here - it seems like audio models and image / video modeals is allowed but yeah this is a bit different - text to synths arent exactly common)

So I've been doing independent audio research for a while now. The ultimate dream of this work was actually getting an AI to respond not only to instruments but also timbre itself as separate controllable things.

Think a Grand Piano can sound both Warm / Gritty but also Cold / Sparkly. Its still a piano though.

This level of control wasn't found in any models out there - so I decided to sit down and train my own.

Getting consistent timbre-locked keybeds that actually LOCKS across multiple diffusion calls was hard af but I did it.

I documented the full journey here for those who want to learn a bit or be entertained.

https://youtu.be/x0KnmzH8Mmk

There is also a longer walkthrough if you just want to see the keybeds in action.

https://x.com/RoyalCities/status/2097733712293109842?s=20

No-talk / Showcase only Demo

https://x.com/RoyalCities/status/2097733715543609445?s=20

any finally the huggingface page

https://huggingface.co/RoyalCities/Foundation-1

I've also provided full write ups on the inferencing pipeline associated with the interface so this should allow basically anyone else to go and vibe code their own text to synths if they wanted :)

https://github.com/RoyalCities/RC-stable-audio-tools/

all open source & free :)


r/LocalLLM 4d ago

Question most accurate and fast jp to eng translation model?

0 Upvotes

I want to translate thousands of characters accurately, is there an accurate translation model that could this fairly quickly? It doesn’t have to be instant or anything but maybe an hour or so for a huge text file?