nexus-cw

Results issues of nexus-cw

Fixes #639. ## Problem `--ssd-streaming-cache-experts` has never had any effect on the CUDA backend: `cuda_stream_selected_cache_begin_load()` unconditionally invalidates and re-fetches every selected expert's gate/up/down bytes from the mapped model file on...

On the CUDA backend, the `--ssd-streaming-cache-experts` budget has no effect: `ds4_gpu_set_streaming_expert_cache_budget()` / `_expert_bytes()` are no-op stubs (`(void)bytes;`) and `ds4_gpu_stream_expert_cache_configured_count()` hard-returns 0. `cuda_stream_selected_cache_begin_load()` unconditionally invalidates and re-fetches every selected expert's gate/up/down...

## Summary Addresses #663 (part 2 of 2). Depends on #662 and is stacked on its branch; the first three commits here are #662. Adds the dense tensor type side...

## Summary Addresses #661 (part 1 of 2). Lets community llama.cpp-dialect GGUFs of DeepSeek V4 Flash, e.g. `bullerwins/DeepSeek-V4-Flash-0731-MXFP4_MOE-Q8_0`, get past metadata loading and tensor lookup on `ds4f-mxfp4`. Part 2, the...

DeepSeek V4 Flash ships FP4 experts natively, and `ds4f-mxfp4` serves them -- but only from GGUFs produced by its own quantizer from the original safetensors. Community GGUF exports in the...

Part 2 of 2, following #661. Even with the metadata and tensor-name compat from #661 in place, community llama.cpp-dialect GGUFs of DeepSeek V4 Flash still cannot run on `ds4f-mxfp4`, because...

## Summary DSpark speculative decode (`--mtp --dspark`) does not preserve byte-identical greedy (`--temp 0`) output vs. non-speculative decode on longer generations, despite the accept/verify logic itself correctly matching argmax (independently...

## Summary Fixes #658: DSpark speculative decode did not preserve byte-identical greedy (`--temp 0`) output vs. non-speculative decode on longer generations. ## Root cause (see linked issue for full detail)...

## Environment - Hardware: NVIDIA GB10 (DGX Spark class, sm_121a), CUDA 13, Linux aarch64 - Branch: `laguna-s2.1` @ `448d569` ("Tune Laguna sampling defaults") - Model: Laguna-S-2.1 Q4_K_M GGUF (~65 GiB),...

Addresses #688. `token_embd.weight` is accessed one row (~8-16 KB) per decoded token but held fully resident (~1 GiB on DeepSeek V4 Flash Q8_0). With `DS4_EMBD_MMAP=1` (**default OFF**): - ds4.c: startup...