localGPT icon indicating copy to clipboard operation
localGPT copied to clipboard

Bug on Ubuntu 22: software doesnt work

Open lelapin123 opened this issue 2 years ago • 7 comments

Installation smooth, no problem

So i do a python ingest.py and everything is fine, but then later:

load INSTRUCTOR_Transformer max_seq_length 512 Using embedded DuckDB with persistence: data will be stored in: /mnt/6903a017-f604-4f90-9652-324e10b3e675/work/h2oai/localgpt/localGPT Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s] Killed

(note: i am not doing that in my home folder)

lelapin123 avatar May 28 '23 18:05 lelapin123

Having the exact same issue with Ubuntu 22 LTS. 32GB of ram, Nvidia Tesla m40 20gb.

TitleOS avatar Jun 01 '23 00:06 TitleOS

I have a 32GB system running Ubuntu 20.04 on which am running the "python3 run_localGPT.py". After the execution, the RAM went to 0 in some sec and then I got the same issue. I am uncertain how much memory is needed to run the model.

akitkumar24 avatar Jun 01 '23 06:06 akitkumar24

I am getting the same error on Ubuntu 22.04.2 .

load INSTRUCTOR_Transformer max_seq_length 512 Using embedded DuckDB with persistence: data will be stored in: /home/ailocal/localGPT/DB Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s] Killed

mindwellsolutions avatar Jun 01 '23 16:06 mindwellsolutions

+1

OGoodness avatar Jun 02 '23 19:06 OGoodness

I am having the same issue. Just installed on Ubuntu 22.04.

16GB of Memory; 25GB of Swap. the process fails when Swap reaches 100% utilization.

Running on: cuda load INSTRUCTOR_Transformer max_seq_length 512 Using embedded DuckDB with persistence: data will be stored in: /home/MYNAME/snap/localgpt/localGPT/DB Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]Killed

duramaxlb7 avatar Jun 03 '23 01:06 duramaxlb7

same here image

jocastrocUnal avatar Jun 03 '23 19:06 jocastrocUnal

While not an ideal solution, with having 32gb of physical ram, I expanded my swap file to be an additional 32gb, for a total of 64gb of combined physical and digital ram. With that, I am able to run the program, enter queries, and receive expected answers. It should be noted that this solution is incredibly slow, even with a PCI4 nvme ssd being used for the swap file.

TitleOS avatar Jun 08 '23 14:06 TitleOS