Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MLX model loading quirks
#1
Has anyone else run into this?

I'm mostly working with DeepSeek in llama.cpp on Threadripper box. The part I'm trying to understand is batch size.

Not looking for the perfect answer, mostly what worked in real use.
Reply
#2
What worked for me was pretty simple. On mini PC, the easiest win is often to back off the aggressive settings and see whether the problem survives. Once you know the plain path works, then add the faster path back in piece by piece.
Reply
#3
My first guess would be this: Start by verifying the driver/runtime combo, then test with a smaller prompt, then look at batch size.
trying not to rebuild again
Reply
#4
Did a small comparison this afternoon. The issue went away once I changed one setting and restarted the stack cleanly.
Reply
#5
My first guess would be this: If you're on TensorRT-LLM, I'd confirm the version first and then reduce variables until the behavior is obvious. A lot of these threads end up being one bad config plus a pile of conclusions drawn from it.
Apple Silicon • MLX mostly
Reply
#6
Appreciate the detail. I ended up in about the same place using LM Studio. The biggest change for me was simplifying the stack instead of adding one more optimization layer.
Apple Silicon • MLX mostly
Reply
#7
Quote:My first guess would be this: If you're on TensorRT-LLM, I'd confirm the version first and then reduce variables until the behavior is obvious. A lot

Can you fill in a bit more context? Do you see the same thing with a smaller batch or shorter prompt?
Reply
#8
Interesting, I hadn't tried that. The pattern around tokens/sec has been pretty similar for me.
Reply
#9
Tried to reproduce it just now. My result was mixed: first run looked bad, second run looked normal.
M3 Max • MLX • local-first
Reply
#10
Did a small comparison this afternoon. My result was mixed: first run looked bad, second run looked normal. The main thing that moved was latency, not quality.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)