Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gitpusher42
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
gitpusher42
1mo ago
Yeah, original TurboFieldfare supports Gemma https://github.com/drumih/turbo-fieldfare
2.
▲
by
gitpusher42
1mo ago
Thank you for using TurboFieldfare as a starting point for this project and thank you for mentioning it at the README. I am glad it inspired more people to explore area of on-device AI further!
3.
▲
by
gitpusher42
2mo ago
It is only a wild guess, but if you have 256gb version and a lot of apps running it can be pretty slow.
4.
▲
by
gitpusher42
2mo ago
Thank you for testing and sharing results! I think I might understand your use case. You ssh the Mac and want something like `ollama run` with an interactive chat in terminal. Am I right? There is already experimental OpenAI-compatible serv
5.
▲
by
gitpusher42
2mo ago
I think there is a limit based on MoE number of active parameters and quantisation, bytes count for active experts. But I believe we will see more project like this for different models.
6.
▲
by
gitpusher42
2mo ago
Uh, maybe, who knows. I am pretty bad solving leetcode, btw
7.
▲
by
gitpusher42
2mo ago
Yeah, gpt-oss-120b is also MoE, so the same ssd-streaming and caching ideas should work. Feel free to fork and try implementing it!
8.
▲
by
gitpusher42
2mo ago
Yeah, it must be exactly the same. The same weights are used, nothing skipped or pruned. But it might have differ to MLX for greedy decode because of small floating-point nums difference
9.
▲
by
gitpusher42
2mo ago
yeah, looks like a page cache matters a lot I tested on mine m5 pro with 8gb memory pressure, got 27t/s instead of 35t/s Someone tested on m4 max. In regular state it was 48tok/s, but 32-42 with memory pressure
10.
▲
by
gitpusher42
2mo ago
Apple does something similar with their latest foundation model. They process input prompt and based on results they preload required experts. Quite neat solution for the edge devices
11.
▲
by
gitpusher42
2mo ago
Yeah, sure! You can select different options in the app settings at the right panel, it shows how much memory it will use For CLI and Server, use --max-context
12.
▲
by
gitpusher42
2mo ago
uh, tried most of this mmap benchmark did basically page touch experiment and cold reads were much slower, unfortunately (10ms vs 3ms) I tried MADV_WILLNEED, F_RDADVISE and preadv. preadv reduced parallelism because requested experts are ra
13.
▲
by
gitpusher42
2mo ago
afaik there is some research at this area. Also the new apple foundation model uses related idea. they process the whole prompt and based on prompt load required experts and use only these experts for generation. It doesn't require fi
14.
▲
by
gitpusher42
2mo ago
Yeah, must be possible. Not fast, but possible if you have enough ram. I think you can search online for projects, I think I saw something related
15.
▲
by
gitpusher42
2mo ago
uh, don't worry. Just install the latest Xcode from the App Store. It includes everything you need to run this project
16.
▲
by
gitpusher42
2mo ago
It heavily relies on M-series Mac unified memory architecture. And shaders are written using Metal, Apple's own gpu programming technology. It cannot be ported directly to classic architecture (ram+vram)
17.
▲
by
gitpusher42
2mo ago
Not sure it will be really usable. Check for Flash-Moe and Colibri repos A lot of request for qwen3.6 moe, it might worth exploring
18.
▲
by
gitpusher42
2mo ago
Yeah, Gemma is not the best for coding I guess. qwen must be better
19.
▲
by
gitpusher42
2mo ago
Yeah, the same ideas should work for qwen. You can try porting this engine to use Owen. Owen 3.6-35b-a3b was my initial idea, but I switched to Gemma because of its simpler architecture and kernels
20.
▲
by
gitpusher42
2mo ago
Thank you for testing and sharing, it is useful info!
21.
▲
by
gitpusher42
2mo ago
Thank you very much for sharing! Great results and useful info!
22.
▲
by
gitpusher42
2mo ago
Thanks! Will try!
23.
▲
by
gitpusher42
2mo ago
uh, it's a bit difficult to discuss the classical approach with vRAM and regular RAM. Not really familiar with optimisations and hacks, I always worked with apple platforms and shared memory. But description sounds cool, good luck with
24.
▲
by
gitpusher42
2mo ago
Check for colibri, dwarf star and flash-moe. they do similar things with bigger models https://github.com/JustVugg/colibri https://github.com/antirez/ds4 https://github.com/danvelo
25.
▲
by
gitpusher42
2mo ago
Yeah, I tried both rearranging experts on disk and predicting the next expert using statistical approach. Reordering helped on the test prompt, but failed on another prompt. Markov and cross layer prediction didn't work either
26.
▲
by
gitpusher42
2mo ago
It is Apple platform only implementation because of Metal (and Swift). Other platforms would require CUDA or Vulkan and a complete rework
27.
▲
by
gitpusher42
2mo ago
hm. just open repo, copy commands into your terminal and you will get app installed (if you have swift toolchain installed) after that download 14gb of weights and enjoy offline inference (and a bit of Gemma4 intelligence) for your everyday
28.
▲
by
gitpusher42
2mo ago
Thank you! If you can use it for your tasks I would be happy!
29.
▲
by
gitpusher42
2mo ago
uh, I don't think it is possible to compare them. DwarfStar4 is for high end macs and a lot of ram. this project is more targeted to low end devices and "general use" Gemma4 model
30.
▲
by
gitpusher42
2mo ago
Yeah, I checked it. One expert is about a 3.36mb block. If a cache miss happens I read whole block with one pread. And there is some reuse. ~41% selected again for the next token, ~57% within two. Each layer has its own experts, so no reuse
More ›