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

It appears that the cloned "dalai" repository does not contain the necessary files for installation. Please help. #444

Open lucidimpact opened 1 year ago

lucidimpact commented 1 year ago

(llama-env) nowhere@Nowheres-Mac ~ % git clone https://github.com/cocktailpeanut/dalai.git

Cloning into 'dalai'... remote: Enumerating objects: 833, done. remote: Counting objects: 100% (306/306), done. remote: Compressing objects: 100% (25/25), done. remote: Total 833 (delta 286), reused 281 (delta 281), pack-reused 527 Receiving objects: 100% (833/833), 11.89 MiB | 10.46 MiB/s, done. Resolving deltas: 100% (471/471), done. (llama-env) nowhere@Nowheres-Mac ~ % cd dalai (llama-env) nowhere@Nowheres-Mac dalai % pip install . ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found. (llama-env) nowhere@Nowheres-Mac dalai %

rmangino commented 1 year ago

The project is not meant to be installed that way (and will not work).

You have to install it with the following two commands:

  1. npx dalai llama install 7B
  2. npx dalai serve
lucidimpact commented 1 year ago

Thanks!!**Mike DavisLucid ImpactHelping You Shine Online.https://www.lucidimpact.com**************************On May 20, 2023, at 12:39 PM, Reed Mangino @.***> wrote: The project is not meant to be installed this way (and will not work). You have to install it with the following two commands:

npx dalai llama install 7B npx dalai serve

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Stoner19 commented 1 year ago

The project is not meant to be installed that way (and will not work).

You have to install it with the following two commands:

  1. npx dalai llama install 7B
  2. npx dalai serve

This significantly helped me. It would be great if @cocktailpeanut could include a simple "Do not clone this repo, just run these commands" into the instructions.