[CI] Restore SMG e2e on 2-gpu-h100 / 4-gpu-h100 runners (#24222)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kangyan-Zhou
2026-05-01 23:55:20 -07:00
committed by GitHub
co-authored by Claude Opus 4.7
parent b939d5410f
commit 2e72a36420
16 changed files with 610 additions and 383 deletions
@@ -184,7 +184,25 @@ def hf_reference_embeddings(request):
@pytest.mark.e2e
@pytest.mark.model("embedding")
@pytest.mark.parametrize("setup_backend", ["grpc", "http"], indirect=True)
@pytest.mark.parametrize(
"setup_backend",
[
pytest.param(
"grpc",
marks=pytest.mark.skip(
reason=(
"SMG router's smg-grpc-client 1.0.0 uses old oneof "
"EmbedResponse proto; Python smg-grpc-servicer >=0.5.2 "
"emits new flat layout — wire mismatch yields "
"'embedding_no_response' 500. See test_basic.py for the "
"full diagnosis. HTTP variant still validates."
)
),
),
"http",
],
indirect=True,
)
class TestEmbeddingCorrectness:
"""Test embedding correctness by comparing gateway output against HuggingFace reference.