returnnil,false,fmt.Errorf("generateVolcanoPodGroup: invalid value for annotation %s: %v",KubeAnnotationLWSSize,err)
}
iflwsSize<=0{
returnnil,false,fmt.Errorf("generateVolcanoPodGroup: LWS size must be greater than 0, got %d",lwsSize)
}
iflwsSize==1{
returnnil,false,errors.New("generateVolcanoPodGroup: LWS size of 1 means that the LWS is not needed, change 'nvidia.com/deployment-type' to 'standard'/disable whatever flag you used to enable LWS")