Better HN
topnewbestaskshowjobs
Log inSign up

Patrick_Devine

1,602 karma · joined Jun 23, 2013 (13y ago) · 557 submissions

Submissions

comment 2mo ago · link · parent

How is Ollama pivoting to a "less open" direction? Everything is MIT licensed.

comment 5mo ago · link · parent

Given the model was just republished by Google 15 minutes ago and we're going to have to redo everything (and everyone will have to redownload for all platforms -- not just Ollama), I'll just say that sometimes things don't work out exactly the way you want them to. :-D

That said, I think the gemma4:12b-nvfp4 model is pretty solid. It's been tuned with Nvidia's model optimizer. I've been waiting on the results for MMLU-Pro, but I'll have to retrigger that after reconverting.

comment 5mo ago · link · parent

I realize this is a little confusing; we're working w/ the MLX team to bring MLX to other platforms, but we're not quite there yet. The `gemma4:12b-nvfp4` model is specifically for the MLX engine.

For the GGUF 4bit variant (i.e. non-macs) you'll need `gemma4:12b-it-q4_K_M` which I just pushed. You'll also need to upgrade to version 0.30.4 which we're just about to release (it's in prerelease and we're running through our last regression tests).

comment 5mo ago · link · parent

I haven't yet pushed the MTP enabled gemma4 12b model for Ollama because in my testing I wasn't getting a performance bump. The other gemma4 MTP models should work OK right now, but there are some fixes we're just about to push. This is specifically for the MLX backend.

comment 6mo ago · link · parent

In my testing the Gemma 4 31b model had the biggest speed boost in Ollama w/ the MLX runner for coding tasks (at about 2x). Unfortunately you'll need a pretty beefy Mac to run it because quantization really hurts the acceptance rate. The three other smaller models didn't perform as well because the validation time of the draft model ate up most of the performance gains. I'm still trying to tune things to see if I can get better performance.

You can try it out with Ollama 0.23.1 by running `ollama run gemma4:31b-coding-mtp-bf16`.

comment 7mo ago · link · parent

I wish they would do this when you're boarding the plane. I get that there is essential information that everyone needs to know, but if you're a frequent flier you've probably heard the "put your larger carry-on in the overhead bin and your smaller bag underneath the seat in front of you" hundreds, if not thousands of times.

comment 7mo ago · link · parent

Isn't this why NASA is developing the Electrodynamic Dust Shield [1] system?

[1] https://www.nasa.gov/image-article/nasas-dust-shield-success...

comment 7mo ago · link · parent

If you're on a Mac, use the MLX backend versions which are considerably faster than the GGML based versions (including llama.cpp) and you don't need to fiddle with the context size. The models are `qwen3.6:35b-a3b-nvfp4`, `qwen3.6:35b-a3b-mxfp8`, and `qwen3.6:35b-a3b-mlx-bf16`.

comment 7mo ago · link · parent

They are nvidia-fp4 weights, but CUDA support isn't _quite_ ready yet, but we've got that cooking.

comment 7mo ago · link · parent

The 35b-a3b-coding-nvfp4 model has the recommended hyperparameters set for coding, not chatting. If you want to use it to chat you can pull the `35b-a3b-nvfp4` model (it doesn't need to re-download the weights again so it will pull quickly) which has the presence penalty turned on which will stop it from thinking so much. You can also try `/set nothink` in the CLI which will turn off thinking entirely.

comment 7mo ago · link · parent

Try it with mxfp8 or bf16. It's a decent model for doing tool calling, but I wouldn't recommend using it with 4 bit quantization.

comment 9mo ago · link · parent

I noticed the same thing. I'm assuming they forgot to photoshop out the chinese characters.

comment 9mo ago · link · parent

The Departing / Arrival airports plus a full track would be absolutely amazing.

comment 11mo ago · link · parent

5 years is normal-ish depreciation time frame. I know they are gaming GPUs, but the RTX 3090 came out ~ 4.5 years before the RTX 5090. The 5090 has double the performance and 1/3 more memory. The 3090 is still a useful card even after 5 years.

comment 11mo ago · link · parent

The instruct models are available on Ollama (e.g. `ollama run ministral-3:8b`), however the reasoning models still are a wip. I was trying to get them to work last night and it works for single turn, but is still very flakey w/ multi-turn.

comment 1y ago · link · parent

The default ones on Ollama are MXFP4 for the feed forward network and use BF16 for the attention weights. The default weights for llama.cpp quantize those tensors as q8_0 which is why llama.cpp can eek out a little bit more performance at the cost of worse output. If you are using this for coding, you definitely want better output.

You can use the command `ollama show -v gpt-oss:120b` to see the datatype of each tensor.

comment 1y ago · link · parent

We uploaded gemma3:270m-it-q8_0 and gemma3:270m-it-fp16 late last night which have better results. The q4_0 is the QAT model, but we're still looking at it as there are some issues.

comment 1y ago · link · parent

Ollama only uses llamacpp for running legacy models. gpt-oss runs entirely in the ollama engine.

You don't need to use Turbo mode; it's just there for people who don't have capable enough GPUs.

comment 1y ago · link · parent

I worked on the text portion of gemma3 (as well as gemma2) for the Ollama engine, and worked directly with the Gemma team at Google on the implementation. I didn't base the implementation off of the llama.cpp implementation which was done in parallel. We did our implementation in golang, and llama.cpp did theirs in C++. There was no "copy-and-pasting" as you are implying, although I do think collaborating together on these new models would help us get them out the door faster. I am really appreciative of Georgi catching a few things we got wrong in our implementation.

comment 1y ago · link · parent

Wait, what hosted APIs is Ollama wrapping?

comment 1y ago · link · parent

The vision tower is 7GB, so I was wondering if you were loading it without vision?

comment 1y ago · link · parent

Ollama has had vision support for Gemma3 since it came out. The implementation is not based on llama.cpp's version.

comment 1y ago · link · parent

My point was multi-images and pan-and-scan. We haven't implemented those yet in Ollama, but soon!

comment 1y ago · link · parent

There are some fixes coming to uniformly speed up pulls. We've been testing that out but there are a lot of moving pieces with the new engine so it's not here quite yet.

comment 1y ago · link · parent

Not quite yet on Ollama, but hopefully we'll add this soon. Also, we didn't add the pan-and-scan algorithm yet for getting better clarity in the original image.

comment 1y ago · link · parent

When Skytrain first came out it was touted about how quiet it was vs. other metro systems. [1] The problem (as others have pointed out) is just the Mark I trains are 40 years old and the maintenance hasn't kept up with the track and the wheels. Things wear out.

[1] https://youtu.be/pTsSXdSjU1I?t=455

comment 1y ago · link · parent

I still have my boxed copy (along with everything Loki produced) in a big box in the garage.

comment 1y ago · link · parent

We ended up not publishing it as a library model just because it was leaked and not the official weights.

comment 1y ago · link · parent

It also doesn't render unicode characters correctly (specifically unicode block chars). And they refuse to fix is, so d. is kinda a moot point.

30.

Structured Outputs with Ollama(ollama.com ↗)

265 points · by Patrick_Devine · 1y ago · 70 comments

12345
19