HackerTrans
TopNewTrendsCommentsPastAskShowJobs

anuarsh

no profile record

Submissions

Show HN: Fine-tune Llama3-8B on 8GB GPU without quantization

github.com
3 points·by anuarsh·9 個月前·0 comments

Show HN: Run Qwen3-Next-80B on 8GB GPU at 1tok/2s throughput

github.com
123 points·by anuarsh·10 個月前·17 comments

comments

anuarsh
·10 個月前·discuss
Good question, need to research this one
anuarsh
·10 個月前·discuss
There's one more exciting thing about Qwen3-next (except, efficient MoE architecture and fast linear attention) - MTP (Multi token prediction). It is the additional layer that allows generating more tokens without the need to go through the model again. I'm trying to make it work, but unsuccesfully yet. Maybe someone could help me with it - https://github.com/Mega4alik/ollm/blob/dev/src/ollm/qwen3_ne... (dev brunch). Take a look
anuarsh
·10 個月前·discuss
I haven't tested on Apple machines yet, but gpt-oss and qwen3-next should work I assume. Llama3 versions use cuda specific loading logic for speed boost, so it won't work for sure
anuarsh
·10 個月前·discuss
Thanks! I don't have much experience with diffusion models, but technically any multi-layer model could benefit from loading weights one by one
anuarsh
·10 個月前·discuss
1tok/2s is the best I got on my PC, thanks to MoE architecture of qwen3-next-80B. gpt-oss-20B is slower because I load all single layer experts to GPU and unpack weights (4bit -> bf16) each time. While with qwen3-next I load only active experts (normally 150 out of 512). Probably I could do the same with gpt-oss.
anuarsh
·10 個月前·discuss
CPU is much slower than GPU. You can actually use both by offloading some layers to CPU as o.offload_layers_to_cpu(layers_num=12). It is faster to load from RAM than from SSD.