{{ $t('aiTools.gpuGroup.overview') }}
+{{ $t('aiTools.gpu.current') }}
{{ $t('aiTools.gpuGroup.topology') }}
-{{ $t('aiTools.gpuGroup.help') }}
-{{ group.description }}
-diff --git a/agent/app/service/vllm_upgrade.go b/agent/app/service/vllm_upgrade.go index 0acc16a99..18a44c380 100644 --- a/agent/app/service/vllm_upgrade.go +++ b/agent/app/service/vllm_upgrade.go @@ -86,6 +86,11 @@ func buildDefaultVllmImageByVersion(version string) string { } func isVllmUpgradeVersionAllowed(currentVersion, targetVersion, currentImage string) bool { + currentRTX := vllm.IsRTXVersion(currentVersion) + targetRTX := vllm.IsRTXVersion(targetVersion) + if currentRTX != targetRTX { + return false + } currentGB10 := vllm.IsGB10Version(currentVersion) targetGB10 := vllm.IsGB10Version(targetVersion) if currentGB10 != targetGB10 { diff --git a/agent/utils/ai_tools/vllm/version.go b/agent/utils/ai_tools/vllm/version.go index 12b1967ee..630ba7568 100644 --- a/agent/utils/ai_tools/vllm/version.go +++ b/agent/utils/ai_tools/vllm/version.go @@ -5,8 +5,13 @@ import "strings" const ( gb10VersionPrefix = "nvidia-" gb10VersionSuffix = "-optimized-for-ds-v4-flash" + rtxVersionSuffix = "-optimized-for-ds-v4.1-flash" ) +func IsRTXVersion(version string) bool { + return strings.HasSuffix(strings.ToLower(strings.TrimSpace(version)), rtxVersionSuffix) +} + func IsGB10Version(version string) bool { normalized := strings.ToLower(strings.TrimSpace(version)) tag := strings.TrimPrefix(normalized, gb10VersionPrefix) diff --git a/frontend/src/components/layout-content/index.vue b/frontend/src/components/layout-content/index.vue index 42d7129c2..fab6f95e9 100644 --- a/frontend/src/components/layout-content/index.vue +++ b/frontend/src/components/layout-content/index.vue @@ -19,7 +19,7 @@
{{ $t('aiTools.gpuGroup.help') }}
-{{ group.description }}
-