Skip to content

Commit 78276c7

Browse files
committed
rm all
Signed-off-by: Eric Curtin <eric.curtin@docker.com>
1 parent a358176 commit 78276c7

45 files changed

Lines changed: 23 additions & 7730 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

scripts/ci.sh

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ smoke_test() {
1111

1212
# 2. Wait for the server to be ready
1313
echo "Waiting for vLLM to start..."
14-
local url="http://localhost:8000/health"
15-
if ! curl --retry 4 --retry-all-errors -s "$url" > /dev/null; then
14+
local health_url="http://localhost:8000/health"
15+
if ! curl --retry 4 --retry-all-errors -s "$health_url" > /dev/null; then
1616
echo "vLLM failed to start."
1717

1818
kill $vllm_pid
@@ -22,6 +22,27 @@ smoke_test() {
2222

2323
echo "Model loaded successfully!"
2424

25+
# 3. Test chat completions endpoint
26+
echo "Testing chat completions endpoint..."
27+
local chat_url="http://localhost:8000/v1/chat/completions"
28+
local response
29+
response=$(curl -s -X POST "$chat_url" \
30+
-H "Content-Type: application/json" \
31+
-d '{
32+
"model": "Qwen/Qwen3-0.6B",
33+
"messages": [{"role": "user", "content": "Say hello"}],
34+
"max_tokens": 32
35+
}')
36+
37+
if ! echo "$response" | grep -q '"choices"'; then
38+
echo "Chat completions test failed. Response:"
39+
echo "$response"
40+
kill $vllm_pid
41+
exit 1
42+
fi
43+
44+
echo "Chat completions test passed!"
45+
2546
kill $vllm_pid
2647
}
2748

tests/__init__.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/conftest.py

Lines changed: 0 additions & 143 deletions
This file was deleted.

tests/test_attention.py

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)