[Model][ROCm] Enable DeepSeek V4 Vision (#55107)

Signed-off-by: Andreas Karatzas <Andreas.Karatzas@amd.com>
Signed-off-by: Andreas Karatzas <akaratza@amd.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
Andreas Karatzas
2026-09-11 09:17:30 -07:00
committed by GitHub
co-authored by OpenAI Codex
parent 127143e27f
commit 9dd969da09
17 changed files with 1055 additions and 347 deletions
+4 -3
View File
@@ -64,10 +64,11 @@ def test_registry_imports(model_arch):
):
pytest.skip("HY V4 is only supported on CUDA and ROCm")
if model_arch == "DeepseekV4ForConditionalGeneration" and not (
current_platform.is_cuda()
if (
model_arch == "DeepseekV4ForConditionalGeneration"
and not current_platform.is_cuda_alike()
):
pytest.skip("Deepseek V4 is only supported on CUDA")
pytest.skip("Deepseek V4 vision is only supported on CUDA and ROCm")
# Ensure all model classes can be imported successfully
model_cls = ModelRegistry._try_load_model_cls(model_arch)