diff --git a/frontend/src/pages/modelServing/screens/projects/ModelMeshSection/ServingRuntimeDetails.tsx b/frontend/src/pages/modelServing/screens/projects/ModelMeshSection/ServingRuntimeDetails.tsx index b56c1cff90..cfc0d2a083 100644 --- a/frontend/src/pages/modelServing/screens/projects/ModelMeshSection/ServingRuntimeDetails.tsx +++ b/frontend/src/pages/modelServing/screens/projects/ModelMeshSection/ServingRuntimeDetails.tsx @@ -25,7 +25,7 @@ const ServingRuntimeDetails: React.FC = ({ obj, isvc const enabledAcceleratorProfiles = acceleratorProfile.acceleratorProfiles.filter( (ac) => ac.spec.enabled, ); - const resources = obj.spec.containers[0].resources || isvc?.spec.predictor.model?.resources; + const resources = isvc?.spec.predictor.model?.resources || obj.spec.containers[0].resources; const sizes = getServingRuntimeSizes(dashboardConfig); const size = sizes.find( (currentSize) => getResourceSize(sizes, resources || {}).name === currentSize.name, diff --git a/frontend/src/pages/modelServing/screens/projects/NIMServiceModal/DeployNIMServiceModal.tsx b/frontend/src/pages/modelServing/screens/projects/NIMServiceModal/DeployNIMServiceModal.tsx index 8b580c1fb7..cebad749d1 100644 --- a/frontend/src/pages/modelServing/screens/projects/NIMServiceModal/DeployNIMServiceModal.tsx +++ b/frontend/src/pages/modelServing/screens/projects/NIMServiceModal/DeployNIMServiceModal.tsx @@ -210,7 +210,7 @@ const DeployNIMServiceModal: React.FC = ({ NamespaceApplicationCase.KSERVE_NIM_PROMOTION, projectContext?.currentProject, servingRuntimeName, - true, + false, ); const submitInferenceServiceResource = getSubmitInferenceServiceResourceFn(