File size: 873 Bytes
88e66ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
license: mit
pipeline_tag: text-generation
tags:
 - ONNX
 - DML
 - ONNXRuntime
 - phi3
 - nlp
 - conversational
 - custom_code
inference: false
language:
- en
---
# EmbeddedLLM/Phi-3-medium-4k-instruct-onnx-directml

## Performance Metrics

<!-- These are the evaluation metrics being used, ideally with a description of why. -->
### DirectML
We measured the performance of DirectML on AMD Ryzen 9 7940HS /w Radeon 78

| Prompt Length | Generation Length | Average Throughput (tps) |
|---------------------------|-------------------|-----------------------------|
| 128 | 128  | - |
| 128 | 256  | - |
| 128 | 512 | - |
| 128 | 1024 | - |
| 256 | 128  | - |
| 256 | 256  | - |
| 256 | 512 | - |
| 256 | 1024 | - |
| 512 | 128  | - |
| 512 | 256  | - |
| 512 | 512 | - |
| 512 | 1024 | -  |
| 1024 | 128  | - |
| 1024 | 256  | - |
| 1024 | 512 | - |
| 1024 | 1024 | -  |