FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

platform_api_python_client/docs/ClusterCapacityResponse.md at main · CentML/platform_api_python_client · GitHub

Latest commit

 

History

History
32 lines (23 loc) · 1.16 KB

File metadata and controls

32 lines (23 loc) · 1.16 KB

ClusterCapacityResponse

Per-cluster GPU capacity breakdown returned inside GET /capacity.

Properties

Name Type Description Notes
cluster_id int
cluster_name str
gpu_types List[GpuTypeCapacity]

Example

from platform_api_python_client.models.cluster_capacity_response import ClusterCapacityResponse

# TODO update the JSON string below
json = "{}"
# create an instance of ClusterCapacityResponse from a JSON string
cluster_capacity_response_instance = ClusterCapacityResponse.from_json(json)
# print the JSON string representation of the object
print(ClusterCapacityResponse.to_json())

# convert the object into a dict
cluster_capacity_response_dict = cluster_capacity_response_instance.to_dict()
# create an instance of ClusterCapacityResponse from a dict
cluster_capacity_response_from_dict = ClusterCapacityResponse.from_dict(cluster_capacity_response_dict)

[Back to Model list] [Back to API list] [Back to README]


Back | FazBrowse Home | New Git URL