Code Monkey home page Code Monkey logo

Comments (12)

lelapin123 avatar lelapin123 commented on June 2, 2024

The answers are pretty accurate (on one file that is a bit tricky to understand), but it is slower that privategpt

from localgpt.

PromtEngineer avatar PromtEngineer commented on June 2, 2024

Are you running it on a GPU?

from localgpt.

lelapin123 avatar lelapin123 commented on June 2, 2024

Are you running it on a GPU?

on windows: yes, i can see it
Unless it loads in the GPU to actually use the CPU

from localgpt.

PromtEngineer avatar PromtEngineer commented on June 2, 2024

Can you share details of your hardware and cuda? I will have a look at it.

from localgpt.

lelapin123 avatar lelapin123 commented on June 2, 2024

Hardware is 3090 basic
Cuda is 11.7

Look, i watched your video:
Do you really need the visual studio environment to make this work ?
I notice that the loading time of your model is around 12 seconds, while for my it is like 2'20.

If i check the memory, i notice that it is very slow to load in the memory and suddenly i receive an answer very fast.
I think my problem is likely related to how the model loads in the memory of my computer.
Is there a way to improve this ?

from localgpt.

PromtEngineer avatar PromtEngineer commented on June 2, 2024

You are right, you don't need Visual Code Studio to make it work. It was just to show the code. But it's better to just directly run it in the terminal.

Not sure what could be causing this. In my case, I am loading it from an SSD. Not sure what your storage is. I can't really think of anything else at the moment. I will keep this open in case anyone else encounters this or we can figure something out.

from localgpt.

lelapin123 avatar lelapin123 commented on June 2, 2024

Huggingface stores its model here:
C:\Users\username\.cache\huggingface\hub

and my C drive is SSD too

from localgpt.

PromtEngineer avatar PromtEngineer commented on June 2, 2024

Not sure what else it could be. Someone might have a better idea. Sorry couldn't help.

from localgpt.

su77ungr avatar su77ungr commented on June 2, 2024

@lelapin123 I'm repeating myself: but give CASALIOY a try. It's faster than privateGPT and solves the issues those repos won't fix.

from localgpt.

bjm88 avatar bjm88 commented on June 2, 2024

I'm also seeing very slow performance, tried CPU and default cuda, on macOS with apple m1 chip and embedded GPU. I see python3.11 process using 400% cpu (assuign pegging 4 cores with multithread), 50~ threds, 4GIG RAM for that process, will sit there for a while, like 60 seconds at these stats, then respond. Is it suppose to be this slow?

from localgpt.

marc76900 avatar marc76900 commented on June 2, 2024

I'm also seeing very slow performance, tried CPU and default cuda, on macOS with apple m1 chip and embedded GPU. I see python3.11 process using 400% cpu (assuign pegging 4 cores with multithread), 50~ threds, 4GIG RAM for that process, will sit there for a while, like 60 seconds at these stats, then respond. Is it suppose to be this slow?

Personnaly, it took 25minutes to answer the same question à quoi sert in the walkthrought presentation of code. How have you obtain this nice performance ?

from localgpt.

nguemo12 avatar nguemo12 commented on June 2, 2024

hello @PromtEngineer the localgpt takes too much time to give a result and i am using TP GPU in google colab

from localgpt.

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.