FreedomGPT icon indicating copy to clipboard operation
FreedomGPT copied to clipboard

Too slow responding...

Open ivanbodurov opened this issue 2 years ago • 19 comments

I copy pasted this:

git clone https://github.com/ohmplatform/FreedomGPT.git
cd FreedomGPT
yarn install
yarn start:prod

and got an endless loading.

ivanbodurov avatar Apr 12 '23 01:04 ivanbodurov

try executing the chat app in resources/models/(OS) and see what happens...

cooperdk avatar Apr 12 '23 01:04 cooperdk

Where is for Linux? Also I did it on Windows 10 and nothing hapened? Can you explain me in details? Maybe I'm missing something.

ivanbodurov avatar Apr 12 '23 02:04 ivanbodurov

It is a CLI application, so execute it in terminal or command prompt. You will have to direct it to the model location and run it in interactive mode, something like:

chat.exe -m %USERPROFILE%\FreedomGPT\ggml-alpaca-7b-q4.bin -i --color

You will get a prompt once the model is loaded. You should tell it what to do there.

For Linux, I don't know where it is located. You should have installed the chat compiled from alpaca.cpp in a bin directory somewhere... probably in /usr/bin/chat but who knows.

cooperdk avatar Apr 12 '23 03:04 cooperdk

C:\Users\IvanB\AppData\Local\FreedomGPT\app-1.1.2\resources\models\windows> chat.exe -m C:\Users\IvanB\FreedomGPT\ggml-alpaca-7b-q4.bin -i --color

Still nothing..

ivanbodurov avatar Apr 12 '23 05:04 ivanbodurov

Can you help me? Why I got nothing?

ivanbodurov avatar Apr 13 '23 01:04 ivanbodurov

Can you help me? Why I got nothing?

You don't get a response at all? Do you get the opportunity back to write a new command, or does it hang?

You may need to tell us your computer specifications. Maybe your pc cannot handle this.

cooperdk avatar Apr 13 '23 04:04 cooperdk

That is: CPU: Intel(R) Pentium(R) Gold G5400 CPU @ 3.70GHz 3.70 GHz GPU: nVidia Geforce GTX 1650 4GB RAM: 8,00 GB

System type: 64-bit, processor x64

ivanbodurov avatar Apr 14 '23 02:04 ivanbodurov

Yeah, then you should hold your breath. For a long time. With those specs it will take a lot of time for the model to be ready and it will be so slow I am almost going to say, don't bother. Your CPU is a 2 core with 4 threads. And you have 8 GB of ram which is almost used by just running Windows. Even in Linux, your system will struggle with a 4 GB model af it also needs ram to do the work besides the 4 GB the smallest model requires.

My suggestion would be to get one of the last two generations of i7 or i9. And at least 32 GB ram, at the bare minimum 16. These models will run ok with those specifications, it's what I do.

But your specifications are so low that this won't be funny if it even works.

cooperdk avatar Apr 14 '23 03:04 cooperdk

Yeah, then you should hold your breath. For a long time. With those specs it will take a lot of time for the model to be ready and it will be so slow I am almost going to say, don't bother. Your CPU is a 2 core with 4 threads. And you have 8 GB of ram which is almost used by just running Windows. Even in Linux, your system will struggle with a 4 GB model af it also needs ram to do the work besides the 4 GB the smallest model requires.

The GPU wouldn't even be able to handle this model if GPI was supported by the alpaca program.

My suggestion would be to get one of the last two generations of i7 or i9. And at least 32 GB ram, at the bare minimum 16. These models will run ok with those specifications, it's what I do.

But your specifications are so low that this won't be funny if it even works.

cooperdk avatar Apr 14 '23 03:04 cooperdk

I get the exact same problem with a i7 8th gen, GeForce GTX 1050 Ti, 16Gb ram. I don't see any error under any tab on localhost:9000, but I'm running it on linux. Will let it run for a while to see if something happens, but from what I've already tried, 5-10min still no replies. Under http://localhost:8889/ and http://localhost:3000 I get: Cannot GET / But under renderers I have: webpack-dev-server - 404s will fallback to '/index.html'

Dunno if there is any issue there.

Aporie avatar Apr 14 '23 07:04 Aporie

Same issue. It can respond, but at a super laggy pace..... 2.6 GHz 6-Core Intel Core i7 AMD Radeon Pro 5300M 4 GB Intel UHD Graphics 630 1536 MB 16 GB 2667 MHz DDR4

Start the program by yarn start:prod

zouqi1987 avatar Apr 14 '23 08:04 zouqi1987

Yes and therefore when FreedomGPT.com will be fixed??

ivanbodurov avatar Apr 16 '23 15:04 ivanbodurov

GTX 3070 8GB with Ryzen 7 and 16GB RAM. Rarely, it will respond quickly. But the majority of time, it never answers. I've left it overnight and still no response. Need fixed please.

VerifiedStoic avatar Apr 19 '23 04:04 VerifiedStoic

GTX 3070 8GB with Ryzen 7 and 16GB RAM. Rarely, it will respond quickly. But the majority of time, it never answers. I've left it overnight and still no response. Need fixed please.

Why fix when it is likely your computer specifications that are not good enough? 16 GB ram is not much for AI. And Alpaca does NOT support GPU. I would get at least 16 more. That said, the problem likely lies elsewhere anyway. The FreedomGPT is a simple graphic interface for Alpaca, a console program to process the AI model.

I would advise you to test that program (it is in the resources/models subdir).

cooperdk avatar Apr 19 '23 04:04 cooperdk

That is: CPU: Intel(R) Pentium(R) Gold G5400 CPU @ 3.70GHz 3.70 GHz GPU: nVidia Geforce GTX 1650 4GB RAM: 8,00 GB

System type: 64-bit, processor x64

Based on that spec and comparing it to my laptop (100 words in 45 minutes), your computer is probably gonna take like an hour to generate 100 words.

ItsPi3141 avatar Apr 22 '23 16:04 ItsPi3141

Sorry, it's unusably slow. I have an Intel i7-12700F, 32 GB RAM, GeForce GTX 1080Ti. I'm not going to leave it on overnight to wait for an answer. Disappointed.

aristotle999 avatar May 03 '23 07:05 aristotle999

Sorry, it's unusably slow. I have an Intel i7-12700F, 32 GB RAM, GeForce GTX 1080Ti. I'm not going to leave it on overnight to wait for an answer. Disappointed.

Then that's just your CPU and storage. The app itself isn't slow. Do you have an HDD or an SSD for your OS drive?

ItsPi3141 avatar May 03 '23 14:05 ItsPi3141

Sorry, it's unusably slow. I have an Intel i7-12700F, 32 GB RAM, GeForce GTX 1080Ti. I'm not going to leave it on overnight to wait for an answer. Disappointed.

Can you check the cpu amd gpu utilisation?. For me it's 100% hence it's very slow.

Amalreji111 avatar Aug 22 '23 22:08 Amalreji111

Intel Core I5-12600k Desktop Processor Crucial Ballistix MAX 32GB Kit (2 x 16GB) DDR4 4000 Memory WD_BLACK 1TB SN750 SE NVMe Internal Gaming SSD Solid State Drive - Gen4 PCIe, M.2 2280, Up to 3,600 MB/s - GPU | ZOTAC | ZOTAC NVIDIA GeForce RTX 3090 Trinity OC

Still facing an endless loading on the desktop version on Windows 11

ryarasi avatar Dec 03 '23 07:12 ryarasi