mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-28 13:32:10 +00:00
16 lines
315 B
Python
16 lines
315 B
Python
import pytest
|
|
|
|
|
|
@pytest.fixture(scope="module")
|
|
def chat_handle(launcher):
|
|
with launcher(
|
|
"meta-llama/Meta-Llama-3.1-8B-Instruct",
|
|
) as handle:
|
|
yield handle
|
|
|
|
|
|
@pytest.fixture(scope="module")
|
|
async def chat_client(chat_handle):
|
|
await chat_handle.health(300)
|
|
return chat_handle.client
|