lm-sys / lm-sys/FastChat

fastchat-t5-3b-v1.0 on macOS?

Open
#646 15 comments 7 reactions 1 assignee View on GitHub

@DachengLi1 is already working on this.

Since May 4, 2023.

bug good first issue
Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm trying to use fastchat-t5-3b-v1.0 on macOS following the instructions in the README.

```
Simply run the line below to start chatting. It will automatically download the weights from a Hugging Face repo.
python3 -m fastchat.serve.cli --model-path lmsys/fastchat-t5-3b-v1.0
```

When I do this, I get the error "Torch not compiled with CUDA enabled".

I added `--device mps --load-8bit` to run it as

```
python3 -m fastchat.serve.cli --model-path lmsys/fastchat-t5-3b-v1.0 --device mps --load-8bit
```

And that gives a different error: "Unrecognized configuration class for this kind of AutoModel: AutoModelForCausalLM".

Is this usable without CUDA?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.