lollms-webui icon indicating copy to clipboard operation
lollms-webui copied to clipboard

core dump when loading model

Open digitalw00t opened this issue 1 year ago • 2 comments

Expected Behavior

I downloaded the Wizard-Vicuna-7B-Uncensored.ggmlv3.q2_K., and clicking it in the model farm to load it.

Current Behavior

I click the model, and I get a core dump.

Steps to Reproduce

Please provide detailed steps to reproduce the issue.

  1. Download Wizard-Vicuna-7B-Uncensored.ggmlv3.q2_K
  2. Click the model to load it

Possible Solution

I have no idea why it's doing this.

Context

Running on a virtual machine on a Dell R930 with 24 core and 120gb of ram to run in CPU mode.

Screenshots

Binding c_transformers loaded successfully. No model selected Personality lollms mounted successfully but no model is selected Checking discussions database... ok Your personal data is stored here :/home/draeician/Documents/lollms Your personal data is stored here :/home/draeician/Documents/lollms debug mode:false Please open your browser and go to http://localhost:9600 to view the ui

  • Serving Flask app 'Lollms-WebUI'
  • Debug mode: off Lollms webui version : 4.0 Client muXThDmj4h1kdXE_AAAB connected Listing models Recovering available models Install model triggered Model install requested Model path : https://huggingface.co/TheBloke/Wizard-Vicuna-7B-Uncensored-GGML/resolve/main/Wizard-Vicuna-7B-Uncensored.ggmlv3.q2_K.bin 100%|██████████████████████████████████████| 2.80G/2.80G [01:02<00:00, 45.0MB/s] File downloaded successfully ./webui.sh: line 122: 60049 Illegal instruction (core dumped) python app.py "$@"

digitalw00t avatar Aug 08 '23 14:08 digitalw00t

Found the issue. I created this vm on a proxmox server that was using the QEMU cpu type. I checked cat /proc/cpuinfo and noticed the cpu flags were REALLY limited. I powered down, switched to host, and now I can see the "avx2" in particular is showing up. Which I assume was the reason for the flag. Perhaps we can add a cpu flag check to the software to get ahead of this before a user has an issue? I mean so it can be detected that the cpu doesn't support or is too old to run in CPU mode only? I'll leave this issue up until I get a comment to see if this is something that might be needed.

digitalw00t avatar Aug 08 '23 14:08 digitalw00t

Hi, thanks for sharing. In fact, it depends on your binding. Some bindings support the abscence of the avx2 instructions and others don't. which binding are you using?

ParisNeo avatar Aug 20 '23 12:08 ParisNeo