GithubHelp home page GithubHelp logo

Comments (9)

jjiikkkk avatar jjiikkkk commented on May 29, 2024

你们为什么不把这个可执行文件make file做出来
非要从go 到 wails 到make file

from rwkv-runner.

jjiikkkk avatar jjiikkkk commented on May 29, 2024

知道你们为什么不把make file做出来了 牛逼,是个人都偷懒 哎

from rwkv-runner.

josStorer avatar josStorer commented on May 29, 2024

各平台使用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.

josStorer avatar josStorer commented on May 29, 2024

另外各平台自己编译的完整流程, 位于: https://github.com/josStorer/RWKV-Runner/blob/master/.github/workflows/release.yml

from rwkv-runner.

jjiikkkk avatar jjiikkkk commented on May 29, 2024

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.

jjiikkkk avatar jjiikkkk commented on May 29, 2024

轻飘飘写个装个go,go一装git, sudo就被覆盖了 go还有路径的问题

from rwkv-runner.

josStorer avatar josStorer commented on May 29, 2024

如果你只是要推理使用, 不需要执行任何编译操作, 只需要python安装好依赖, 并执行python main.py即可, 你可以在/docs路径下访问API文档, 你需要调用/switch-model载入模型

from rwkv-runner.

jjiikkkk avatar jjiikkkk commented on May 29, 2024

问题
1 我直接python 但是我是代码行出来的8000端口需要本地打开,除非我能代码行里写,否则我需要一个GUI,是不是我装ngrok, localtunnel, gradio, remote任何一种 都可以出一个界面 2 你的模型从huggingface下,我需要放在 model文件夹下,但是没有那个文件夹 自己创建吗

from rwkv-runner.

josStorer avatar josStorer commented on May 29, 2024

请先看一下这里的使用示例, 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.