-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added gpu model in query for rent gpu form * added new gpu models endpoint * load gpu models in rent-gpu form * add interface to gpu models api * add memory + interface to the gpu form control * added multiple gpu models * generate sdl with ram + interface * fix sdl import + remove provider attributes schema * clearable value for memory + interface + bug fixes * fix sdl builder * fix new deployment sdl builder for gpus * pr fixes
- Loading branch information
Showing
26 changed files
with
624 additions
and
355 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export interface GpuVendor { | ||
name: string; | ||
models: GpuModel[]; | ||
} | ||
|
||
export interface GpuModel { | ||
name: string; | ||
memory: string[]; | ||
interface: string[]; | ||
} | ||
|
||
export type ProviderConfigGpusType = { | ||
[key: string]: { | ||
name: string; | ||
devices: { | ||
[key: string]: { | ||
name: string; | ||
memory_size: string; | ||
interface: string; | ||
}; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export function getGpuInterface(gpuInterface: string) { | ||
const _formatted = gpuInterface.toLowerCase(); | ||
return _formatted.startsWith("sxm") ? "sxm" : _formatted; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.