openchat icon indicating copy to clipboard operation
openchat copied to clipboard

Can you please update requirements.txt file with versions

Open talhaanwarch opened this issue 1 year ago • 1 comments

I am getting different errors. For example AssertionError: pydantic.dataclasses.dataclass only supports init=False

I have to downgrade pydantic version. It would be great if you can add all packages versions

talhaanwarch avatar Jul 09 '23 18:07 talhaanwarch

Another error RuntimeError: Failed to load the tokenizer. If you are using a LLaMA-based model, use 'hf-internal-testing/llama-tokenizer' instead of the original tokenizer.

Iinstalled pip install protobuf==3.20.0 -U to resolve this

talhaanwarch avatar Jul 09 '23 18:07 talhaanwarch

We've fixed the dependencies and released a pip package. Tested the following setup.

conda create -y --name openchat
conda activate openchat

conda install -y python
conda install -y cudatoolkit-dev -c conda-forge
pip3 install torch torchvision torchaudio

pip3 install packaging ninja
pip3 install --no-build-isolation "flash-attn<2"

pip3 install ochat

If there are still problems, please re-open this issue.

imoneoi avatar Aug 04 '23 14:08 imoneoi