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

Tgi fixture #519

Merged
merged 3 commits into from
Nov 25, 2024
Merged

Tgi fixture #519

merged 3 commits into from
Nov 25, 2024

Conversation

dineshyv
Copy link
Contributor

What does this PR do?

  • Add a test fixture for tgi
  • Fixes the logic to correctly pass the llama model for chat completion

Fixes #514

Test Plan

pytest -k "tgi" llama_stack/providers/tests/inference/test_text_inference.py --env TGI_URL=http://localhost:$INFERENCE_PORT --env TGI_API_TOKEN=$HF_TOKEN

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 25, 2024
@dineshyv dineshyv merged commit de7af28 into main Nov 25, 2024
2 checks passed
@dineshyv dineshyv deleted the tgi-fixture branch November 25, 2024 21:17
SLR722 pushed a commit that referenced this pull request Nov 27, 2024
# What does this PR do?

* Add a test fixture for tgi
* Fixes the logic to correctly pass the llama model for chat completion

Fixes #514

## Test Plan

pytest -k "tgi"
llama_stack/providers/tests/inference/test_text_inference.py --env
TGI_URL=http://localhost:$INFERENCE_PORT --env TGI_API_TOKEN=$HF_TOKEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add inference test fixture for tgi
3 participants