Update README.md
Browse files
README.md
CHANGED
@@ -17,7 +17,7 @@ base_model:
|
|
17 |
pipeline_tag: text-generation
|
18 |
---
|
19 |
|
20 |
-
[Phi4-mini](https://huggingface.co/microsoft/Phi-4-mini-instruct) model quantized with [torchao](https://huggingface.co/docs/transformers/main/en/quantization/torchao) float8 dynamic activation and float8 weight quantization (per row granularity), by PyTorch team. Use it directly, or serve using [vLLM](https://docs.vllm.ai/en/latest/) with 36% VRAM reduction,
|
21 |
|
22 |
# Inference with vLLM
|
23 |
Install vllm nightly to get some recent changes:
|
@@ -281,13 +281,13 @@ print(f"Peak Memory Usage: {mem:.02f} GB")
|
|
281 |
# Model Performance
|
282 |
|
283 |
## Results (H100 machine)
|
284 |
-
| Benchmark | |
|
285 |
-
|
286 |
-
| | Phi-4 mini-Ins | Phi-4-mini-instruct-float8dq
|
287 |
-
| latency (batch_size=1) | 1.64s | 1.41s (
|
288 |
-
| latency (batch_size=128) | 3.1s | 2.72s (
|
289 |
-
| serving (num_prompts=1) | 1.35 req/s | 1.57 req/s (
|
290 |
-
| serving (num_prompts=1000) | 66.68 req/s | 80.53 req/s (
|
291 |
|
292 |
Note the result of latency (benchmark_latency) is in seconds, and serving (benchmark_serving) is in number of requests per second.
|
293 |
|
|
|
17 |
pipeline_tag: text-generation
|
18 |
---
|
19 |
|
20 |
+
[Phi4-mini](https://huggingface.co/microsoft/Phi-4-mini-instruct) model quantized with [torchao](https://huggingface.co/docs/transformers/main/en/quantization/torchao) float8 dynamic activation and float8 weight quantization (per row granularity), by PyTorch team. Use it directly, or serve using [vLLM](https://docs.vllm.ai/en/latest/) with 36% VRAM reduction, 1.15x-1.2x speedup and little to no accuracy impact on H100.
|
21 |
|
22 |
# Inference with vLLM
|
23 |
Install vllm nightly to get some recent changes:
|
|
|
281 |
# Model Performance
|
282 |
|
283 |
## Results (H100 machine)
|
284 |
+
| Benchmark | | |
|
285 |
+
|----------------------------------|----------------|---------------------------------|
|
286 |
+
| | Phi-4 mini-Ins | Phi-4-mini-instruct-float8dq |
|
287 |
+
| latency (batch_size=1) | 1.64s | 1.41s (1.16x speedup) |
|
288 |
+
| latency (batch_size=128) | 3.1s | 2.72s (1.14x speedup) |
|
289 |
+
| serving (num_prompts=1) | 1.35 req/s | 1.57 req/s (1.16x speedup) |
|
290 |
+
| serving (num_prompts=1000) | 66.68 req/s | 80.53 req/s (1.21x speedup) |
|
291 |
|
292 |
Note the result of latency (benchmark_latency) is in seconds, and serving (benchmark_serving) is in number of requests per second.
|
293 |
|