ds4 icon indicating copy to clipboard operation
ds4 copied to clipboard

ds4: --ssd-streaming is not compatible with --mtp yet" When trying to launch Dspark after the new commit

Open arkham000 opened this issue 4 months ago • 1 comments

Hi, reading the new README section regarding Dspark it is stated "On Metal, the main model may be resident or use --ssd-streaming", does it mean that dspark (launched via the mtp flag) should work with ssd streaming ? Or maybe I misunderstood? I asked ds4 and it agrees with me :P Here's what I launched :

dani@Host-002 ds4 % ./ds4-server \
     --ssd-streaming \
     --port 9000 \
     --kv-disk-dir /Users/dani/ds4/kvcache \
     --kv-disk-space-mb 32768 \
     --kv-cache-continued-interval-tokens 10000 \
     --mtp gguf/DeepSeek-V4-Flash-DSpark-support.gguf  \
     --dspark
 ds4: --ssd-streaming is not compatible with --mtp yet

Should it work or not? Thanks

arkham000 avatar Jul 24 '26 09:07 arkham000

It seems it is not as simple as just forcing it on. With my limited knowledge and help from gemini, i managed to enable it but the acceptance rate for the tokens was 0%

I did attempt (With ai since i lack the skills to implement it myself) to add some of the optimization of token selection from https://github.com/youssofal/MTPLX which focuses on mtp but with Qwen and traditional mtp It got me a more reasonable acceptance rate of 16% but nowhere near boosting my speed (actually slowed it down i think)

Most likely my rough implementation was missing quite a few elements and improvements but simply put, i think it will take some time but I hope this gets added since it would be an amazing improvement over my current situation of not being able to use thinking version of the model because of the slow speed.

Tested on 48gb m5 pro

EnderRobber101 avatar Jul 30 '26 01:07 EnderRobber101