GithubHelp home page GithubHelp logo

nenkoru / serverless-rwkv Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 743 KB

A repository to deploy RWKV model to serverless APIs such as Runpod.io

License: MIT License

Dockerfile 17.23% Python 79.24% Shell 3.53%
llm rwkv serverless serverless-llm

serverless-rwkv's People

Contributors

nenkoru avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

serverless-rwkv's Issues

Add integration with rwkv-cpp-cuda for fast and lightweight base image

For now the Dockerfile and in general the code heavily relies on torch. Which makes a base image quite huge(6GB +-).
As well as making more lightweight image a speed of tokenizer, sampler and inference could be increased as well.
I strongly encourage anyone who reads this to take a look into this project, contribute or even donate a little bit of funds.
I see a big potential in RWKV in general, the project below in particular and deployment to serverless GPUs exactly.
Imagine 14B inference for a prompt under a 0.001$. So like 100prompts a day = 0.1$, 0.1*30=3$ a month for your own model, that is not collecting any data and is quite large.

https://github.com/harrisonvanderbyl/rwkv-cpp-cuda

https://github.com/BlinkDL/RWKV-LM

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.