lagrangedao / go-computing-provider

A golang implementation of computing provider
MIT License
2 stars 35 forks source link

CP Resource name not matching the config #10

Open PlutoNbai opened 1 year ago

PlutoNbai commented 1 year ago

I got : "NVIDIA GeForce RTX 2080 Ti", "GeForce RTX 3090", "NVIDIA RTX 2080",

It will be really hard if the name is not same format

Normalnoise commented 1 year ago

https://github.com/lagrangedao/lagrange-server/issues/173#issuecomment-1649260511

you can match it with the instance name(the first column ) as discussed last meeting.

image
PlutoNbai commented 1 year ago

There was some misunderstanding in our communication, and this issue did not arise at the time of the match. This issue arises when I analyze the data reported by cp to get the currently corresponding available instance type.

I need CP to strictly follow the second line of the table you gave to give the corresponding GPU name. Otherwise, the backend can't process the data.

This means that the server will not recognize the cp reporting with a different GPU name.

Normalnoise commented 1 year ago

@PlutoNbai We have developed a tool to get and process the hardware info, so CP will give you the updated config table here(https://github.com/lagrangedao/lagrange-server/issues/173#issuecomment-1649260511), the GPU name by CP reported will be same as the table

flin-nbai commented 1 year ago

@Normalnoise can you give us a sample request of what the CP is going to report

Normalnoise commented 1 year ago

yes, @sonic-chain will leave a sample request.