(gpuType string, gpuCount int)
| 55 | } |
| 56 | |
| 57 | func 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. |
| 62 | func (s *SpecStore) Lookup(gpuType string, gpuCount int) *api.GpuSpecConfig { |
no outgoing calls
no test coverage detected