Giter Club home page Giter Club logo

Comments (10)

moyix avatar moyix commented on March 29, 2024 7

I also just found this, which looks like it might be a good fit since the FauxPilot server is already using Flask: https://www.geeksforgeeks.org/how-to-run-flask-app-on-google-colab/

I will look into putting together a notebook! :) Thanks for the great suggestion!

from fauxpilot.

moyix avatar moyix commented on March 29, 2024 4

Hmm would serverless work when the models are really big though? Loading the 16B model from disk -> GPU takes almost a minute, so I wouldn't want to have to do that on every completion request...

from fauxpilot.

datheia avatar datheia commented on March 29, 2024 1

Well, isn't this project a server for code generation? Does it launch up VSCode? You might have been banned because of the third rule. Again, about the tunneling, the AI application at Colab I mentioned above (KoboldAI) is still up and running, even though they use tunneling. Here's the link for their Colab.

from fauxpilot.

moyix avatar moyix commented on March 29, 2024

This is a really interesting idea! Do you know if Google Colab has any way to listen on a network port that can be reached from the outside world?

from fauxpilot.

datheia avatar datheia commented on March 29, 2024

I remember a storyteller AI (KoboldAI, absolute banger). It opens an HTTP server from Cloudflare, then you connect to that Cloudflare server from your browser and you could have interacted with it very well. Sending a prompt request, getting a response from the server. Maybe something like that can be done in this case?

from fauxpilot.

deven367 avatar deven367 commented on March 29, 2024

I think Colab has started to ban tunneling. Colab FAQ

image

I used to use a similar tool called colabcode which would allow firing up VSCode in colab on a remote server, but with recent changes in their policy, they don't allow this anymore.

You can check more about this over here. abhishekkrthakur/colabcode#109

from fauxpilot.

enniosousa avatar enniosousa commented on March 29, 2024

How about serverless?
Cloud Run on Google Cloud Platform you pay for each HTTP request and first 2 millions request are free.

from fauxpilot.

xloem avatar xloem commented on March 29, 2024

Not quite on topic but: if the model layers were broken up people could form small networks to share compute.

from fauxpilot.

moyix avatar moyix commented on March 29, 2024

I think the network latency involved would make that pretty slow?

from fauxpilot.

Genuifx avatar Genuifx commented on March 29, 2024

emm, any progress on this issue?

from fauxpilot.

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.