cocktailpeanut / dalai

The simplest way to run LLaMA on your local machine
https://cocktailpeanut.github.io/dalai
13.09k stars 1.43k forks source link

Trash Project #441

Open WhiteH4T-Dev opened 1 year ago

WhiteH4T-Dev commented 1 year ago

Doesnt even install

rohitdoc15 commented 1 year ago

may i know what error u having my dear friend

adarshhegde commented 1 year ago

L, skill issue

neverhags commented 1 year ago

$ npx dalai llama install 7B Need to install the following packages: dalai@0.3.1 Ok to proceed? (y) y $

No messages, no install... no nothing.... I have the PTH files but I don't know how to install it manually yet

WhiteH4T-Dev commented 1 year ago

L, skill issue

Bruh

thorsteinssonh commented 1 year ago

npx assumes that you have install the js modules -- first run npm install in the git clone project directory. This might be part of the instructions, and some error message. Usually a quick start instruction with js projects would begin with npm install to get all the modules, then run the modules.

geniusfoever commented 1 year ago

I do not have this issue, but still cannot run, there are too much problems

ugmqu commented 1 year ago

Same problem on both Windows and Ubuntu. Only Docker Installation seems to work

nationallokmatparty commented 1 year ago

Can any one confirm that docker working? if yes can you tell me is any issue you face and what step yu follow to solve that

okellotechconsults commented 1 year ago

npx assumes that you have install the js modules -- first run npm install in the git clone project directory. This might be part of the instructions, and some error message. Usually a quick start instruction with js projects would begin with npm install to get all the modules, then run the modules.

Had same issue with ubuntu, but adding sudo before the command solved the issue

Shantarli commented 1 year ago

npx assumes that you have install the js modules -- first run npm install in the git clone project directory. This might be part of the instructions, and some error message. Usually a quick start instruction with js projects would begin with npm install to get all the modules, then run the modules.

This is not how npx works, it doesn't need anything to run - it will download everything it needs by itself. You can check it with npx cowsay wow

Thus, the behavior of this package and the instructions for it are not entirely correct.

thorsteinssonh commented 1 year ago

npx assumes that you have install the js modules -- first run npm install in the git clone project directory. This might be part of the instructions, and some error message. Usually a quick start instruction with js projects would begin with npm install to get all the modules, then run the modules.

This is not how npx works, it doesn't need anything to run - it will download everything it needs by itself. You can check it with npx cowsay wow

Thus, the behavior of this package and the instructions for it are not entirely correct.

Ah ok, thanks Shantarli -- I'm not a js dev and got confused by the fact that the good old npm install solved the issue for me, cascaded to assuming that it was similar to npm run. But now when I read about npx there is definately something else wrong - should have worked as you said, should fetch and run :S --- also odd that someone above solved it differently by running with sudo npx.

imHitchens commented 11 months ago

Try running

npm install dalai

before the npx command. Got through it that way here

junxian428 commented 11 months ago

not work as chatgpt maybe i use 7B ? image