initial commit
This commit is contained in:
commit
46583caabf
15 changed files with 6230 additions and 0 deletions
25
README.md
Normal file
25
README.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# rkllm server
|
||||
|
||||
Hosts a simple flask-based chat interface to a rkllm-model at localhost:8080.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
On a r3588 system:
|
||||
|
||||
```sh
|
||||
git clone "<repo>/rkllm_server"
|
||||
cd rkllm_server
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
deactivate
|
||||
```
|
||||
|
||||
you can now start the server with:
|
||||
|
||||
```sh
|
||||
bash ./start_server.sh "/path/to/model.rkllm"
|
||||
```
|
||||
|
||||
The first time on each boot it will ask for a sudo password to fix the npu speed (see [fix_freq_rk3588.sh]).
|
||||
Loading…
Add table
Add a link
Reference in a new issue