Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Hugging Space app is not available. #512

Open
cesaryuan opened this issue May 20, 2024 · 0 comments
Open

The Hugging Space app is not available. #512

cesaryuan opened this issue May 20, 2024 · 0 comments

Comments

@cesaryuan
Copy link

Describe the bug
The Hugging Space app is not available.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://huggingface.co/spaces/Vision-CAIR/minigpt4
  2. See error
versions/3.10.14/lib/python3.10/site-packages/transformers/tokenization_utils_base.py:1958: FutureWarning: The `use_auth_token` argument is deprecated and will be removed in v5 of Transformers. Please use `token` instead.
  warnings.warn(
You are using the default legacy behaviour of the <class 'transformers.models.llama.tokenization_llama.LlamaTokenizer'>. This is expected, and simply means that the `legacy` (previous) behavior will be used so nothing changes for you. If you want to use the new behaviour, set `legacy=False`. This should only be set if you understand what it means, and thoroughly read the reason why this was added as explained in https://github.com/huggingface/transformers/pull/24565
/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/transformers/modeling_utils.py:2988: FutureWarning: The `use_auth_token` argument is deprecated and will be removed in v5 of Transformers. Please use `token` instead.
  warnings.warn(
The `load_in_4bit` and `load_in_8bit` arguments are deprecated and will be removed in the future versions. Please, pass a `BitsAndBytesConfig` object in `quantization_config` argument instead.
Traceback (most recent call last):
  File "/home/user/app/app.py", line 64, in <module>
    model = model_cls.from_config(model_config).to('cuda:0')
  File "/home/user/app/minigpt4/models/mini_gpt4.py", line 239, in from_config
    model = cls(
  File "/home/user/app/minigpt4/models/mini_gpt4.py", line 98, in __init__
    self.llama_model = LlamaForCausalLM.from_pretrained(
  File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3162, in from_pretrained
    hf_*********.validate_environment(
  File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/transformers/quantizers/quantizer_bnb_8bit.py", line 98, in validate_environment
    raise ValueError(
ValueError: You have a version of `bitsandbytes` that is not compatible with 8bit inference and training make sure you have the latest version of `bitsandbytes` installed

Screenshots
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant