We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e89a8 commit 419e0adCopy full SHA for 419e0ad
xinference/deploy/test/test_cmdline.py
@@ -18,7 +18,7 @@
18
import pytest
19
from click.testing import CliRunner
20
21
-from ...client import Client
+from ...client import RESTfulClient
22
from ..cmdline import (
23
list_model_registrations,
24
model_chat,
@@ -59,7 +59,7 @@ def test_cmdline(setup, stream):
59
"""
60
# if use `model_launch` command to launch model, CI will fail.
61
# So use client to launch model in temporary
62
- client = Client(endpoint)
+ client = RESTfulClient(endpoint)
63
model_uid = client.launch_model(
64
model_name="orca", model_size_in_billions=3, quantization="q4_0"
65
)
0 commit comments