tensorchord/envd

feat: support gpu more than one

aseaday opened this issue ยท 5 comments

NumGPU: numGPU,

numGPU = 1

It seems that we only support GPU=1, more and more developers use a multi card server to develop model. Maybe we should give a settings here.

I have two ideas to fix this problems:

  1. add an option for envd up and remove config.gpu
  2. make config.gpu work.

I prefer the first solution. But maybe I need more information of envd server's user case.

I think we can make it a cli args for now. Config.gpu will only add a label to the image. The runtime behavior depends on the actual runner

I will add a cli arg for control gpus.

@aseaday Hi, this feature is very useful to me. Is there any progress on it now? Maybe I can help.