Giter VIP home page Giter VIP logo

Comments (12)

willydouhard avatar willydouhard commented on June 14, 2024 1

This is unexpected. Are you running a default example or a heavy task like running a local LLM?

from chainlit.

willydouhard avatar willydouhard commented on June 14, 2024 1

Okay, could you try with the wheel provided in this PR? #40 you can just pip install it and run chainlit hello to see if you see the same resource consumption.

from chainlit.

wupengfei0904 avatar wupengfei0904 commented on June 14, 2024

I just reproduced it again. My environment is Win11 + Python 3.11. I used the example from the documentation, and after running it, both the CPU and RAM suddenly spiked.
微信截图_2023060916432 微信截图_20230609164333 1
微信截图_20230609164441
微信截图_20230609164502

from chainlit.

wupengfei0904 avatar wupengfei0904 commented on June 14, 2024

Hello, author. I have resolved the issue using version 0.3.0 of Chainlit. Both the CPU and RAM are stable now, and there are no spikes.

from chainlit.

willydouhard avatar willydouhard commented on June 14, 2024

Amazing! this version is not yet merged (soon hopefully) and the docs are not updated to reflect the changes. So be careful with that while we update everything

from chainlit.

SurachaiJaisan avatar SurachaiJaisan commented on June 14, 2024

from chainlit.

SurachaiJaisan avatar SurachaiJaisan commented on June 14, 2024

O

from chainlit.

SurachaiJaisan avatar SurachaiJaisan commented on June 14, 2024

Pjv

from chainlit.

SurachaiJaisan avatar SurachaiJaisan commented on June 14, 2024

ptc

from chainlit.

wupengfei0904 avatar wupengfei0904 commented on June 14, 2024

Hello, author. May I ask when the official release of FastAPI version will be available? Additionally, have you considered supporting the ChatGPT standard plugins, such as ChatGPT UI, which allows for installing and selecting the desired plugins for use?

from chainlit.

willydouhard avatar willydouhard commented on June 14, 2024

I hope to merge it early next week if everything is ok. We thought about the plugins, our first try was with the LangChain integration: https://github.com/Chainlit/cookbook/tree/main/langchain-aiplugins but not every plugin is compatible. Plus not all the plugins are public.

from chainlit.

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.