blkpws commited on
Commit
b0b30c5
·
verified ·
1 Parent(s): 2419561

fix(model-card): declare true 27B params and 256K default context (deploy --max-model-len 262144)

Browse files
Files changed (1) hide show
  1. README.md +19 -6
README.md CHANGED
@@ -22,6 +22,19 @@ quantization_config:
22
  Fine-tuned **Qwen3.8-27B** specialized for **ObjectScript / InterSystems Caché / IRIS** (including IRIS SQL).
23
  Merged to BF16 and re-quantized to a **compressed-tensors mixed recipe**: NVFP4 (W4A4, group 16) on MLP + lm_head, FP8 static on attention — ready to deploy on a **DGX Spark (GB10, SM 12.1)**.
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  ## Quick deploy on a DGX Spark (vLLM)
26
 
27
  ```bash
@@ -30,9 +43,9 @@ vllm serve blkpws/Qwen3.8-27B-NVFP4-IRIS-Cache-ObjectScript \
30
  --quantization compressed-tensors \
31
  --load-format fastsafetensors \
32
  --dtype auto \
33
- --max-model-len 8192 \
34
- --max-num-seqs 8 \
35
- --gpu-memory-utilization 0.50 \
36
  --kv-cache-dtype fp8_e4m3 \
37
  --attention-backend FLASHINFER \
38
  --enable-chunked-prefill \
@@ -43,9 +56,9 @@ vllm serve blkpws/Qwen3.8-27B-NVFP4-IRIS-Cache-ObjectScript \
43
  --reasoning-parser qwen3
44
  ```
45
 
46
- > **GB10 notes:** keep `--mem-fraction-static`/`--gpu-memory-utilization` ≤ 0.50–0.85 and the freeze guards
47
- > (`--max-cudagraph-capture-size 4`, `--no-enable-flashinfer-autotune`) — higher fractions / missing guards can
48
- > hard-freeze the Spark on SM 12.1.
49
 
50
  ## Training
51
 
 
22
  Fine-tuned **Qwen3.8-27B** specialized for **ObjectScript / InterSystems Caché / IRIS** (including IRIS SQL).
23
  Merged to BF16 and re-quantized to a **compressed-tensors mixed recipe**: NVFP4 (W4A4, group 16) on MLP + lm_head, FP8 static on attention — ready to deploy on a **DGX Spark (GB10, SM 12.1)**.
24
 
25
+ ## Model facts
26
+
27
+ | Property | Value |
28
+ |---|---|
29
+ | Base model | `Qwen/Qwen3.8-27B` (hybrid: 48 linear_attn + 16 self_attn layers) |
30
+ | **Parameters (BF16)** | **~27.8B** (the HF "18b" label below is the **quantized file size** in GB / 1e9, not the parameter count) |
31
+ | **Default context window** | **262,144 tokens (256K)** — `max_position_embeddings: 262144` in `config.json` |
32
+ | Architecture | `Qwen3_5ForCausalLM` (`qwen3_5_text`), hidden 5120, 64 layers, 24 heads / 4 KV, vocab 248,320 |
33
+ | Quantization | compressed-tensors: NVFP4 (W4A4 static, group 16) on MLP+lm_head, FP8 (W8A8 static) on attention |
34
+ | Quantized size on disk | ~18–20 GB (4-bit) |
35
+
36
+ > **Why it shows "~18B" on Hub:** HuggingFace derives the number from the safetensors **storage size** (≈18–20 GB after 4-bit NVFP4 quantization) and displays it as "b". The model is genuinely a **27B-class** model (`Qwen3.8-27B`, ~27.8B BF16 params); 4-bit quantization shrinks the *file size*, not the parameter count.
37
+
38
  ## Quick deploy on a DGX Spark (vLLM)
39
 
40
  ```bash
 
43
  --quantization compressed-tensors \
44
  --load-format fastsafetensors \
45
  --dtype auto \
46
+ --max-model-len 262144 \
47
+ --max-num-seqs 4 \
48
+ --gpu-memory-utilization 0.85 \
49
  --kv-cache-dtype fp8_e4m3 \
50
  --attention-backend FLASHINFER \
51
  --enable-chunked-prefill \
 
56
  --reasoning-parser qwen3
57
  ```
58
 
59
+ > **Default context is 256K (262,144 tokens).** When running a *batch* server, note that at full 262,144 the KV cache can reach **~72.8 GiB** on a single long request (GB10 has 128 GB unified); prefer `--max-num-seqs 4` for concurrency, or drop `--max-model-len` (e.g. to 65536) if you need high-concurrency short-context serving.
60
+ >
61
+ > **GB10 notes:** keep `--gpu-memory-utilization` ≤ 0.85 and the freeze guards (`--max-cudagraph-capture-size 4`, `--no-enable-flashinfer-autotune`) — higher fractions / missing guards can hard-freeze the Spark on SM 12.1.
62
 
63
  ## Training
64