pub struct GoogleCloudAiplatformV1RaySpec {
pub resource_pool_images: Option<HashMap<String, String>>,
pub ray_logs_spec: Option<GoogleCloudAiplatformV1RayLogsSpec>,
pub image_uri: Option<String>,
pub ray_metric_spec: Option<GoogleCloudAiplatformV1RayMetricSpec>,
pub head_node_resource_pool_id: Option<String>,
}Expand description
Configuration information for the Ray cluster. For experimental launch, Ray cluster creation and Persistent cluster creation are 1:1 mapping: We will provision all the nodes within the Persistent cluster as Ray nodes.
This type is not used in any activity, and only used as part of another schema.
Fields§
§resource_pool_images: Option<HashMap<String, String>>Optional. Required if image_uri isn’t set. A map of resource_pool_id to prebuild Ray image if user need to use different images for different head/worker pools. This map needs to cover all the resource pool ids. Example: { “ray_head_node_pool”: “head image” “ray_worker_node_pool1”: “worker image” “ray_worker_node_pool2”: “another worker image” }
ray_logs_spec: Option<GoogleCloudAiplatformV1RayLogsSpec>Optional. OSS Ray logging configurations.
image_uri: Option<String>Optional. Default image for user to choose a preferred ML framework (for example, TensorFlow or Pytorch) by choosing from Vertex prebuilt images. Either this or the resource_pool_images is required. Use this field if you need all the resource pools to have the same Ray image. Otherwise, use the {@code resource_pool_images} field.
ray_metric_spec: Option<GoogleCloudAiplatformV1RayMetricSpec>Optional. Ray metrics configurations.
head_node_resource_pool_id: Option<String>Optional. This will be used to indicate which resource pool will serve as the Ray head node(the first node within that pool). Will use the machine from the first workerpool as the head node by default if this field isn’t set.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1RaySpec
impl Clone for GoogleCloudAiplatformV1RaySpec
Source§fn clone(&self) -> GoogleCloudAiplatformV1RaySpec
fn clone(&self) -> GoogleCloudAiplatformV1RaySpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1RaySpec
impl Default for GoogleCloudAiplatformV1RaySpec
Source§fn default() -> GoogleCloudAiplatformV1RaySpec
fn default() -> GoogleCloudAiplatformV1RaySpec
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1RaySpec
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1RaySpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudAiplatformV1RaySpec
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1RaySpec
impl RefUnwindSafe for GoogleCloudAiplatformV1RaySpec
impl Send for GoogleCloudAiplatformV1RaySpec
impl Sync for GoogleCloudAiplatformV1RaySpec
impl Unpin for GoogleCloudAiplatformV1RaySpec
impl UnwindSafe for GoogleCloudAiplatformV1RaySpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more