Skip to content

u/TechNerd10191

In this archive from Jun 2024 to Dec 2026

21
posts
96
comments
4
media
851
score
12 saved before deletion

For Inkling:

source config.sh

MODEL_NAME=Inkling-2-Mini

args=(

--model-path "/models/$MODEL_NAME"

--served-model-name "$MODEL_NAME"

--host 0.0.0.0

--port 8000

--device cuda

--random-seed 42

--stream-interval 1

--enable-cache-report

--tensor-parallel-size 1

--expert-parallel-size 1

--tokenizer-worker-num 1

--detokenizer-worker-num 1

--dtype bfloat16

--mem-fraction-static 0.95

--context-length 786432

--page-size 128

--swa-full-tokens-ratio 0.015

--max-running-requests 2

--prefill-max-requests 2

--max-queued-requests 4

--chunked-prefill-size 4096

--max-prefill-tokens 65536

--radix-eviction-policy lru

--attention-backend fa4

--sampling-backend flashinfer

--grammar-backend xgrammar

--enable-cudagraph-gc

--cuda-graph-backend-prefill full

--cuda-graph-backend-decode full

--cuda-graph-max-bs-prefill 4096

--cuda-graph-max-bs-decode 2

--speculative-algorithm DSPARK

--speculative-num-draft-tokens 8

--reasoning-parser inkling

--tool-call-parser inkling2

--enable-multimodal

--limit-mm-data-per-request '{

"image": 16,

"video": 0,

"audio": 0

}'

--media-url-max-file-size-mb 128

)

sudo docker run --rm \

--gpus all \

--ipc host \

-p 127.0.0.1:8000:8000 \

-v "$MODELS_DIR/$MODEL_NAME":"/models/$MODEL_NAME":ro \

--env SGLANG_OPT_INKLING2_VERIFY_REL_BIAS_KERNEL=1 \

--env SGLANG_OPT_DSV41_DSPARK_MID_FOLD=1 \

--env SGLANG_OPT_DSV41_DSPARK_PREPARE_INPUTS_ONCE=1 \

--env SGLANG_OPT_DSV41_DSPARK_SKIP_PREFILLED_INPUTS=1 \

--env SGLANG_OPT_MAMBA_SKIP_DECODE_LOCK=1 \

--env PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True,pinned_max_round_threshold_mb:1024 \

lmsysorg/sglang:inkling-2-mini \

sglang serve "${args[@]}"

For Qwen3.8 FN (borrow env flags from the nvidia model card):

MODEL_NAME=Qwen3.8-Flash-Next-FP4-Local

args=(

--served-model-name "$MODEL_NAME"

--host 127.0.0.1

--port 8000

--load-format instanttensor

--quantization modelopt_mixed

--dtype bfloat16

--no-enable-lora

--max-logprobs 0

--enable-prompt-tokens-details

--reasoning-parser qwen3

--enable-auto-tool-choice

--tool-call-parser qwen3_xml

--no-language-model-only

--limit-mm-per-prompt '{

"image": {

"count": 16,

"width": 2048,

"height": 2048

},

"video": 0,

"audio": 0

}'

--mm-processor-cache-gb 1

--mm-encoder-tp-mode data

--tensor-parallel-size 1

--pipeline-parallel-size 1

--decode-context-parallel-size 1

--gpu-memory-utilization 0.98

--max-model-len 262144

--kv-cache-dtype fp8

--block-size 64

--enable-prefix-caching

--mamba-cache-mode align

--enable-chunked-prefill

--max-num-seqs 4

--max-num-queued-reqs 8

--max-num-batched-tokens 4096

--moe-backend b12x

--linear-backend b12x

--gdn-decode-kernel b12x

--enable-flashinfer-autotune

--compilation-config '{"cudagraph_mode": "FULL_AND_PIECEWISE", "custom_ops": ["all"]}'

--max-cudagraph-capture-size 32

--speculative-config '{

"method": "mtp",

"num_speculative_tokens": 3,

"draft_sample_method": "probabilistic",

"rejection_sample_method": "standard",

"moe_backend": "b12x"

}'

)

vllm serve "/models/$MODEL_NAME" "${args[@]}"

5 points

Any non-ARM laptop will sound like a fighter jet taking off. Plus, the mobile 5090 is slightly better than the M5 Max when it comes to memory bandwidth. My advice is get either a M5 Max Macbook pro or one of the N1X laptops where you get CUDA and Windows if you need it for something else.

Also, if you will always have internet access, why don't you buy a Mac Studio or a workstation and SSH into it via Tailscale from a Macbook neo/air for portability.

5 points

I use OpenCode (it has a desktop app) and like the fact it has /goal as an option (and /plan, /build). Last time I checked, I had >95% successful tool calling. I use SGLang with NVFP4/FP8 models though so I don't know how IQ3/llama.cpp would do.

Note that which harness is the best for you is subjective so I'd recommend you try OMP, Pi and OpenCode and have Claude/Codex help you with what you don't know.

4 points

MSU 512GB or two RTX Pro 6000 Max-Qs. They are the same price. One is objectively faster and the other objectively has more capacity.

How? The M5U 512GB goes for $23k; each PRO 6000 goes for $16k

1 points

My call: RTX 6000 Pro at $16k makes absolutely no sense unless you're a professional and use it to generate income.

I agree with that, when you can get a 256GB/8TB/80C GPU M5 Ultra (and have about 50% the generation speed) for the current price of the PRO 6000.

1 points

What prefill do you get on, qwen3.8-27b?

prompt processing tops at 10k tps for all models I use (at C1). At times, it can be as high as 20k tps though.

And which quant do you run?

If you ask for 27B, I have: BF16 and FP8 from Qwen, NVFP4 from RedHatAI (because LM head stays at BF16). I use SGLang for inference. Both FP8 and NVFP4 top at ~130 tg for C1 though.

Btw, what board/CPU you use with 4 5070 Tis?

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.