forked from modular/modular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_python.yaml
More file actions
32 lines (26 loc) · 979 Bytes
/
test_python.yaml
File metadata and controls
32 lines (26 loc) · 979 Bytes
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
##===----------------------------------------------------------------------===##
# Copyright (c) 2026, Modular Inc. All rights reserved.
#
# Licensed under the Apache License v2.0 with LLVM Exceptions:
# https://llvm.org/LICENSE.txt
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##===----------------------------------------------------------------------===##
# Example of kbench yaml config for running Python benchmarks.
name: multistage_gemm
file: $KERNEL_BENCHMARKS_ROOT/autotune/sample.py
rules:
- stages<=4 and $x<2
- stages>1
params:
- dtype: DType.float16
shape: [1024x512x256, 32x32x32]
stages: [4,8]
$x: "[i for i in range(4)]"
- dtype: DType.float32
shape: 64x64x64
stages: 2