mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-03 05:01:25 +00:00
22 lines
555 B
Markdown
22 lines
555 B
Markdown
# smoothquant
|
|
|
|
This folder contains example for smoothquant using ck_tile tile-programming implementation.
|
|
|
|
## build
|
|
```
|
|
# in the root of ck_tile
|
|
mkdir build && cd build
|
|
../script/cmake-ck-dev.sh ../ <arch> # you can replace this <arch> to gfx90a, gfx942...
|
|
make tile_smoothquant -j
|
|
```
|
|
This will result in an executable `build/bin/tile_smoothquant`
|
|
|
|
## cmdline
|
|
```
|
|
args:
|
|
-m m dimension (default:3328)
|
|
-n m dimension (default:4096)
|
|
-v cpu validation or not (default:1)
|
|
-prec precision (default:fp16)
|
|
```
|