@@ -34,7 +34,7 @@ func TestLambdaLabsClient_GetInstanceTypes_Success(t *testing.T) {
3434 assert .True (t , a10Type .IsAvailable )
3535 assert .Len (t , a10Type .SupportedGPUs , 1 )
3636 assert .Equal (t , int32 (1 ), a10Type .SupportedGPUs [0 ].Count )
37- assert .Equal (t , "NVIDIA" , a10Type .SupportedGPUs [0 ].Manufacturer )
37+ assert .Equal (t , v1 . ManufacturerNVIDIA , a10Type .SupportedGPUs [0 ].Manufacturer )
3838 assert .Equal (t , "A10" , a10Type .SupportedGPUs [0 ].Name )
3939}
4040
@@ -141,7 +141,7 @@ func TestConvertLambdaLabsInstanceTypeToV1InstanceType(t *testing.T) {
141141
142142 gpu := v1InstanceType .SupportedGPUs [0 ]
143143 assert .Equal (t , int32 (1 ), gpu .Count )
144- assert .Equal (t , "NVIDIA" , gpu .Manufacturer )
144+ assert .Equal (t , v1 . ManufacturerNVIDIA , gpu .Manufacturer )
145145 assert .Equal (t , "NVIDIA A10" , gpu .Name )
146146 assert .Equal (t , "NVIDIA A10" , gpu .Type )
147147 assert .Equal (t , units .Base2Bytes (24 * 1024 * 1024 * 1024 ), gpu .Memory )
@@ -172,7 +172,7 @@ func TestParseGPUFromDescription(t *testing.T) {
172172 description : "1x H100 (80 GB SXM5)" ,
173173 expected : v1.GPU {
174174 Count : 1 ,
175- Manufacturer : "NVIDIA" ,
175+ Manufacturer : v1 . ManufacturerNVIDIA ,
176176 Name : "H100" ,
177177 Type : "H100.SXM5" ,
178178 Memory : 80 * 1024 * 1024 * 1024 ,
@@ -184,7 +184,7 @@ func TestParseGPUFromDescription(t *testing.T) {
184184 description : "8x Tesla V100 (16 GB)" ,
185185 expected : v1.GPU {
186186 Count : 8 ,
187- Manufacturer : "NVIDIA" ,
187+ Manufacturer : v1 . ManufacturerNVIDIA ,
188188 Name : "V100" ,
189189 Type : "V100" ,
190190 Memory : 16 * 1024 * 1024 * 1024 ,
0 commit comments