Skip to content

Commit

Permalink
Fix InferenceEndpointsLLM unit tests after release of
Browse files Browse the repository at this point in the history
`huggingface_hub==0.24.0`
  • Loading branch information
gabrielmbmb committed Jul 19, 2024
1 parent 9d31547 commit 01a4bad
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/unit/llms/huggingface/test_inference_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ async def test_agenerate_with_chat_completion(
created=1721045246,
id="",
model="meta-llama/Meta-Llama-3-70B-Instruct",
object="chat.completion",
system_fingerprint="2.1.1-dev0-sha-4327210",
usage=ChatCompletionOutputUsage(
completion_tokens=66, prompt_tokens=18, total_tokens=84
Expand Down Expand Up @@ -212,7 +211,6 @@ async def test_agenerate_with_chat_completion_fails(
created=1721045246,
id="",
model="meta-llama/Meta-Llama-3-70B-Instruct",
object="chat.completion",
system_fingerprint="2.1.1-dev0-sha-4327210",
usage=ChatCompletionOutputUsage(
completion_tokens=66, prompt_tokens=18, total_tokens=84
Expand Down

0 comments on commit 01a4bad

Please sign in to comment.