Views
No views yet
.dms (De-API Model Shard) format..dms file bundles:config.json, tokenizer.json, or index.json needed.| File | Size | Layers | Role |
|---|---|---|---|
qwen3.5-0.8b-node0.dms | 976 MB | 0-11 | embed + 9 linear attn + 3 full attn + tokenizer |
qwen3.5-0.8b-node1.dms | 960 MB | 12-23 | 9 linear attn + 3 full attn + norm + lm_head |
User → Gateway → Node 0 (embed + layers 0-11) → Node 1 (layers 12-23 + head) → Gateway
↑ |
└──────────────── autoregressive loop ─────────────────────────┘1# Download shards
2huggingface-cli download ZYLIM/qwen3.5-0.8b-deapi-shards --local-dir shards/
3
4# Start nodes (each machine downloads only its shard)
5python node.py --shard shards/qwen3.5-0.8b-node0.dms --port 9001
6python node.py --shard shards/qwen3.5-0.8b-node1.dms --port 9002
7
8# Start gateway
9python gateway.py --port 8000 --gateway-shard shards/qwen3.5-0.8b-node0.dms
10
11# Open dashboard
12open http://localhost:8000┌─────────────────────────────────────┐
│ Magic: b"DEAPI\x01DM" (8 bytes) │
│ Version: uint32 (4 bytes) │
│ Header size: uint64 (8 bytes) │
├─────────────────────────────────────┤
│ Header (JSON, utf-8) │
│ .model_config │
│ .shard_info │
│ .tokenizer (node 0 only) │
│ .tensors[] (name, dtype, shape, │
│ offset, nbytes) │
├─────────────────────────────────────┤
│ Tensor data (raw bytes, 64B align) │
└─────────────────────────────────────┘