Skip to content

Commit e873474

Browse files
committed
Update README.md to reflect pytest-based workflow
1 parent e2309e3 commit e873474

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,24 @@ This repository contains examples of [NineToothed](https://github.com/InfiniTens
44

55
## Usage
66

7-
After cloning this repository, you can run any of the examples using Python. For instance, to run the matrix multiplication example, execute the following command:
7+
After cloning this repository, install the dependencies and run the tests using `pytest`.
8+
9+
### Correctness Tests
10+
11+
```bash
12+
pytest
13+
```
14+
15+
### Benchmark Tests
16+
17+
```bash
18+
pytest -m benchmark
19+
```
20+
21+
To run a single operator benchmark:
822

923
```bash
10-
python mm.py
24+
pytest -m benchmark -k TestMM
1125
```
1226

1327
### Autotuning Behavior

0 commit comments

Comments
 (0)