Text Generation
Transformers
Safetensors
English
cohere2
nvfp4
fp4
modelopt
vllm
command-a
dgx-spark
gb10
roleplay
conversational
8-bit precision
Instructions to use Kaleto/Fallen-Command-111B-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kaleto/Fallen-Command-111B-NVFP4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Kaleto/Fallen-Command-111B-NVFP4") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Kaleto/Fallen-Command-111B-NVFP4") model = AutoModelForCausalLM.from_pretrained("Kaleto/Fallen-Command-111B-NVFP4", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Kaleto/Fallen-Command-111B-NVFP4 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Kaleto/Fallen-Command-111B-NVFP4" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Kaleto/Fallen-Command-111B-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Kaleto/Fallen-Command-111B-NVFP4
- SGLang
How to use Kaleto/Fallen-Command-111B-NVFP4 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Kaleto/Fallen-Command-111B-NVFP4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Kaleto/Fallen-Command-111B-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Kaleto/Fallen-Command-111B-NVFP4" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Kaleto/Fallen-Command-111B-NVFP4", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Kaleto/Fallen-Command-111B-NVFP4 with Docker Model Runner:
docker model run hf.co/Kaleto/Fallen-Command-111B-NVFP4
README: W4A4 vs. W4A16 serving on GB10, point to branch w4a16
Browse files
README.md
CHANGED
|
@@ -26,11 +26,27 @@ Cohere2 has a few architectural quirks — tied embeddings, `layer_norm_eps`, hy
|
|
| 26 |
|
| 27 |
---
|
| 28 |
|
| 29 |
-
## Serving mode on Blackwell (GB10)
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
---
|
| 36 |
|
|
|
|
| 26 |
|
| 27 |
---
|
| 28 |
|
| 29 |
+
## Serving mode on Blackwell (GB10): W4A4 (`main`) vs. W4A16 (branch `w4a16`)
|
| 30 |
|
| 31 |
+
*Updated 2026-11-15.* An earlier version of this card said the model always runs weight-only on GB10. That is no longer true: current vLLM (tested: 0.31.0) serves `quant_algo: NVFP4` on GB10 as **W4A4** (`FlashInferCutlassNvFp4LinearKernel`) — activations are quantized to FP4 at runtime.
|
| 32 |
|
| 33 |
+
The branch **`w4a16`** holds the identical weights with a single config change: `quant_algo: W4A16_NVFP4` in `config.json` and `hf_quant_config.json`. vLLM then keeps activations in BF16 (`MarlinNvFp4LinearKernel`), which is clearly closer to the original model.
|
| 34 |
+
|
| 35 |
+
Top-50 KLD against the BF16 model, GB10 + vLLM 0.31.0, 72 held-out sequences / 276k tokens (news, wiki EN/DE, code, chat, roleplay):
|
| 36 |
+
|
| 37 |
+
| Model | W4A4 (`main`) | W4A16 (`w4a16`) |
|
| 38 |
+
|---|---|---|
|
| 39 |
+
| Qwen3.5-9B-heretic-v2 (dense MLP) | 0.179 (median 0.028) | **0.129** (median 0.015) |
|
| 40 |
+
| Qwen3.6-35B-A3B (MoE, same pipeline) | 0.110 (median 0.012) | **0.076** (median 0.0065) |
|
| 41 |
+
|
| 42 |
+
Speed on a single GB10 (Fallen-Command-111B, dense): decode is unchanged (3.3 tok/s single stream, 13.2 tok/s with 4 streams), prefill drops from 654 to 228 tok/s. For MoE models the prefill cost was only −9 %. Pick `w4a16` when output quality matters more than time-to-first-token; `--enable-prefix-caching` hides most of the prefill cost for repeated system prompts.
|
| 43 |
+
|
| 44 |
+
```bash
|
| 45 |
+
vllm serve Kaleto/Fallen-Command-111B-NVFP4 --revision w4a16 ...
|
| 46 |
+
# or download it: hf download Kaleto/Fallen-Command-111B-NVFP4 --revision w4a16 --local-dir ...
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
With W4A16 the calibration data does not influence the served output at all — NVFP4 weight scales depend only on the weights.
|
| 50 |
|
| 51 |
---
|
| 52 |
|