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

ValueError: Unsupported model type t5 #172

Open
2 of 4 tasks
JunxiChhen opened this issue Jun 27, 2024 · 3 comments
Open
2 of 4 tasks

ValueError: Unsupported model type t5 #172

JunxiChhen opened this issue Jun 27, 2024 · 3 comments

Comments

@JunxiChhen
Copy link

System Info

Linux gaudi2-wsf-test 5.15.0-92-generic #102-Ubuntu SMP Wed Jan 10 09:33:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

image

docker image: ghcr.io/huggingface/tgi-gaudi:2.0.0

Information

  • Docker
  • The CLI directly

Tasks

  • An officially supported command
  • My own modifications

Reproduction

Doc claims that flan-t5 is supported. However, when I try to run "google/flan-t5-base", shows:

ValueError: Unsupported model type t5

cmd:

docker run --rm  -p 9000:8000 --runtime=habana -e HABANA_VISIBLE_DEVICES=all  -e OMPI_MCA_btl_vader_single_copy_mechanism=none --cap-add=sys_nice --ipc=host ghcr.io/huggingface/tgi-gaudi:2.0.0 --port 8000 --trust-remote-code --model-id google/flan-t5-base --dtype bfloat16 --max-input-tokens 1024 --max-total-tokens 2048

Expected behavior

Either add support of flan-t5 or remove this model from doc.

@regisss
Copy link
Collaborator

regisss commented Jul 12, 2024

Doc claims that flan-t5 is supported

Which doc are you talking about? This one: https://huggingface.co/docs/text-generation-inference/supported_models ?

@JunxiChhen
Copy link
Author

@regisss
Copy link
Collaborator

regisss commented Jul 15, 2024

Arf yes, this is the source code of TEI's docs which is inherited in this fork. I'll add a banner in the README to specify that this doc doesn't fully apply to this fork.

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

2 participants