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

Function TestNeedsGPUCountPhase

utils/spec_store_test.go:80–86  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

78}
79
80func TestNeedsGPUCountPhase(t *testing.T) {
81 s := testSpecStore()
82
83 assert.False(t, s.NeedsGPUCountPhase("a6000"), "single-count GPU should not need count phase")
84 assert.True(t, s.NeedsGPUCountPhase("a100xl"), "multi-count GPU should need count phase")
85 assert.True(t, s.NeedsGPUCountPhase("h100"), "h100 has multiple counts")
86}
87
88func TestVCPUOptions(t *testing.T) {
89 s := testSpecStore()

Callers

nothing calls this directly

Calls 2

NeedsGPUCountPhaseMethod · 0.80
testSpecStoreFunction · 0.70

Tested by

no test coverage detected