[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
+2 -2
View File
@@ -135,8 +135,8 @@ def can_initialize(
if model_arch == "DeepseekV4ForConditionalGeneration":
from vllm.platforms import current_platform
if not current_platform.is_cuda():
pytest.skip("Deepseek V4 is only supported on CUDA")
if not (current_platform.is_cuda() or current_platform.is_rocm()):
pytest.skip("Deepseek V4 vision is only supported on CUDA and ROCm")
with (
patch.object(V1EngineCore, "_initialize_kv_caches", _initialize_kv_caches_v1),