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

Function defaultCreateDiskSizeForGPUCount

tui/create.go:129–134  ·  view source on GitHub ↗
(numGPUs int)

Source from the content-addressed store, hash-verified

127}
128
129func defaultCreateDiskSizeForGPUCount(numGPUs int) int {
130 if numGPUs <= 0 {
131 numGPUs = 1
132 }
133 return numGPUs * includedDiskGBPerGPU
134}
135
136func (m createModel) defaultDiskSizeGB() int {
137 diskSizeGB := defaultCreateDiskSizeForGPUCount(m.config.NumGPUs)

Callers 2

defaultDiskSizeGBMethod · 0.85
computePreviewPriceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected