@gpuai/sdk 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/esm/models/CreateInstanceRequest.d.ts +1 -1
- package/dist/esm/models/Problem.d.ts +1 -0
- package/dist/esm/models/Problem.js +1 -0
- package/dist/models/CreateInstanceRequest.d.ts +1 -1
- package/dist/models/Problem.d.ts +1 -0
- package/dist/models/Problem.js +1 -0
- package/package.json +1 -1
- package/src/models/CreateInstanceRequest.ts +1 -1
- package/src/models/Problem.ts +1 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @gpuai/sdk@0.2.
|
|
1
|
+
# @gpuai/sdk@0.2.1
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the api.gpu.ai API.
|
|
4
4
|
|
|
@@ -191,7 +191,7 @@ and is automatically generated by the
|
|
|
191
191
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
192
192
|
|
|
193
193
|
- API version: `1.0.0`
|
|
194
|
-
- Package version: `0.2.
|
|
194
|
+
- Package version: `0.2.1`
|
|
195
195
|
- Generator version: `7.24.0`
|
|
196
196
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
197
197
|
|
|
@@ -76,7 +76,7 @@ export interface CreateInstanceRequest {
|
|
|
76
76
|
*/
|
|
77
77
|
offeringId?: string;
|
|
78
78
|
/**
|
|
79
|
-
* Requested instance filesystem size in GB. Omit for the platform default (100 GB), which never narrows placement. Setting it is a hard requirement: placement narrows to capacity that can honor it (see `disk_configurable` on GET /v1/pricing), and a request no offering of the gpu_type can honor returns 422 `disk_unavailable` rather than launching with a different size. Disk beyond the included allowance (100 GB) is billed at the offering's `disk_price_per_gb_hour` (GET /v1/pricing), folded into the instance's single hourly rate. Bounds: at least 10, at most the platform ceiling (currently 1000) — outside them returns 422 `validation_failed`.
|
|
79
|
+
* Requested instance filesystem size in GB. Omit for the platform default (100 GB), which never narrows placement. Setting it is a hard requirement: placement narrows to capacity that can honor it (see `disk_configurable` on GET /v1/pricing), and a request no offering of the gpu_type can honor returns 422 `disk_unavailable` rather than launching with a different size. When the launch also pins an exact `offering_id`, a disk_gb larger than that offering's displayed `storage_gb` returns 422 `disk_exceeds_offering` rather than launching with a clamped filesystem. Disk beyond the included allowance (100 GB) is billed at the offering's `disk_price_per_gb_hour` (GET /v1/pricing), folded into the instance's single hourly rate. Bounds: at least 10, at most the platform ceiling (currently 1000) — outside them returns 422 `validation_failed`.
|
|
80
80
|
* @type {number}
|
|
81
81
|
* @memberof CreateInstanceRequest
|
|
82
82
|
*/
|
|
@@ -65,6 +65,7 @@ export declare const ProblemCodeEnum: {
|
|
|
65
65
|
readonly ValidationFailed: "validation_failed";
|
|
66
66
|
readonly InvalidGpuType: "invalid_gpu_type";
|
|
67
67
|
readonly DiskUnavailable: "disk_unavailable";
|
|
68
|
+
readonly DiskExceedsOffering: "disk_exceeds_offering";
|
|
68
69
|
readonly ModelTooLarge: "model_too_large";
|
|
69
70
|
readonly InsufficientBalance: "insufficient_balance";
|
|
70
71
|
readonly QuotaExceeded: "quota_exceeded";
|
|
@@ -24,6 +24,7 @@ export const ProblemCodeEnum = {
|
|
|
24
24
|
ValidationFailed: 'validation_failed',
|
|
25
25
|
InvalidGpuType: 'invalid_gpu_type',
|
|
26
26
|
DiskUnavailable: 'disk_unavailable',
|
|
27
|
+
DiskExceedsOffering: 'disk_exceeds_offering',
|
|
27
28
|
ModelTooLarge: 'model_too_large',
|
|
28
29
|
InsufficientBalance: 'insufficient_balance',
|
|
29
30
|
QuotaExceeded: 'quota_exceeded',
|
|
@@ -76,7 +76,7 @@ export interface CreateInstanceRequest {
|
|
|
76
76
|
*/
|
|
77
77
|
offeringId?: string;
|
|
78
78
|
/**
|
|
79
|
-
* Requested instance filesystem size in GB. Omit for the platform default (100 GB), which never narrows placement. Setting it is a hard requirement: placement narrows to capacity that can honor it (see `disk_configurable` on GET /v1/pricing), and a request no offering of the gpu_type can honor returns 422 `disk_unavailable` rather than launching with a different size. Disk beyond the included allowance (100 GB) is billed at the offering's `disk_price_per_gb_hour` (GET /v1/pricing), folded into the instance's single hourly rate. Bounds: at least 10, at most the platform ceiling (currently 1000) — outside them returns 422 `validation_failed`.
|
|
79
|
+
* Requested instance filesystem size in GB. Omit for the platform default (100 GB), which never narrows placement. Setting it is a hard requirement: placement narrows to capacity that can honor it (see `disk_configurable` on GET /v1/pricing), and a request no offering of the gpu_type can honor returns 422 `disk_unavailable` rather than launching with a different size. When the launch also pins an exact `offering_id`, a disk_gb larger than that offering's displayed `storage_gb` returns 422 `disk_exceeds_offering` rather than launching with a clamped filesystem. Disk beyond the included allowance (100 GB) is billed at the offering's `disk_price_per_gb_hour` (GET /v1/pricing), folded into the instance's single hourly rate. Bounds: at least 10, at most the platform ceiling (currently 1000) — outside them returns 422 `validation_failed`.
|
|
80
80
|
* @type {number}
|
|
81
81
|
* @memberof CreateInstanceRequest
|
|
82
82
|
*/
|
package/dist/models/Problem.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ export declare const ProblemCodeEnum: {
|
|
|
65
65
|
readonly ValidationFailed: "validation_failed";
|
|
66
66
|
readonly InvalidGpuType: "invalid_gpu_type";
|
|
67
67
|
readonly DiskUnavailable: "disk_unavailable";
|
|
68
|
+
readonly DiskExceedsOffering: "disk_exceeds_offering";
|
|
68
69
|
readonly ModelTooLarge: "model_too_large";
|
|
69
70
|
readonly InsufficientBalance: "insufficient_balance";
|
|
70
71
|
readonly QuotaExceeded: "quota_exceeded";
|
package/dist/models/Problem.js
CHANGED
|
@@ -32,6 +32,7 @@ exports.ProblemCodeEnum = {
|
|
|
32
32
|
ValidationFailed: 'validation_failed',
|
|
33
33
|
InvalidGpuType: 'invalid_gpu_type',
|
|
34
34
|
DiskUnavailable: 'disk_unavailable',
|
|
35
|
+
DiskExceedsOffering: 'disk_exceeds_offering',
|
|
35
36
|
ModelTooLarge: 'model_too_large',
|
|
36
37
|
InsufficientBalance: 'insufficient_balance',
|
|
37
38
|
QuotaExceeded: 'quota_exceeded',
|
package/package.json
CHANGED
|
@@ -80,7 +80,7 @@ export interface CreateInstanceRequest {
|
|
|
80
80
|
*/
|
|
81
81
|
offeringId?: string;
|
|
82
82
|
/**
|
|
83
|
-
* Requested instance filesystem size in GB. Omit for the platform default (100 GB), which never narrows placement. Setting it is a hard requirement: placement narrows to capacity that can honor it (see `disk_configurable` on GET /v1/pricing), and a request no offering of the gpu_type can honor returns 422 `disk_unavailable` rather than launching with a different size. Disk beyond the included allowance (100 GB) is billed at the offering's `disk_price_per_gb_hour` (GET /v1/pricing), folded into the instance's single hourly rate. Bounds: at least 10, at most the platform ceiling (currently 1000) — outside them returns 422 `validation_failed`.
|
|
83
|
+
* Requested instance filesystem size in GB. Omit for the platform default (100 GB), which never narrows placement. Setting it is a hard requirement: placement narrows to capacity that can honor it (see `disk_configurable` on GET /v1/pricing), and a request no offering of the gpu_type can honor returns 422 `disk_unavailable` rather than launching with a different size. When the launch also pins an exact `offering_id`, a disk_gb larger than that offering's displayed `storage_gb` returns 422 `disk_exceeds_offering` rather than launching with a clamped filesystem. Disk beyond the included allowance (100 GB) is billed at the offering's `disk_price_per_gb_hour` (GET /v1/pricing), folded into the instance's single hourly rate. Bounds: at least 10, at most the platform ceiling (currently 1000) — outside them returns 422 `validation_failed`.
|
|
84
84
|
* @type {number}
|
|
85
85
|
* @memberof CreateInstanceRequest
|
|
86
86
|
*/
|
package/src/models/Problem.ts
CHANGED
|
@@ -71,6 +71,7 @@ export const ProblemCodeEnum = {
|
|
|
71
71
|
ValidationFailed: 'validation_failed',
|
|
72
72
|
InvalidGpuType: 'invalid_gpu_type',
|
|
73
73
|
DiskUnavailable: 'disk_unavailable',
|
|
74
|
+
DiskExceedsOffering: 'disk_exceeds_offering',
|
|
74
75
|
ModelTooLarge: 'model_too_large',
|
|
75
76
|
InsufficientBalance: 'insufficient_balance',
|
|
76
77
|
QuotaExceeded: 'quota_exceeded',
|