Skip to content

Commit

Permalink
benchdnn: inputs: graph: add more f8 matmul cases
Browse files Browse the repository at this point in the history
  • Loading branch information
wzt1997 authored and TaoLv committed Jan 8, 2025
1 parent 9f17e9e commit 72a9eb8
Show file tree
Hide file tree
Showing 6 changed files with 2,157 additions and 0 deletions.
74 changes: 74 additions & 0 deletions tests/benchdnn/inputs/graph/op/f32/dynamicq_s4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"version": "3.0.0",
"engine_kind": "cpu",
"fpmath_mode": "strict",
"graph": [
{
"id": 0,
"name": "QUANTIZE_0",
"kind": "DynamicQuantize",
"attrs": {
"axis": {
"type": "s64",
"value": 1
},
"qtype": {
"type": "string",
"value": "per_channel"
}
},
"inputs": [
{
"id": 0,
"dtype": "f32",
"shape": [
2,
64,
3,
3
],
"stride": [
576,
9,
3,
1
],
"layout_type": "strided",
"property_type": "undef"
},
{
"id": 1,
"dtype": "f32",
"shape": [
64
],
"stride": [
1
],
"layout_type": "strided",
"property_type": "undef"
}
],
"outputs": [
{
"id": 2,
"dtype": "s8",
"shape": [
2,
64,
3,
3
],
"stride": [
576,
9,
3,
1
],
"layout_type": "strided",
"property_type": "undef"
}
]
}
]
}
Loading

0 comments on commit 72a9eb8

Please sign in to comment.