Git Product home page Git Product logo

Comments (4)

borzunov avatar borzunov commented on May 27, 2024

Hi @DewiarQR,

Just reboot your server - the web app won't start after reboot unless you made it to (I assume you did not, since it is not covered in the instruction).

Re "the server stopped responding" - one reason for it could be that your server exceeded the amount of free memory. You can avoid that by keeping only one model served in config.py. See more info here: https://github.com/petals-infra/chat.petals.dev#backends-system-requirements

from chat.petals.dev.

DewiarQR avatar DewiarQR commented on May 27, 2024

Thanks for your reply. In fact, the server began to shut down due to changes in settings in standby mode. This instruction helped to solve the problem: https://en-wiki.ikoula.com/en/Disable_Ubuntu_sleep_mode
The only thing is that the chat itself could not be tested. The described installation method did not allow anything to start, possibly because Nginx and Apache are already running on the server. Probably running flask and gunicorn conflicts with these servers.

from chat.petals.dev.

borzunov avatar borzunov commented on May 27, 2024

@DewiarQR The default commands run the chat web app at port 5000, so it doesn't conflict with anything. You can open it at http://your_domain:5000.

Alternatively, you can set up gunicorn in such a way that it's served by nginx on a certain URL (e.g., http://your_domain/chat) - there are plenty of guides for that across the Internet, or I can share some configs I use.

from chat.petals.dev.

borzunov avatar borzunov commented on May 27, 2024

I'm closing this, let us know if you meet any other issues.

from chat.petals.dev.

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.