dalai icon indicating copy to clipboard operation
dalai copied to clipboard

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

Open lucidimpact opened this issue 1 year ago • 3 comments

(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 %

lucidimpact avatar May 15 '23 16:05 lucidimpact

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

rmangino avatar May 20 '23 16:05 rmangino

Thanks!!Mike DavisLucid ImpactHelping You Shine Online.https://www.lucidimpact.comOn 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: @.***>

lucidimpact avatar May 20 '23 18:05 lucidimpact

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.

Stoner19 avatar May 22 '23 16:05 Stoner19