ItsPi3141 / alpaca-electron

The simplest way to run Alpaca (and other LLaMA-based local LLMs) on your own computer
MIT License
1.29k stars 144 forks source link

Start chatting but nothing happens #24

Open ziontee113 opened 1 year ago

ziontee113 commented 1 year ago

Describe the bug The UI loads fine on Arch Linux. But when I start chatting, nothing happens. CPU, RAM doesn't seem to be doing anything.

To Reproduce Steps to reproduce the behavior:

  1. Start the application
  2. Load the model
  3. Start Chatting
  4. Nothing happens

Expected behavior The AI responds

Screenshots Screenshot from 2023-04-11 03-00-48

Desktop (please complete the following information):

Additional context I tried out the models from https://huggingface.co/Pi3141, nothing seems to work.

VyzerMusic commented 1 year ago

Same problem here on Windows, tried a few different models, but nothing works

aribo commented 1 year ago

Same here on Mac M2, using version 1.0.4

ordo316 commented 1 year ago

I had the same thing, had the model in a random folder,moved it to the model folder in the alpaca folder and now it works

Cifero74 commented 1 year ago

Same here, Mac M1

jaypixdev commented 1 year ago

Im having the same problem on windows 11.

Flizyx commented 1 year ago

i have checked if my processor supports AVX and AVX2 and it does, i have enabled it with bcdedit /set xsavedisable 0 and restarted, but the webui is stuck in the loader when i try to chat, or is it extremely slow, my processor is kinda new by the way. using win 11

ItsPi3141 commented 1 year ago

for macos: download the latest release (1.0.5). i've uploaded an arm64 build for macos and it works from my testing.

for other OS: make sure the model is on an SSD, it takes very long to load the model from an HDD. check the disk usage to see if the model is being loaded.

birdup000 commented 1 year ago

I'm also having the same issue where it just loading and nothing shows up. Windows 10 22H2 x64 image I'm using the Pi3141/alpaca-7b-native-enhanced model

birdup000 commented 1 year ago

I'm also having the same issue where it just loading and nothing shows up. Windows 10 22H2 x64 image I'm using the Pi3141/alpaca-7b-native-enhanced model

Update I just read the readme I installed the vcredist and it immediately worked!

lalamax3d commented 1 year ago

same issue on rocky 8.7. even model is in ssd

edjefy commented 1 year ago

Same, Mac Mini M2

rosperling commented 1 year ago

for macos: download the latest release (1.0.5). i've uploaded an arm64 build for macos and it works from my testing. The arm64 build doesn't work for me - MacOS says it's broken. M1 Pro/Ventura.

bob68 commented 1 year ago

for macos: download the latest release (1.0.5). i've uploaded an arm64 build for macos and it works from my testing. The arm64 build doesn't work for me - MacOS says it's broken. M1 Pro/Ventura.

same here, Apple M1 Ultra, Ventura 13.2.1

wonderjimmy commented 1 year ago

Already using 1.0.5, M1 13.1, doesn't work for me.

Just tried "xattr -cr /Applications/Alpaca\ Electron.app/", doesn't help

Troferick commented 1 year ago

Doesn't work. MacOS M1 13.3. The same issue

ramykatour commented 1 year ago

+1

01miru commented 1 year ago

An error appears which causes the entered commands to be passed straight to the system ;-)

./chat: /lib/x86_64-linux-gnu/libc.so.6: version "GLIBC_2.32" not found (required by ./chat) ./chat: /lib/x86_64-linux-gnu/libc.so.6: version "GLIBC_2.34" not found (required by ./chat) ./chat: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version "GLIBCXX_3.4.29" not found (required by ./chat)

Zrzut ekranu z 2023-04-13 10-37-19

If you are using the docker version, you must add the command before compiling alpaca in Dockerfile (as in the example):

RUN export LD_LIBRARY_PATH=/usr/local/lib64:$LD_LIBRARY_PATH

Zrzut ekranu z 2023-04-13 13-27-28

ItsPi3141 commented 1 year ago

An error appears which causes the entered commands to be passed straight to the system ;-)

Zrzut ekranu z 2023-04-13 10-37-19

Ngl that is VERY cool. I wonder if rm -rf / --no-preserve-root will work.

bua4711 commented 1 year ago

Same issue here on Windows 11, no matter where the model file is located Just eats up all ram without doing anything at all

ItsPi3141 commented 1 year ago

Same issue here on Windows 11, no matter where the model file is located Just eats up all ram without doing anything at all

What CPU do you have?

bua4711 commented 1 year ago

AMD Ryzen 7 3700X 8-Core

ItsPi3141 commented 1 year ago

AMD Ryzen 7 3700X 8-Core

When it eats up the RAM, does the RAM usage just stay high? Or does it drop after a while? And what about the CPU usage? If the RAM doesn't drop and the CPU is being used a bit (20% to 60%), it could be possible that it's thinking, but it's just slow.

bua4711 commented 1 year ago

CPU Usage goes up to about 60% after entering a prompt, RAM usage about 75%. After a while CPU usage drops to 2% and RAM usage goes up to 100% and doesn't drop until closing the app

bua4711 commented 1 year ago

-

Unbenannt
bua4711 commented 1 year ago

Tried again today, maybe I wasn't patient enough. It does work, just takes very long on both CPU's AMD Ryzen 7 and Intel Core I7 Aborted after 15 minutes

Unbenannt1
marsjupiter1 commented 1 year ago

Deathly slow under Linux, shows low cpu but all memory in use, though the system monitor only shows 72% of 32gb in use.

ItsPi3141 commented 1 year ago

Deathly slow under Linux, shows low cpu but all memory in use, though the system monitor only shows 72% of 32gb in use.

If it's really slow, it's possible that it's going into swap space. Although I don't really know much about Linux.

marsjupiter1 commented 1 year ago

Linux utilities suggest it's not using much memory, there is no swap going on and I'm typing this now on a very responsive system whilst waiting on a simple prompt that might complete in about 12 hours total at a guess.