HNHacker News
TopNewBestAskShowJobs

tarruda

3,052 karma · joined April 10, 2013

[ my public key: https://keybase.io/tarruda; my proof: https://keybase.io/tarruda/sigs/LfzoAvuAtqMKfg4heD0NRvBBrY8p1U4AFdWg_LGswnQ ]
submissionscomments
tarruda··on Open models by OpenAI
A 64GB MacBook would be a tight fit, if it works.

There's a limit to how much RAM can be assigned to video, and you'd be constrained on what you can use while doing inference.

Maybe there will be lower quants which use less memory, but you'd be much better served with 96+GB

tarruda··on Open models by OpenAI
> Also I'm not sure if ollama supports a kv-cache between invocations of /v1/completions, which could help)

Not sure about ollama, but llama-server does have a transparent kv cache.

You can run it with

    llama-server -hf ggml-org/gpt-oss-20b-GGUF -c 0 -fa --jinja --reasoning-format none

Web UI at http://localhost:8080 (also OpenAI compatible API)
tarruda··on Ollama Turbo
Llama.cpp (library which ollama uses under the hoods) has its own server, and it is fully compatible with open-webui.

I moved away from ollama in favor of llama-server a couple of months ago and never missed anything, since I'm still using the same UI.

tarruda··on The future is not self-hosted, but self-sovereign
> I can't imagine needing more computing power than an N100 provides for a home server

If you only need to stream media and serve files, sure.

tarruda··on Nextcloud cries foul over Google Play Store app rejection
> The escape hatch is to use the FDroid version rather than the Play Store version.

As long as Google doesn't remove the ability to sideload apps, Android users are fine.

tarruda··on Internet in a Box
I wonder if it is possible to have some kind of P2P protocol similar to BitTorrent where one can seed incremental snapshots of subsets of the internet.

Something like the internet archive, but fully decentralized.

tarruda··on Gemma 3 QAT Models: Bringing AI to Consumer GPUs
> I’m always amused when people don’t want to send fractions of their code to a LLM but happily host it on GitHub

What amuses me even more is people thinking their code is too unique and precious, and that GitHub/Microsoft wants to steal it.

tarruda··on The Llama 4 herd
> I'm a little unimpressed by its instruction following

Been trying the 109b version on Groq and it seems less capable than Gemma 3 27b

tarruda··on The Llama 4 herd
I read somewhere that ryzen AI 370 chip can run gemma 3 14b at 7 tokens/second, so I would expect the performance to be somewhere in that range for llama 4 scout with 17b active
tarruda··on Llama4
Llama.com has the blog post
tarruda··on Is Python Code Sensitive to CPU Caching? (2024)
AFAIK CPython doesn't JIT compile.
tarruda··on Gemma3 – The current strongest model that fits on a single GPU
I tested the full fp16 gguf
tarruda··on Gemma3 – The current strongest model that fits on a single GPU
Thanks for this, but I'm still unable to reproduce the results from Google AI studio.

I tried your version and when I ask it to create a tetris game in python, the resulting file has syntax errors. I see strange things like a space in the middle of a variable name/reference or weird spacing in the code output.

tarruda··on Gemma3 – The current strongest model that fits on a single GPU
I ran the same prompt on google AI studio it had the same behavior of talking about improvements as if the code it wrote was not the first version.

Other than that, the experience was completely different:

- The game worked on first try

- I iterated with the model making enhancements. The first version worked but didn't show scores, levels or next piece, so I asked it to implement those features. It then produced a new version which almost worked: The only problem was that levels were increasing whenever a piece fell, and I didn't notice any increase in falling speed.

- So I reported the problems with level tracking and falling speed and it produced a new version which crashed immediately. I pasted the error and it was able to fix it in the next version

- I kept iterating with the model, fixing issues until it finally produced a perfectly working tetris game which I played and eventually lost due to high falling speed.

- As a final request, I asked it to port the latest working version of the game to JS/HTML with the implementation self contained in a file. It produced a broken implementation, but I was able to fix it after tweaking it a little bit.

Gemma 3 27b on Google AI studio is easily one of the best LLMs I've used for coding.

Unfortuantely I can't seem to reproduce the same results in ollama/open webui, even when running the full fp16 version.

tarruda··on Gemma3 – The current strongest model that fits on a single GPU
Can you share the all the recommended settings to run this LLM? It is clear that the performance is very good when running on AI studio. If possible, I'd like to use the all the same settings (temp, top-k, top-p, etc) on Ollama. AI studio only shows Temperature, top-p and output length.
tarruda··on Gemma3 – The current strongest model that fits on a single GPU
I tried ollama fp16 and it had the same issues.
tarruda··on Gemma3 – The current strongest model that fits on a single GPU
Same experience here: On AI Studio, this is easily one of the strongest models I have used, including when compared to proprietary LLMs.

But ollama and openwebui performance is very bad, even when running the FP16 version. I also tried to mirror some of AI studio settings (temp 1 and top p 0.95) but couldn't get it to produce anything useful.

I suspect there's some bug in the ollama releases (possibly wrong conversation delimiters?). If this is fixed, I will definitely start using Gemma 3 27b as my main model.

tarruda··on Gemma3 – The current strongest model that fits on a single GPU
I checked this, the whole conversation was about 1000 tokens.

I suspect the Ollama version might have wrong default settings, such as conversation delimiters. The experience of Gemma 3 in AI studio is completely different.

tarruda··on Gemma3 – The current strongest model that fits on a single GPU
The new M3 Ultra Mac Studio (512GB version) seems to be capable of running DeepSeek R1 in Q4
tarruda··on Gemma3 – The current strongest model that fits on a single GPU
My usual non-scientific benchmark is asking it to implement the game Tetris in python, and then iterating with the LLM to fix/tweak it.

My prompt to Gemma 27b (q4) on open webui + ollama: "Can you create the game tetris in python?"

It immediately starts writing code. After the code is finished, I noticed something very strange, it starts a paragraph like this:

" Key improvements and explanations:

     Clearer Code Structure:  The code is now organized into a Tetris class, making it much more maintainable and readable.  This is essential for any non-trivial game.
"

Followed by a bunch of fixes/improvements, as if this was not the first iteration of the script.

I also notice a very obvious error: In the `if __name__ == '__main__':` block, it tries to instantiate a `Tetris` class, when the name of the class it created was "TetrisGame".

Nevertheless, I try to run it and paste the `NameError: name 'Tetris' is not defined` error along with stack trace specifying the line. Gemma then gives me this response:

"The error message "NameError: name 'Tetris' is not defined" means that the Python interpreter cannot find a class or function named Tetris. This usually happens when:"

Then continues with a generic explanation with how to fix this error in arbitrary programs. It seems like it completely ignored the code it just wrote.

tarruda··on Gemma3 – The current strongest model that fits on a single GPU
In my experience, Gemma models were always bad at coding (but good at other tasks).
tarruda··on Gemma3 – The current strongest model that fits on a single GPU
Is "OpenAI" the only AI company that hasn't released any model weights?
tarruda··on Show HN: Open-Source DocumentAI with Ollama
> How well does it cite the source?

I don't know about the OP tool, but open webui has its own document database which you can integrate with LLMs, and when answering questions it always cites the source with a link for you to verify

tarruda··on Smallpond – A lightweight data processing framework built on DuckDB and 3FS
> We ain't even solved garbage collection yet

Can you elaborate on that?

tarruda··on Show HN: Python micro event loop library (~250 LOC)
> What is the purpose of @dataclass on Task class?

No purpose. I think I added in the initial implementation and ended up not being required, but I forgot to remove

tarruda··on Show HN: Python micro event loop library (~250 LOC)
If you count only the library code, it is less than 250 LOC.

I then asked for Claude to write the docstrings and examples which increased by 500

tarruda··on DeepSeek Open Infra: Open-Sourcing 5 AI Repos in 5 Days
Would love another MoE that fits in 120GB VRAM for the 128gb Mac owners
tarruda··on Asahi Linux lead developer Hector Martin resigns from Linux kernel
> And it's quite out of character for Linus not to have a blazingly clear opinion. (We all know his stance on C++, for instance.)

People change. As you get older, you might find you no longer care that much about subjects you previously had very strong opinions about

tarruda··on How to Run DeepSeek R1 671B Locally on a $2000 EPYC Server
> What is a bit weird about AI currently is that you basically always want to run the best model,

I think the problem is thinking that you always need to use the best LLM. Consider this:

- When you don't need correct output (such as when writing a blog post, there's no right/wrong answer), "best" can be subjective.

- When you need correct output (such as when coding), you always need to review the result, no matter how good the model is.

IMO you can get 70% of the value of high end proprietary models by just using something like Llama 8b, which is runnable on most commodity hardware. That should increase to something like 80% - 90% when using bigger open models such as the newly released "mistral small 3"

tarruda··on Show HN: Lua-libuv – A Lua with libuv experiments
Interesting. A common libuv binding for lua is "luv": https://github.com/luvit/luv
← PreviousPage 6 of 23Next →