Comments (9)
你们为什么不把这个可执行文件make file做出来
非要从go 到 wails 到make file
from rwkv-runner.
知道你们为什么不把make file做出来了 牛逼,是个人都偷懒 哎
from rwkv-runner.
各平台使用makefile编译好的可执行客户端程序, 位于release: https://github.com/josStorer/RWKV-Runner/releases
如果系统没有图形界面, 纯命令行, 使用参考: https://github.com/josStorer/RWKV-Runner/blob/master/README_ZH.md#simple-deploy-example
from rwkv-runner.
另外各平台自己编译的完整流程, 位于: https://github.com/josStorer/RWKV-Runner/blob/master/.github/workflows/release.yml
from rwkv-runner.
linux:
runs-on: ubuntu-20.04
needs: create-draft
steps:
- uses: actions/checkout@v3
with:
ref: master
- uses: actions/setup-go@v4
with:
go-version: '1.20.5'
- run: |
wget https://github.com/josStorer/ai00_rwkv_server/releases/latest/download/webgpu_server_linux_x86_64 -O ./backend-rust/webgpu_server
wget https://github.com/josStorer/web-rwkv-converter/releases/latest/download/web-rwkv-converter_linux_x86_64 -O ./backend-rust/web-rwkv-converter
sudo apt-get update
sudo apt-get install upx
sudo apt-get install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev libasound2-dev
go install github.com/wailsapp/wails/v2/cmd/wails@latest
rm ./backend-python/rwkv_pip/wkv_cuda.pyd
rm ./backend-python/rwkv_pip/rwkv5.pyd
rm ./backend-python/rwkv_pip/rwkv6.pyd
rm ./backend-python/rwkv_pip/beta/wkv_cuda.pyd
rm ./backend-python/get-pip.py
rm ./backend-python/rwkv_pip/cpp/librwkv.dylib
rm ./backend-python/rwkv_pip/cpp/rwkv.dll
rm ./backend-python/rwkv_pip/webgpu/web_rwkv_py.cp310-win_amd64.pyd
make
mv build/bin/RWKV-Runner build/bin/RWKV-Runner_linux_x64
- run: gh release upload ${{github.ref_name}} build/bin/RWKV-Runner_linux_x64
Ubuntu22.04 能不能用,感觉你这个还是没有吧代码写完整
from rwkv-runner.
轻飘飘写个装个go,go一装git, sudo就被覆盖了 go还有路径的问题
from rwkv-runner.
如果你只是要推理使用, 不需要执行任何编译操作, 只需要python安装好依赖, 并执行python main.py
即可, 你可以在/docs
路径下访问API文档, 你需要调用/switch-model
载入模型
from rwkv-runner.
问题
1 我直接python 但是我是代码行出来的8000端口需要本地打开,除非我能代码行里写,否则我需要一个GUI,是不是我装ngrok, localtunnel, gradio, remote任何一种 都可以出一个界面 2 你的模型从huggingface下,我需要放在 model文件夹下,但是没有那个文件夹 自己创建吗
from rwkv-runner.
请先看一下这里的使用示例, https://github.com/josStorer/RWKV-Runner/blob/master/README_ZH.md#simple-deploy-example
注意你可以使用-h
查看帮助, 修改服务ip和端口
如果你要使用GUI, 并且你的操作系统有图形界面, 你只需要直接下载linux的二进制客户端, 并运行它
如果你的操作系统没有图形界面, 你可以传入--webui, 启动web服务的GUI
请先看一下这里的使用示例, https://github.com/josStorer/RWKV-Runner/blob/master/README_ZH.md#simple-deploy-example
from rwkv-runner.
Related Issues (20)
- Fail to connect to the model HOT 1
- Network error when going to sleep or hibernate. HOT 3
- UI Freezes When Focusing on Textbox on Linux HOT 10
- RWKV-Runner-v1.7.2懒人包-内置依赖和3B模型 HOT 4
- 问个小白问题,这东东可以离线断网运行吗? HOT 3
- 希望能为系统角色修改前缀 HOT 2
- 问个比较基础的问题,Runner中训练的上下文长度,具体影响什么?是模型回复的最大思考token数量还是用户输入的最大token数?又或者影响什么其他的东西? HOT 2
- LoRa微调问题: 训练一段时间后 ,ubantu窗口和wsl窗口就关闭了 HOT 1
- 能不能加个深浅色模式自动跟随系统外观 HOT 2
- MacOS版本的停止按钮失效? HOT 1
- 切换.bin模型失败 HOT 6
- Trojans in Windows installer? (multiple detections from VirusTotal) HOT 1
- 我在本地配置了ollama,在聊天和续写时怎么调取? HOT 6
- 希望加入PISSA和LISA微调 HOT 2
- 【新人求助】如果想写小说,有什么模型推荐? HOT 1
- Win10 無法啟動 HOT 4
- CPU/CPU(rwkv.cpp) 模型切换问题 HOT 1
- 调用api接口感觉速度有点慢,是否和流式输出有关系,我看接口记录中流式输出参数是false,这个"stream": false, 参数在哪里可以设置呢? HOT 7
- 大佬,有兴趣加入Mirostat采样器吗? HOT 1
- 如何完全卸载呢? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rwkv-runner.