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

Medusa models seem to be slower than the original base models #1641

Closed
2 of 4 tasks
infinitylogesh opened this issue Mar 13, 2024 · 1 comment
Closed
2 of 4 tasks
Labels

Comments

@infinitylogesh
Copy link

infinitylogesh commented Mar 13, 2024

System Info

Thank you for adding support for Medusa. In my comparison of Medusa models versus the original base models with TGI, the latter appeared to be quicker.

I tested the below models:

  • text-generation-inference/gemma-7b-it-medusa
  • text-generation-inference/Mixtral-8x7B-Instruct-v0.1-medusa
  • text-generation-inference/Mistral-7B-Instruct-v0.2-medusa
  • FasterDecoding/medusa-vicuna-7b-v1.3 ( revision="refs/pr/1" )

Screenshot 2024-03-13 at 11 11 00 PM

Information

  • Docker
  • The CLI directly

Tasks

  • An officially supported command
  • My own modifications

Reproduction

Command used :

docker run --gpus all --shm-size 1g -p 8081:80 ghcr.io/huggingface/text-generation-inference:1.4.3 --model-id text-generation-inference/Mistral-7B-Instruct-v0.2-medusa --num-shard 1 

Hardware:

1xH100

Expected behavior

Medusa models should be faster than the original non-medusa models

@infinitylogesh infinitylogesh changed the title Medusa models seems to be slower than the original base models Medusa models seem to be slower than the original base models Mar 13, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Apr 14, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant