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

Function publicConfigKey

utils/spec_store.go:57–59  ·  view source on GitHub ↗
(gpuType string, gpuCount int)

Source from the content-addressed store, hash-verified

55}
56
57func publicConfigKey(gpuType string, gpuCount int) string {
58 return fmt.Sprintf("%s_x%d", gpuType, gpuCount)
59}
60
61// Lookup returns the spec for a given GPU type and count.
62func (s *SpecStore) Lookup(gpuType string, gpuCount int) *api.GpuSpecConfig {

Callers 2

LookupMethod · 0.85
IsSpecAvailableMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected