Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:Add H200141GB to DeployGPUs Enum and Update OpenAPI Specification #55

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/libs/DeepInfra/Generated/DeepInfra.Models.DeployGPUs.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ public enum DeployGPUs
///
/// </summary>
H10080GB,
/// <summary>
///
/// </summary>
H200141GB,
}

/// <summary>
Expand All @@ -32,6 +36,7 @@ public static string ToValueString(this DeployGPUs value)
{
DeployGPUs.A10080GB => "A100-80GB",
DeployGPUs.H10080GB => "H100-80GB",
DeployGPUs.H200141GB => "H200-141GB",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -44,6 +49,7 @@ public static string ToValueString(this DeployGPUs value)
{
"A100-80GB" => DeployGPUs.A10080GB,
"H100-80GB" => DeployGPUs.H10080GB,
"H200-141GB" => DeployGPUs.H200141GB,
_ => null,
};
}
Expand Down
1 change: 1 addition & 0 deletions src/libs/DeepInfra/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,7 @@ components:
enum:
- A100-80GB
- H100-80GB
- H200-141GB
type: string
description: An enumeration.
DeployInstances:
Expand Down