nf-core / deepmodeloptim

Stochastic Testing and Input Manipulation for Unbiased Learning Systems
https://nf-co.re/deepmodeloptim
MIT License
23 stars 9 forks source link

ray init does not automaticly detect GPUs #157

Open alessiovignoli opened 5 months ago

alessiovignoli commented 5 months ago

ray is first initialized explicitly to set maximum resources limits, becuase it does not respect nextflow and cluster limits otherwise.

But doing so if num_gpus is left to None, default for ray.init see here -> docs the GPUs are not automaticly detected and used. In theory it should detect them all and use them all, but is not doing so.

mathysgrapotte commented 1 month ago

behaviour : if user hasn't specified gpus, should throw a useful warning