MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / defaultCreateDiskSizeGB

Function defaultCreateDiskSizeGB

cmd/create.go:148–153  ·  view source on GitHub ↗
(numGPUs int)

Source from the content-addressed store, hash-verified

146}
147
148func defaultCreateDiskSizeGB(numGPUs int) int {
149 if numGPUs <= 0 {
150 numGPUs = 1
151 }
152 return numGPUs * includedDiskGBPerGPU
153}
154
155func runCreate(cmd *cobra.Command) error {
156 if err := resolveTemplateAlias(cmd); err != nil {

Callers 1

validateCreateConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected