[CI/Build] Share nightly CUDA YAML between H100/L4 and B200 (#7028)
Signed-off-by: wangyu <410167048@qq.com> Signed-off-by: [Your Name] [Your Email] Signed-off-by: [Your Name] <your.email@example.com> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: amy-why-3459 <wuhaiyan17@huawei.com>
This commit is contained in:
78 files changed
+437
-321
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM-Omni project
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -35,6 +35,7 @@ def _model_name() -> str:
|
||||
pytest.skip(f"Set {MODEL_ENV_VAR} to run Cosmos3 full-model smoke tests.")
|
||||
if not torch.cuda.is_available():
|
||||
pytest.skip("Cosmos3 full-model smoke tests require CUDA.")
|
||||
assert model
|
||||
return model
|
||||
|
||||
|
||||
@@ -56,7 +57,7 @@ def _image_data_url(image: Image.Image) -> str:
|
||||
|
||||
|
||||
@pytest.mark.benchmark
|
||||
@hardware_test(res={"cuda": "H100"}, num_cards=1)
|
||||
@hardware_test(res={"cuda": ["H100", "B200"]}, num_cards=1)
|
||||
def test_cosmos3_t2i_serving_smoke(accuracy_artifact_root: Path) -> None:
|
||||
output_dir = model_output_dir(accuracy_artifact_root, MODEL_ID)
|
||||
with OmniServer(_model_name(), _server_args(), use_omni=True) as server:
|
||||
@@ -97,7 +98,7 @@ def test_cosmos3_t2i_serving_smoke(accuracy_artifact_root: Path) -> None:
|
||||
],
|
||||
)
|
||||
@pytest.mark.benchmark
|
||||
@hardware_test(res={"cuda": "H100"}, num_cards=1)
|
||||
@hardware_test(res={"cuda": ["H100", "B200"]}, num_cards=1)
|
||||
def test_cosmos3_video_serving_smoke(
|
||||
accuracy_artifact_root: Path,
|
||||
name: str,
|
||||
|
||||
Reference in new issue
Block a user