https://github.com/daquexian/rwkv-benchmark
https://github.com/daquexian/rwkv-benchmark
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/daquexian/rwkv-benchmark
- Owner: daquexian
- Created: 2023-08-13T07:31:37.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-13T09:07:17.000Z (almost 2 years ago)
- Last Synced: 2025-04-02T02:44:16.297Z (3 months ago)
- Language: Python
- Size: 25.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Benchmark RWKV backends
It rents GPUs from vast.ai, so make sure you have the vast.ai command line tool installed.
Example:
```
python3 benchmark.py --model xxx.pth --verbose -n 1 --branch daquexian/test --log-dir log
```### How to add a new backend
Please refer to `ChatRWKV` backend implementation in benchmark.py. Typically, a benchmark script (like benchmark_chatrwkv.py) is also needed.