Skip to content
Closed
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
2 changes: 0 additions & 2 deletions internal/shadeform/gen/shadeform/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api/openapi.yaml
Expand Down Expand Up @@ -97,5 +96,4 @@ model_volume_types_inner.go
model_volumes_response.go
model_volumes_types_response.go
response.go
test/api_default_test.go
utils.go
19 changes: 19 additions & 0 deletions internal/shadeform/gen/shadeform/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ components:
vcpus: 6
storage_in_gb: 256
interconnect: pcie
gpu_manufacturer: nvidia
os_options:
- ubuntu22.04_cuda12.2_shade_os
- ubuntu20.04_cuda12.0_shade_os
Expand Down Expand Up @@ -541,6 +542,7 @@ components:
vcpus: 6
storage_in_gb: 256
interconnect: pcie
gpu_manufacturer: nvidia
os_options:
- ubuntu22.04_cuda12.2_shade_os
- ubuntu20.04_cuda12.0_shade_os
Expand Down Expand Up @@ -579,6 +581,7 @@ components:
vcpus: 6
storage_in_gb: 256
interconnect: pcie
gpu_manufacturer: nvidia
os_options:
- ubuntu22.04_cuda12.2_shade_os
- ubuntu20.04_cuda12.0_shade_os
Expand Down Expand Up @@ -652,6 +655,7 @@ components:
vcpus: 6
storage_in_gb: 256
interconnect: pcie
gpu_manufacturer: nvidia
launch_configuration:
docker_configuration:
args: --model mistralai/Mistral-7B-v0.1
Expand Down Expand Up @@ -717,6 +721,7 @@ components:
vcpus: 6
storage_in_gb: 256
interconnect: pcie
gpu_manufacturer: nvidia
launch_configuration:
docker_configuration:
args: --model mistralai/Mistral-7B-v0.1
Expand Down Expand Up @@ -792,6 +797,7 @@ components:
vcpus: 6
storage_in_gb: 256
interconnect: pcie
gpu_manufacturer: nvidia
launch_configuration:
docker_configuration:
args: --model mistralai/Mistral-7B-v0.1
Expand Down Expand Up @@ -976,6 +982,7 @@ components:
vcpus: 6
storage_in_gb: 256
interconnect: pcie
gpu_manufacturer: nvidia
cloud_instance_type: gpu_1x_a6000
auto_delete:
spend_threshold: "3.14"
Expand Down Expand Up @@ -1198,6 +1205,7 @@ components:
vcpus: 6
storage_in_gb: 256
interconnect: pcie
gpu_manufacturer: nvidia
os_options:
- ubuntu22.04_cuda12.2_shade_os
- ubuntu20.04_cuda12.0_shade_os
Expand Down Expand Up @@ -1245,7 +1253,12 @@ components:
items:
type: string
type: array
gpu_manufacturer:
description: The manufacturer of the gpu
example: nvidia
type: string
required:
- gpu_manufacturer
- gpu_type
- interconnect
- memory_in_gb
Expand Down Expand Up @@ -1292,7 +1305,12 @@ components:
description: The video memory per GPU for the instance in gigabytes.
example: 48
type: integer
gpu_manufacturer:
description: The manufacturer of the gpu
example: nvidia
type: string
required:
- gpu_manufacturer
- gpu_type
- interconnect
- memory_in_gb
Expand Down Expand Up @@ -2693,6 +2711,7 @@ components:
vcpus: 6
storage_in_gb: 256
interconnect: pcie
gpu_manufacturer: nvidia
VolumeTypes_inner:
example:
cloud: hyperstack
Expand Down
23 changes: 22 additions & 1 deletion internal/shadeform/gen/shadeform/docs/InstanceConfiguration.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ Name | Type | Description | Notes
**Interconnect** | **string** | The type of GPU interconnect. |
**Nvlink** | Pointer to **bool** | If the instance has NVLink | [optional]
**VramPerGpuInGb** | **int32** | The video memory per GPU for the instance in gigabytes. |
**GpuManufacturer** | **string** | The manufacturer of the gpu |
**Os** | **string** | The operating system of the instance. |

## Methods

### NewInstanceConfiguration

`func NewInstanceConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, os string, ) *InstanceConfiguration`
`func NewInstanceConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, gpuManufacturer string, os string, ) *InstanceConfiguration`

NewInstanceConfiguration instantiates a new InstanceConfiguration object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -198,6 +199,26 @@ and a boolean to check if the value has been set.
SetVramPerGpuInGb sets VramPerGpuInGb field to given value.


### GetGpuManufacturer

`func (o *InstanceConfiguration) GetGpuManufacturer() string`

GetGpuManufacturer returns the GpuManufacturer field if non-nil, zero value otherwise.

### GetGpuManufacturerOk

`func (o *InstanceConfiguration) GetGpuManufacturerOk() (*string, bool)`

GetGpuManufacturerOk returns a tuple with the GpuManufacturer field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetGpuManufacturer

`func (o *InstanceConfiguration) SetGpuManufacturer(v string)`

SetGpuManufacturer sets GpuManufacturer field to given value.


### GetOs

`func (o *InstanceConfiguration) GetOs() string`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ Name | Type | Description | Notes
**Nvlink** | Pointer to **bool** | If the instance has NVLink | [optional]
**VramPerGpuInGb** | **int32** | The video memory per GPU for the instance in gigabytes. |
**OsOptions** | **[]string** | The list of available operating systems for the instance. |
**GpuManufacturer** | **string** | The manufacturer of the gpu |

## Methods

### NewInstanceTypeConfiguration

`func NewInstanceTypeConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, osOptions []string, ) *InstanceTypeConfiguration`
`func NewInstanceTypeConfiguration(memoryInGb int32, storageInGb int32, vcpus int32, numGpus int32, gpuType string, interconnect string, vramPerGpuInGb int32, osOptions []string, gpuManufacturer string, ) *InstanceTypeConfiguration`

NewInstanceTypeConfiguration instantiates a new InstanceTypeConfiguration object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -218,6 +219,26 @@ and a boolean to check if the value has been set.
SetOsOptions sets OsOptions field to given value.


### GetGpuManufacturer

`func (o *InstanceTypeConfiguration) GetGpuManufacturer() string`

GetGpuManufacturer returns the GpuManufacturer field if non-nil, zero value otherwise.

### GetGpuManufacturerOk

`func (o *InstanceTypeConfiguration) GetGpuManufacturerOk() (*string, bool)`

GetGpuManufacturerOk returns a tuple with the GpuManufacturer field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetGpuManufacturer

`func (o *InstanceTypeConfiguration) SetGpuManufacturer(v string)`

SetGpuManufacturer sets GpuManufacturer field to given value.



[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading