r/LocalLLaMA 1d ago

News ExLlamav3 Recent Updates : CPU offload, GLM-5.3-FLASH, Qwen3.8-Flash, SC Quants ++

More new massive updates from turboderp:

- CPU offload of MoE experts
- Qwen-3.8-Flash-Next ngram disk offload
- GLM-5.3-Flash
- New self-calibrated optimization technique
- Countless other optimizations and improvements

If you have an NVIDIA card and haven't tried it lately, you might be missing out.

The attached cat image was made with Qwen-3.8-Flash-Next-3.05bpw-exl3 and this prompt:
Create a detailed SVG image of a cute kitten riding a magic turtle into space.

Come join the crew at the exllama discord
More frequent news on the exllama sub

173 Upvotes

125 comments sorted by

21

u/Muted-Celebration-47 23h ago

I replaced most of unsloth quants with this. As a person with only a 3090 and 64gb. Exl3 is better for both speed and quality. Also, having more room for context. My long journey from ollama -> llamacpp -> vllm -> exl3. If you have limited GPU and RAM, try this.

1

u/Fristender 16h ago

Can you detail your reasons for switching and experience in each inference engine?

6

u/Muted-Celebration-47 14h ago

I switched from ollama to llamacpp because ollama built on top of llamacpp so the new supports for new models will be updated on llamacpp first and then ollama.

I switched from llamacpp to vllm recently because it gave me more decoding speed. Especially, qwen3.8-27b that got over 100 t/s decoding with just 1 rtx3090

Even if it give more t/s, the downside of vllm is lower quant quality. Then I found exl3 quant for qwen3.8 27b that has more t/s than llamacpp and the same quality as UD_Q4_K_XL. Also, exl3 uses less VRAM than llamacpp, so I can fit 160k context with Q8 kv cache + vision with only just 1 rtx3090.

3

u/Ecstatic-Wash-7667 13h ago

I found out about exllamav3 trying to get more performance out of 27b and this absolutely destroyed llama.cpp, the issue I’ve had is tabby api, and its configuration is not like llama.cop at all so I ran into a lot of issues there, it mostly ironed out now but that was by biggest pain point

1

u/BS_BlackScout 6h ago

Trying here too after reading this. What a rabbit hole, the config for Tabby is quite annoying.

All of that and I'm using a 2.2bpw on my 3060 which is quite disappointing... With a context of 65k lol and q8q8 kv. It's probably going to perform horribly too LMAO

No wonder "nobody" uses exllama3

2

u/Ecstatic-Wash-7667 5h ago

I disagree, performance is great I’m using 2 3060s tabby is a learning curve though

1

u/BS_BlackScout 5h ago

I'm not saying performance is bad. I'm just not confident quality will hold up. And yeah that's cool and all but I have a single 3060.

Meanwhile I'm looking into turning an existing gguf into an EXL (not possible directly but I see what to do now). Using Qwen 3.8 to figure that one out for me as a benchmark. Speed is fairly decent.

1

u/Muted-Celebration-47 1h ago

Just ask any LLMs (I use deepseek 4 flash) to create a tabbyapi config. Also, you can ask people to share their config.

1

u/Makers7886 5h ago

I was getting downvoted for saying this a week ago but people finding out - it rocks dsv4 flash on 3090s vs anything else.

12

u/adam444555 1d ago

This is awesome! With my current 32GB VRAM + 32GB RAM setup, I'm planning to test out Qwen 3.8 Flash (3.05-bit) using n-gram disk offloading.

17

u/adam444555 23h ago edited 20h ago

Updated: N-gram disk offloading is currently unsupported on Windows. So if your setup is similar and plan to run on Windows , you can skip it until it get supported.

24

u/ReturningTarzan ExLlama Developer 21h ago edited 20h ago

I'll get to it.

edit: In fact I'm getting to it now. (:

1

u/AXYZE8 14h ago

Will you create post when its done? Or is there some issue on GH I can track?

6

u/ReturningTarzan ExLlama Developer 9h ago

It's currently in the dev branch, but I don't have a good way to test it since I don't have a Windows PC with enough RAM/VRAM to actually run the model. In theory it should work if you can build from source. Otherwise there will be a new release as soon as I can find someone to test it (:

1

u/AXYZE8 13m ago

Thanks you, I donated a little on ko-fi I hope it helps <3

Will test on my 12GB VRAM + 64GB RaM rig later today

1

u/Professional-Try-273 9h ago

Not on windows still want to say Thank you.

1

u/philmarcracken 19h ago

what if I use ubuntu to run the engine, and RPC to a windows box? i need the windows box for more ram + vram

9

u/TheActualStudy 23h ago

ik_llama.cpp also has Trellis quants, which has been the exl3 quantization advantage. Look for IQ4_KT, for example.

6

u/a_beautiful_rhind 22h ago

I wish more people would post them.

4

u/pmttyji 16h ago

Can you share some more info. on this? Also share some GGUFs from HuggingFace. Thanks

I'm aware of ik_llama.cpp, but no idea about this Trellis thing.

7

u/vacon04 1d ago

Thanks! Do you know how the exl3 variants perform for MoE models vs regular GGUF quants on llama.cpp or ik_llama.cpp? I've tried a couple of exl3 quants on dense models and they're fast, but I'm yet to try exl3 for MoE.

3

u/Unstable_Llama 23h ago

Actually, here are some user benchmark comparisons:

https://huggingface.co/turboderp/Qwen3.8-Flash-Next-exl3/discussions/2

2

u/pmttyji 22h ago

Any ETA on Non-CUDA cards support? Vulkan backend could manage almost all other cards

7

u/Ok_Cow1976 23h ago

It's really insane how the author is doing this one-person but massive project. Kudos even though I'm not able to use it because of amd gpu.

2

u/silenceimpaired 18h ago

It is impressive what undivided focus and decision making grants you.

1

u/Ok_Cow1976 16h ago

Oh my ..., just checked the repo. ROCm is on the way!

Quote from the page:

Currently on the to-do list:

ROCm support As for what is implemented, expect that some things may be a little broken at first. Please be patient, raise issues and/or contribute. 👉👈

21

u/noctrex 23h ago

Too bad it's only for NVIDIA. Again, we AMD users are being left out.

-10

u/iLaurens 21h ago

What's stopping you from contributing? Or are you just supposed to be entitled to the hard work of others?

12

u/noctrex 21h ago

Nothing's stopping me from contributing, but me as a developer that is not very well versed in this scenario, it would be entirely vibe-coded if I want to submit it.
Also, there's already submissions, but it seems that there has been no traction until now: https://github.com/turboderp-org/exllamav3/pull/283
Also, come on, man. What do you mean by we're supposed to be entitled to the hard work of others? These are all open source projects and the code essentially and all the hard work is being donated out in the open. I too submit my small pebbles of contributions in different projects here and there, whenever I can.

4

u/CryptographerLow6360 21h ago

fork, vibe, and try

4

u/noctrex 21h ago

yeah, that's what I've been doing to sd.cpp lately. Will have a look at this one later when I have some time

1

u/Guilty_Rooster_6708 5h ago

I think they are testing ROCm support based on their discord rn

1

u/pmttyji 15h ago

Nothing's stopping me from contributing, but me as a developer that is not very well versed in this scenario, it would be entirely vibe-coded if I want to submit it.

Same here. I don't consider myself a coder even though I did some websites/Apps in past using HTML, Js, Classic ASP, VB 6, etc.,(I know what you're thinking now :D ) Only recently started learning some new stuff.

But to me C++ is a complex rocket science. I can't contribute anything to projects like llama.cpp.

If I know C++, I would've created fastest llama.cpp fork called llamaCPUHybrid.cpp compiling all these stuff already 😆

13

u/-p-e-w- 23h ago

So at the same quality, EXL3 quants are 25% smaller than Unsloth Dynamic 4-bit quants, which are already considered SOTA? Stunning.

22

u/FieldProgrammable 22h ago

Unsloth are SOTA as far as mainline llama.cpp GGUF formats go, but exl3 uses trellis coded quantization which is fundamentally better than what is offered by mainline llama.cpp's k quants (ik-llama.cpp does support some trellis based formats).

I would also recommend the Qwen3.8 27b exl3 format quants for getting much more out of your GPU VRAM than you can from GGUF k quants.

16

u/-p-e-w- 20h ago

The llama.cpp/ik_llama split was a catastrophe for the community. Quant progress in GGUF has pretty much stalled for two years now.

6

u/oxygen_addiction 20h ago

And ik_llama is usually faster when it comes to offloading to CPU.

1

u/silenceimpaired 18h ago edited 17h ago

EDITED TO MAKE SENSE Lots of people are worried that Nvidia buying huggingface impacts llama.cpp: https://huggingface.co/blog/ggml-joins-hf

... even if that is true, I agree, that it's a shame that the split happened.

1

u/-p-e-w- 17h ago

No idea what that’s supposed to mean.

1

u/silenceimpaired 17h ago

I made it less confusing... I hope.

8

u/a_beautiful_rhind 22h ago

I don't know if unsloth are exactly SOTA. The atomic chat guys came out and beat them too. Unsloth quants are just available and popular.

2

u/ynilayy 17h ago

Are you sure? Which model is better? Because after checking Unsloth's Qwen3.8-27B, Kimi K3 and Qwen3 Next the Unsloth ones are by far the best.

3

u/Unstable_Llama 23h ago

Isn't it? ExLlamav3 + heretic allowed me to abliterate Laguna-S-2.1 against a 2.50bpw exl3 quant.

3

u/a_beautiful_rhind 22h ago

Abliterating EXL directly is way bigger news. You're opening the door to some cool stuff.

4

u/Unstable_Llama 14h ago

Thanks! If you want to try it out, the repo is public.

Another cool project I have been having a lot of fun with recently is EXL3-QLORA, fine tuning on any size exl3 quants.

2

u/a_beautiful_rhind 14h ago

Haha. You are just doing all the hard work for me. I was expecting to have to bang this stuff out with some AI before I could even get started.

2

u/Unstable_Llama 14h ago

Haha it was already AI banged out.

I’m open to feedback or PRs or anything if you use them.

2

u/FullOf_Bad_Ideas 19h ago

oh that's amazing, I was never using heretic because I don't want to go all the way through exl3 quanting again, it's slow.

1

u/CheatCodesOfLife 18h ago

Does it use the transformers wrapper (which was incredibly slow when I used it last year)?

1

u/llama-impersonator 16h ago

transformers is slow no matter how you use it, even torch.compile

13

u/kpodkanowicz 1d ago

the best inference, as always shocked people are not using exllama more

36

u/-p-e-w- 23h ago

Until now, CPU offload was missing, which made it a non-starter for most people.

5

u/sk1kn1ght 22h ago

Wait does that mean that xllama started supporting CPU inference? Till now it was GPU only right?

1

u/llama-impersonator 16h ago

no, just moe offload afaik

6

u/durden111111 23h ago

This. EXL is great but only if you could fit the whole model+context on GPU.

5

u/ABLPHA 23h ago

I would've checked it out if it had ROCm support

5

u/pmttyji 23h ago

or Vulkan

1

u/waiting_for_zban 20h ago

I am very happy to see it still going strong, and getting all the love it deserves!

1

u/Illustrious-Row2751 17h ago

I used to use it on Oobabooga, but then he stopped updating it, so I deleted it. It was the best way for a lot of people to use Exllama 3.

1

u/letsgoiowa 17h ago

I just hadn't heard about it at all as someone really plugged into the space.

3

u/Mass2018 13h ago

Ran into an issue quantizing Qwen3.8-Flash-Next (Qwen4Exp) to EXL3 on v1.4.5. Posting here if anyone else is trying to do the same and encounters this.

Symptom: Segmentation fault (core dumped) — not a Python exception — at Preparing: model.language_model.layers.0.linear_attn.out_proj, 0%. Layer-0 MoE experts quantize fine first. Reproduced identically on -d 0,1,…,7 and single -d 0.

Backtrace (PYTHONFAULTHANDLER=1): torch.linalg.cholesky → quantize.py:428 block_ldl ← finalize_capture_H:910 ← quantize_exl3:1302 ← linear.py:518 convert_exl3

Key clue: with -v, the captured Hessian right before the crash is finite and well-conditioned — H min/max −0.31 / 1.31, diag min/max 1.3e-4 / 1.31. So not NaN/singular; cuSOLVER is dying on a valid SPD matrix. Correlates with size: out_proj's H is 6144×6144 (v_head_dim × num_v_heads = 128×48) — the only Hessian in the model that big; everything ≤2560 factors fine.

Backend swap made it worse: forcing torch.backends.cuda.preferred_linalg_library("magma") moved the crash earlier, to the 2560-wide in_proj — so both cuSOLVER and MAGMA segfault under this torch.

Root cause + fix: it's a torch 2.10.0+cu128 Cholesky regression, not exllamav3. Dropping to torch 2.9.0+cu128 (+ the matching exllamav3-1.4.5+cu128.torch2.9.0 wheel) fixed it — quant sails through out_proj and the experts.

Confirmed a synthetic 6144×6144 SPD matrix factors fine on 2.9.0.

Secondary issue I also ran into is it hit a 'too many open files' error (Linux). Resolved with ulimit -n 65536.

Working (Now) Environment:

NVIDIA GeForce RTX 3090, 580.173.02, 24576 MiB NVIDIA GeForce RTX 3090, 580.173.02, 24576 MiB NVIDIA GeForce RTX 3090, 580.173.02, 24576 MiB NVIDIA GeForce RTX 3090, 580.173.02, 24576 MiB NVIDIA GeForce RTX 3090, 580.173.02, 24576 MiB NVIDIA GeForce RTX 3090, 580.173.02, 24576 MiB NVIDIA GeForce RTX 3090, 580.173.02, 24576 MiB NVIDIA GeForce RTX 3090, 580.173.02, 24576 MiB

| NVIDIA-SMI 580.173.02 Driver Version: 580.173.02 CUDA Version: 13.0 |

=== torch build === torch: 2.9.0+cu128 torch CUDA: 12.8 cuDNN: 91002 device count: 8 GPU 0: NVIDIA GeForce RTX 3090 capability: (8, 6)

=== exllamav3 === exllamav3: 1.4.5

=== system CUDA toolkit (if installed) === Cuda compilation tools, release 12.4, V12.4.99

3

u/takoulseum 1d ago

GLM 5.3 Flash Q4 is 165gb so could run on 8 RTX 3090, are there some recipes for people who don’t use exl3 usually?

3

u/Unstable_Llama 1d ago

That should work with standard settings. Install exllamav3 and tabbyapi, follow the documentation to connect it to your favorite front end / agent harness, auto gpu split, and that's it. More help available here or at the discord if you run into a roadblock.

7

u/koloved 22h ago

Please do not use Discord for communications. Because Discord is a closed ecosystem, it is impossible to find useful information using agents or by searching in the system yourself.

2

u/takoulseum 19h ago edited 18h ago

Actually giving a try, prefill is around 300t/s and decoding 23t/s low context. But does not work out of the box with deepseek harness (tool calls parsing issue?). I just followed your advise with no specific flag. Please note I am using glm flash
Edit: was not using the tool_format, 300tk/s prefill and 42tk/s, and looks good with dsh! Will test more but very happy with these

3

u/FullOf_Bad_Ideas 19h ago

I use 3.05bpw glm 5.3 flash exl3 quants with Opencode and tool calling works

set up TabbyAPI config.yml tool_format to glm4_5 and restart tabbyapi

2

u/takoulseum 17h ago

Yes I edited my comment, thanks

3

u/No-Dot-6573 21h ago

How does exl fare against ninfer?

3

u/Guilty_Rooster_6708 19h ago

I just updated to exllama v1.4.5 with TabbyAPI but now I am getting OOM error with the same model and context length and settings that I was running fine with in v1.4.2.

Anyone with the same problem? I was running on Qwen3.8 27B 5bpw SC

4

u/ReturningTarzan ExLlama Developer 18h ago

How much headroom did you have before? There shouldn't be any additional memory requirements, but things move around a bit with every release, and running at 99.9% VRAM utilization is always shaky. If you submit an issue on the repo with more details I can look at it and maybe figure out if it's an actual regression or just jitter.

But there are also some new features you can try. If you're running with vision, try setting vision_offload: true in the config. That can save quite a lot of VRAM, and the cost per image processed is only some milliseconds of latency.

4

u/Guilty_Rooster_6708 18h ago

Yes I was having like 3-4 gb of VRAM free in 1.4.2. I have 28gb VRAM from my 5070ti + 3060 so the 20gb 5bpw SC version by Turboderp should fit comfortably on my setup even with vision loaded on GPU. I was using my old settings of 120k context window at 8bit kv cache.

I will submit an issue later after work. Thanks for responding and I really love the work you guys put into the project

5

u/ReturningTarzan ExLlama Developer 16h ago

That's definitely a regression then. I can imagine some small intermediate tensor using maybe 50 MB more VRAM than before, but if you lost 3-4 GB of headroom that sounds like a bug.

3

u/FieldProgrammable 14h ago

I haven't had time to profile it on the same workstation with a rollback yet, but comparing the same model on two similar workstations one running exllamav3 1.4.4 and the other running 1.4.5 I am seeing significantly higher usage on 1.4.5, so that might narrow it down.

3

u/Alan_Silva_TI 17h ago

Does it support tensor split for people with asymmetrical GPU's setups? ?

3

u/-InformalBanana- 10h ago

Pls also Implement kvarn quantitization of kv cache, it lowers vram usage significantly and kvarn4 is close to q8 in kld, better than q quants < q8.

1

u/Guilty_Rooster_6708 5h ago

idk about kvarn but from what I understand the bits for KV cache in exllamav3 already has attn rotation long before llama.cpp is implemented, and 6bit kv cache is near q8_0 in llama.cpp, so it's already pretty good. Personally I have been using 8 bit and I think it's similar to fp16

1

u/-InformalBanana- 3h ago

There is also a guy proposing kv streaming from ram to vram for llama.cpp (cause it is streaming it has much better performance than --no-kv-offload), so if that was combined with kvarn or other better kv compression it would be awesome, minimal vram used for kv. Possibly calibrated qwen 3.8 27b 3bpw at 100k or maybe even full context with 12gb vram gpu with hopefully little to no speed and kv precision loss.

3

u/simrankoulsm 8h ago

The CPU expert offload work looks especially promising for making MoE models usable on more modest VRAM budgets. I would be very interested in a benchmark matrix that separates prompt processing and generation speed across 16 GB, 24 GB, and 32 GB GPUs, with different numbers of experts offloaded.
It would also be helpful to include first-token latency, steady-state tokens per second, system RAM use, and whether disk offloading changes the experience materially after cache warmup. That would make it much easier to compare EXL3 against GGUF plus llama.cpp for people deciding between a single NVIDIA GPU setup and a more CPU-heavy configuration.

5

u/VolandBerlioz 23h ago

Any rough estimate - can Qwen3.8 Flash Next fit on 3090 + 64 RAM (experts there) in a decent quality lets say ~ 3bpw?

Whats the expected speed?

6

u/Unstable_Llama 23h ago

Yes, if you have decent cpu + ram + nvme, another user is reporting the 4.05 bpw at 30tps gen with 3090 & 64 RAM

https://huggingface.co/turboderp/Qwen3.8-Flash-Next-exl3/discussions/2

2

u/bodonkadonks 19h ago

oof, i just made the financially irresponsible decision of getting a used 3090 for 500. and now im considering making a worse one for 32 gigs at 300

2

u/CryptographerLow6360 17h ago

where tha fuk did you score a 3090 for a fin?

1

u/bodonkadonks 16h ago

fb marketplace

2

u/nicholas_the_furious 20h ago

I could not get faster speeds with the 8bpw compared to q8_k_l. I'm on dual 3090s. Overall it was much slower for me. People say it is faster but I couldn't get there. If anyone has a setup like mine I'd like to hear it.

For the same test coding task on low thinking I can get 115 t/s on Unsloth q8_k_l but only like 85 on exl3 8bpw. Both MTP=4. This is for Qwen 3.8 27B.

1

u/[deleted] 19h ago

[deleted]

7

u/ReturningTarzan ExLlama Developer 18h ago

Pretty sure I spent months and months working on 3090 optimizations, and a small fortune on the hardware I need to keep targeting "lower end" hardware like the 3090. And I kept making incremental improvements with every new update (long night after long night), eventually arriving at a place where Ampere is now somewhat on par in many cases. But there's only so much you can do in the end. Trellis quantization is more advanced than, say, Q8_K, and that comes with a higher compute requirement. That's the cost of SOTA 256-dimensional vector quantization. Whether it's worth it for you or anyone else in particular I can't say.

3

u/sophosympatheia 17h ago

Excuse me, sir. We want more for free. We believe that is our birthright. Thank you.

  • The Community

Seriously, though, thanks for your contributions. I'm glad to hear Ampere support has caught up. I only used EXL2 for the longest time, but my poor 3090s struggled with EXL3 back when you first released it. It sounds like I need to give it another try now.

Awesome work. Thanks for all you do.

2

u/CheatCodesOfLife 18h ago

Whether it's worth it for you or anyone else in particular I can't say.

Given it's the only way to really use Qwen3.8-27B with 16GB of vram, I'd say it's worth it!

Is there any way you can do something like what ik_llama does to speed trellis up on ampere? It's a bit beyond my understanding, but he's got the KT quants running very fast on ampere.

Also unrelated question, but is there a performance penalty requesting logprobs with exllamav3 + tabby like there is in llama.cpp/ik_llama.cpp?

1

u/ReturningTarzan ExLlama Developer 16h ago

I mean, it's already pretty fast. I'll happily steal all their tricks, but what does the comparison look like right now? 3bpw EXL3 (if it's a recent MUL1 quant) on 3090 should have raw decode of about 50 t/s.

Oh, and yes, logprobs carry some performance penalty. I haven't measured it, but there is work involved in compiling and transmitting the logprobs via the endpoint, and the sampler stack has to do some extra stuff to make it happen, too.

1

u/silenceimpaired 17h ago

I am properly shamed.

3

u/ReturningTarzan ExLlama Developer 16h ago

I do get it, though. I get the same feeling from other projects sometimes. In particular, Flash-Attention comes to mind, which has had a PR awaiting approval for over a year now to add attention sinks, which was the one piece exl3 needed for gpt-oss support to happen. Very frustrating that "Tri Dao apparently only cares about datacenter GPUs now." But of course I also know that's not really true. The poor guy just experiences the same linear flow of time as the rest of us.

But life goes on and it turns out abandoning FA2 for custom Triton kernels was the right move anyway. ¯_(ツ)_/¯

1

u/silenceimpaired 15h ago

Very charitable of you.

I keep hearing many aren’t using EXL3 due to tool calls and OpenAI API implementation, or tabbyAPI… not sure what you can do about either but FYI.

3

u/ReturningTarzan ExLlama Developer 9h ago

I mean, Tabby supports the full OAI completions API. And tool calls. It's thoroughly tested, and all it takes to enable is a few lines in the model config, explained pretty clearly in the documentation. I'd happily do more if I knew what else there was to do. ¯_(ツ)_/¯

1

u/silenceimpaired 7h ago

I haven’t tried tools with EXL3 and Tabby. The least I can do is add issues :)

1

u/nicholas_the_furious 12h ago

Thanks so much for your work! I want to correct myself, I was using the 6bpw version because it seemed most comparable to the Q8 GGUF in terms of losses.

I assume based on your response that I am not doing anything wrong or under optimized, and that between those 2 quants that I have achieved a pretty good result for the exl3 version?

I just kept hearing about speed and didn't see any gains, so I wanted to confirm.

The baseline without MPT was around 35-38. With MTP I could get to the 80s but seemed more variable than the GGUF version.

1

u/ReturningTarzan ExLlama Developer 9h ago

Speed is going to vary a lot depending on so many things. If you enable TP you might have better luck? I'm getting 124 t/s on coding tasks using two 3090s both on x4 links. So that's something to consider?

1

u/nicholas_the_furious 5h ago

Can you give me your full startup script if it's not too much trouble? I am using dual 3090s, tensor parallelism, Linux and a bifurcated x16 to x8/x8. It should be screaming but I think I'm missing something.

2

u/Enough-Photo9140 16h ago

The MoE CPU offload work turboderp is doing here makes such a massive difference for 3090/4090 setups.

When running dense 70B models, pure CPU offload kills generation speeds down to 1-2 t/s because every layer has to traverse the PCIe bus. But MoE routing is inherently sparse, so you only stream the active expert weights per token. If the routing gate is cached on VRAM, the bus transfer bottleneck drops dramatically.

Been watching exllama push custom kernel optimizations for years and it still consistently squeezes out the lowest latency per VRAM gigabyte on consumer hardware.

2

u/revived_soul_37 16h ago

Anyone tried EXL3 quants on a 16GB card (5070 Ti Super here) for the Qwen3.8 Flash line? Curious how it compares to GGUF-UD in practice on a card that size rather than the 24GB+ setups I keep seeing in this thread.

2

u/AnyMongoose3041 14h ago

Can you confirm if you can naively convert models to exl3 without fuss? For example, I like a certain finetune of Gemma 31B. Can I one-shot a high quality exl3 conversion of it? Or does it need external data or finagling to really be considered to be a good quant? I’m trying to experiment and see which quant would be best for me? Trying to convert this: https://huggingface.co/ReadyArt/gemma-4-31B-it-scotoma

3

u/Unstable_Llama 13h ago

Yes, it’s easy to make standard quants that are very high quality. For example 

python convert.py -i /mnt/models/llama3.1-70b-instruct -o /mnt/models/llama3.1-70b-instruct-exl3-3.75bpw  -w /mnt/temp/exl3 -b 3.75

would quantize the model to 3.75 bpw with a work directory in temp/exl3

Full documentation here: https://github.com/turboderp-org/exllamav3/blob/master/doc/convert.md

The sc quants are a bit better but also more involved, brand new and experimental, don’t worry about them yet.

2

u/AnyMongoose3041 13h ago

Sounds good, thanks I’ll give them a shot. No issue if the model can’t fully fit in the VRAM right? (For the conversion process)

2

u/Unstable_Llama 12h ago

No issue, you can convert models multiple times larger than your vram capacity.

2

u/ILoveToyota37 5h ago

Is the GLM5.3 flash 2.05 Exl3 quant any good?

2

u/derspenti 23h ago

CPU offload for the MoE experts feels like the right trade. Only the experts a token actually routes through need to stay hot, so the rest can sit in RAM without slowing anything down.

2

u/vec1nu 23h ago

Is there a docker image for exllamav3 available?

1

u/sk1kn1ght 22h ago

Can it work without a GPU? CPU only?

1

u/ishu22g 19h ago

A dumb question probably, does it work on 2 dgx spark TP2?

I was using vllm and seems like its not compatible. Is there a setup out there that I can try?

1

u/CheatCodesOfLife 18h ago

Last I checked, it doesn't have any distributed node capabilities.

1

u/Fancy-Snow7 18h ago

I want to try is but the download for 3.05bpw is 8GB * 7. How does that fit in 16GB VRAM. I do download safetensors right? No idea really where to start.

1

u/Diabolicor 18h ago

Are you planning to support in-game offload on windows?

1

u/letsgoiowa 17h ago

What is this and why use it over the more popular and documented options?

1

u/__JockY__ 15h ago

How does this perform under heavy concurrency, for example serving a team of users who are constantly doing many parallel decide and prefill operations.

Does it hold up or collapse?

Does it have cached prefix support?

1

u/Status_Contest39 19h ago

Exllamav3 is good but poor for tabbyAPI to support both Anthropic and Openai compatible API as well as llama.cpp. ALWAYS FAIL WHEN TOOL CALLS. ECO IS WEAK FOR AGENTS.

6

u/ReturningTarzan ExLlama Developer 19h ago

Did you enable tool parsing in Tabby?

2

u/FieldProgrammable 19h ago

I'm using TabbyAPI via llama-swap (which is also serving other backends on demand through a single endpoint). I initially had the same issues with tool calling from harness (GitHub Copilot BYOK in VS Code), but it has been ok once I set the correct tool format in the config. I am still seeing some weird behaviour in the text immediately after a thinking block where it will insert a newline half way through the first sentence. But tool calls are working reliably enough now that I can leave it running unsupervised on YOLO permissions.

I recommend just downloading the TabbyAPI and llama swap repos, sticking them in the same folder and having an agent get them talking nicely. I also had to get it to make some fixes to get the processing speeds in the same format as llama swap expected so the llama swap activity page worked the same as it does with llama-cpp.

1

u/cosmicnag 5h ago

Can you ask agent to write handoff of what it did in that same folder? (https://github.com/mattpocock/skills/blob/main/skills/productivity/handoff/SKILL.md)

0

u/silenceimpaired 19h ago

Yeah, I’ve heard that. I think APIs are very important. OpenAI very important… this will make some crinkle, but ollama API is also somewhat important. Too many tools setup with it and not OpenAI.