Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daquexian/rwkv-benchmark


https://github.com/daquexian/rwkv-benchmark

Last synced: 24 days ago
JSON representation

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.